software:linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:linux [2016/01/11 17:02] – [Backup a lot of data from a remote (not directly accessible) VM with minimum overhead] Michele Porelli | software:linux [2021/12/06 10:54] (current) – [Quick HTTP server] Michele Porelli | ||
---|---|---|---|
Line 12: | Line 12: | ||
* [[http:// | * [[http:// | ||
* Manual remove of a package (last resort!!) | * Manual remove of a package (last resort!!) | ||
- | - First try:< | + | - The cleanest way to remove the package is:< |
- | - If still no joy:< | + | - If the process fails:< |
$ dpkg -L nagios-common | $ dpkg -L nagios-common | ||
Line 27: | Line 27: | ||
to finish up, remove all files you found previously with 'dpkg -L'</ | to finish up, remove all files you found previously with 'dpkg -L'</ | ||
* [[http:// | * [[http:// | ||
+ | * < | ||
+ | * < | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
Line 69: | Line 71: | ||
search " | search " | ||
* To automatically mount NFS shares at boot time put in / | * To automatically mount NFS shares at boot time put in / | ||
+ | * [[https:// | ||
===== Kernel related ===== | ===== Kernel related ===== | ||
* [[http:// | * [[http:// | ||
Line 108: | Line 110: | ||
< | < | ||
==== Quick HTTP server ==== | ==== Quick HTTP server ==== | ||
- | < | + | < |
+ | python3 -m http.server 8080</ | ||
==== Quick FTP server ==== | ==== Quick FTP server ==== | ||
Line 116: | Line 119: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
* Scheduled shutdown/ | * Scheduled shutdown/ | ||
# shutdown -h 23:20 # 23:20 = hh.mm, system wait until system clock is 22.30 then shutdown | # shutdown -h 23:20 # 23:20 = hh.mm, system wait until system clock is 22.30 then shutdown | ||
Line 262: | Line 266: | ||
- Connect to server< | - Connect to server< | ||
- Then connect to your VM< | - Then connect to your VM< | ||
- | - Start the listener< | + | - Start the listener< |
- Open a new terminal and start the receiver< | - Open a new terminal and start the receiver< | ||
+ | ==== Copy a big amount of data as fast as possible ==== | ||
+ | * < | ||
==== Add a disk to extend a LVM logical volume ==== | ==== Add a disk to extend a LVM logical volume ==== | ||
- Mark your disk/ | - Mark your disk/ |
software/linux.1452528151.txt · Last modified: 2016/01/11 17:02 by Michele Porelli