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
Last revisionBoth sides next revision
linux:ubuntu:ubuntu [2020/06/29 19:45] – [SFTP] tmadelinux:ubuntu:ubuntu [2022/12/20 10:41] – [apt-key] tmade
Line 47: Line 47:
   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 59:
      
   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 90:
   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 127:
   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 397:
   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 566:
 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.txt · Last modified: 2023/01/26 23:36 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