software:linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| software:linux [2015/09/18 12:48] – [External] Michele Porelli | software:linux [2024/05/20 21:40] (current) – [Useful commands] Michele Porelli | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| # apt-get clean ; apt-get update ; exit</ | # apt-get clean ; apt-get update ; exit</ | ||
| * [[http:// | * [[http:// | ||
| - | * Manual remove of a package | + | * Manual remove of a package |
| - | - 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 35: | Line 37: | ||
| * [[http:// | * [[http:// | ||
| ==== How-Tos ==== | ==== How-Tos ==== | ||
| - | * [[software: | + | * [[software: |
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| Line 43: | Line 45: | ||
| nautilus -q | nautilus -q | ||
| Alt-F2 -> nautilus</ | Alt-F2 -> nautilus</ | ||
| + | * Fix Debian annoying locales problems: [[http:// | ||
| * Configure PulseAudio: (NOTE: Wheezy is pulseaudio ready, this guide is Debian >=6.x only) | * Configure PulseAudio: (NOTE: Wheezy is pulseaudio ready, this guide is Debian >=6.x only) | ||
| - INSTALL PULSEAUDIO< | - INSTALL PULSEAUDIO< | ||
| Line 68: | 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:// | ||
| - | |||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| Line 107: | Line 109: | ||
| ==== Quick DHCP server ==== | ==== Quick DHCP server ==== | ||
| < | < | ||
| + | ==== Quick HTTP server ==== | ||
| + | < | ||
| + | python3 -m http.server 8080</ | ||
| + | |||
| + | ==== Quick FTP server ==== | ||
| + | < | ||
| ===== Useful commands ===== | ===== Useful commands ===== | ||
| * [[http:// | * [[http:// | ||
| * [[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 116: | Line 125: | ||
| # sleep X ; dbus-send --system --print-reply --dest=" | # sleep X ; dbus-send --system --print-reply --dest=" | ||
| method return sender=: | method return sender=: | ||
| + | * Wait for PID to complete:< | ||
| ===== How-Tos ===== | ===== How-Tos ===== | ||
| ==== External ==== | ==== External ==== | ||
| Line 128: | Line 138: | ||
| ==== Reverse dynamic proxy ==== | ==== Reverse dynamic proxy ==== | ||
| - | * ssh remoteuser@remotehost -R forwardedsshport: | + | * < |
| ==== Authenticate with USB/SD device with automatic lock/unlock - libpam-usb ==== | ==== Authenticate with USB/SD device with automatic lock/unlock - libpam-usb ==== | ||
| Line 257: | Line 267: | ||
| - 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 ==== | ||
| + | - Mark your disk/ | ||
| + | - Extend the VolumeGroup containing your logical volume< | ||
| + | - Extend the logical volume< | ||
| + | - Extend the filesystem< | ||
software/linux.1442580532.txt · Last modified: (external edit)
