This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:ubuntu:ubuntu [2020/06/29 19:45] – [SFTP] tmade | linux: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 | apt-get install ia32-libs | ||
apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 | apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 | ||
Line 47: | Line 48: | ||
apt-get install ocfs2-tools ocfs2console | apt-get install ocfs2-tools ocfs2console | ||
dpkg-reconfigure ocfs2-tools | dpkg-reconfigure ocfs2-tools | ||
- | apt-get install cifs-utils | + | apt-get install cifs-utils |
+ | apt install ffmpeg | ||
apt-get install mailutils | apt-get install mailutils | ||
apt-get install libncurses5-dev | apt-get install libncurses5-dev | ||
Line 58: | Line 60: | ||
| | ||
apt-cache madison docker-ce | apt-cache madison docker-ce | ||
+ | apt-cache policy kubeadm | ||
+ | apt-cache search curl #show available packages | ||
| | ||
apt-get install -y docker-ce=5: | apt-get install -y docker-ce=5: | ||
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:// | apt-key adv --keyserver-options http-proxy=http:// | ||
apt-key adv --keyserver hkp:// | apt-key adv --keyserver hkp:// | ||
- | | ||
+ | Check a key: | ||
+ | |||
+ | curl -fsSL https:// | ||
| | ||
+ | Hint to export keys to gpg-key: | ||
+ | |||
+ | https:// | ||
+ | |||
| | ||
| | ||
Line 387: | Line 398: | ||
update-rc.d -f apache2 remove | update-rc.d -f apache2 remove | ||
| | ||
- | Ubuntu 16.04: | + | Ubuntu |
- | sudo systemctl | + | sudo systemctl |
sudo systemctl disable mysql.service | sudo systemctl disable mysql.service | ||
+ | sudo systemctl enable mysql.service | ||
| | ||
Line 555: | Line 567: | ||
https:// | https:// | ||
+ | ===Powersave=== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | 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 | ||
| |