Tags » Debian

Deploying HTML, CSS webpage to Tomcat8

  1. Copy fonder /var/lib/tomcat8/webapps/ROOT to your folder.

    cp -r /var/lib/tomcat8/webapps/ROOT /var/lib/tomcat8/webapps/{yourfolder}

  2. add your htmls, css, js, in your folder.
  3. browser “http://localhost:8080/{yourfolder}”

Notes:

  1. if you using chrome web browser and did wrong folder before, then clean web browser’s cache(or change another name) otherwise (sometimes) it always 404.
  2. 8 more words
Debian

Think you got hacked?

t+1 cut internet
t+2 make a plan (1)
t+3 analyze systems
t+4 inventory (hardware, software) (2)
t+5 power down low prio devices
(like on the battlefield: limit angles of exposure) 57 more words

GNU/Linux

Saia (sudo apt install anarchy)

Welp, here we are, boys. And girls. And fellow aliens of indiscriminate gender.

I’ve finally gone and done it and cracked.

A while ago, while on a trip to my grandma’s house, I had a sudden and brilliant idea- I already spent a good amount of time in the terminal, reinstalling programs and whatnot every time I tried and failed to… 247 more words

Computers

Prevent packages from being updated under Ubuntu / Debian

You may know this problem. You have a lot of packages installed on your Ubuntu / Debian system and (for whatever reason) you want that a specific packages isn’t getting updated whenever you do a system upgrade. 503 more words

Linux

debian | disabling the spooky network-manager

Check the /etc/network/interfaces file. If there is nothing but lo – you are hijacked by the network-manager.
Edit /etc/network/interfaces like:

auto enp1s0f0
iface enp1s0f0 inet static
  address 192.168.100.120
  netmask 255.255.0.0
  gateway 192.168.100.1
  dns-nameservers 192.168.100.2 8.8.8.8
  dns-search MYDOMAIN.ORG
… 18 more words
Bytes

mount a jffs2 file in Ubuntu

sysinfo

$ uname -a
Linux b50 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
$ mkimage -l rootfs_h20

Image Name:   0.1.4-beta2-hi3518-rootfs
Created:      Mon Jul 10 15:10:18 2017
Image Type:   ARM Linux Filesystem Image (uncompressed)
Data Size:    956424 Bytes = 934.01 kB = 0.91 MB
Load Address: 00000000
Entry Point:  00000000
… 157 more words
GNU/Linux