Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:ubuntu:ubuntu [2020/06/29 19:45] – [SFTP] tmadelinux:ubuntu:ubuntu [2023/01/26 23:36] (current) tmade
Line 39: Line 39:
   apt-get install nsca                                        #Passiv check monitoring client for nagios/ icinga   apt-get install nsca                                        #Passiv check monitoring client for nagios/ icinga
   sudo aptitude install build-essential   sudo aptitude install build-essential
 +  apt-get install build-essential
   apt-get install ia32-libs                                   #32-bit compatibility libraries   apt-get install ia32-libs                                   #32-bit compatibility libraries
   apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0          #32-bit compatibility libraries for Ubuntu Server 14.4 LTS   apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0          #32-bit compatibility libraries for Ubuntu Server 14.4 LTS
Line 47: Line 48:
   apt-get install ocfs2-tools ocfs2console                    #Install ocfs2   apt-get install ocfs2-tools ocfs2console                    #Install ocfs2
   dpkg-reconfigure ocfs2-tools                                #To configure ocfs2   dpkg-reconfigure ocfs2-tools                                #To configure ocfs2
-  apt-get install cifs-utils                    +  apt-get install cifs-utils  
 +  apt install ffmpeg                                          #install videocodec                   
   apt-get install mailutils   apt-get install mailutils
   apt-get install libncurses5-dev                             #Mysql   apt-get install libncurses5-dev                             #Mysql
Line 58: Line 60:
      
   apt-cache madison docker-ce                                 #show available versions   apt-cache madison docker-ce                                 #show available versions
 +  apt-cache policy kubeadm                                    #show package and version
 +  apt-cache search curl                                       #show available packages
      
   apt-get install -y docker-ce=5:18.09.9~3-0~ubuntu-xenial --allow-downgrades   apt-get install -y docker-ce=5:18.09.9~3-0~ubuntu-xenial --allow-downgrades
Line 87: Line 91:
   apt-get install linux-generic-lts-xenial   apt-get install linux-generic-lts-xenial
   dpkg -s motion | head -n5                                   #show package infos, status, dependencies...   dpkg -s motion | head -n5                                   #show package infos, status, dependencies...
-  +
 Repair: Repair:
  
   apt-get -f install   apt-get -f install
   apt-get autoremove   apt-get autoremove
 +  apt-get update --allow-releaseinfo-change
   apt-get purge   apt-get purge
   apt-get clean   apt-get clean
Line 123: Line 128:
   apt-key adv --keyserver-options http-proxy=http://PROXYIP:8080 --keyserver hkp://keyserver.ubuntu.com:80 --recv <KEY>   apt-key adv --keyserver-options http-proxy=http://PROXYIP:8080 --keyserver hkp://keyserver.ubuntu.com:80 --recv <KEY>
   apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv   apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv
-   
  
 +Check a key:
 +
 +  curl -fsSL https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04/InRelease | gpg --show-keys
      
 +Hint to export keys to gpg-key:
 +
 +https://askubuntu.com/questions/1398344/apt-key-deprecation-warning-when-updating-system
 +
      
      
Line 387: Line 398:
   update-rc.d -f apache2 remove                   #Remove service apache from autostart   update-rc.d -f apache2 remove                   #Remove service apache from autostart
      
-Ubuntu 16.04: +Ubuntu >= 16.04: 
-  sudo systemctl stop mysql.service+  sudo systemctl is-enabled mysql.service
   sudo systemctl disable mysql.service   sudo systemctl disable mysql.service
 +  sudo systemctl enable mysql.service
      
  
Line 555: Line 567:
 https://www.howtogeek.com/howto/44997/how-to-use-bash-history-to-improve-your-command-line-productivity/ https://www.howtogeek.com/howto/44997/how-to-use-bash-history-to-improve-your-command-line-productivity/
  
 +===Powersave===
 +
 +https://help.ubuntu.com/community/PowerManagement/ReducedPower
 +
 +The pm-utils package comes with scripts for managing low-power modes.
 +
 +  sudo apt-get install pm-utils
 +
 +In order to enter low power mode, run this:
 +
 +  sudo pm-powersave true
 +
 +In order to leave low power mode, run this:
  
 +  sudo pm-powersave false
              
linux/ubuntu/ubuntu.1593452709.txt.gz · Last modified: 2020/06/29 19:45 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki