modified on 1 March 2017 at 16:46 ••• 131,663 views

Enterprise Server Management

From Maties Ubuntu

(Difference between revisions)
Jump to: navigation, search
m
m
 
(One intermediate revision by one user not shown)
Line 35: Line 35:
 
*https://help.ubuntu.com/lts/serverguide/automatic-updates.html
 
*https://help.ubuntu.com/lts/serverguide/automatic-updates.html
 
;Remove old kernels
 
;Remove old kernels
Run one of the following regularly using a cron job;
+
Read the following as background;
 
*http://www.webupd8.org/2016/07/how-to-safely-remove-old-linux-kernels.html
 
*http://www.webupd8.org/2016/07/how-to-safely-remove-old-linux-kernels.html
 
*http://blog.dustinkirkland.com/2016/06/purge-old-kernels.html
 
*http://blog.dustinkirkland.com/2016/06/purge-old-kernels.html
Line 41: Line 41:
 
Then do the following in a terminal;
 
Then do the following in a terminal;
 
  sudo apt-get install byobu
 
  sudo apt-get install byobu
byobu is a handy terminal multiplexer. Among others, it is very useful when you want to leave a process running after closing your terminal (you cannot do this with the "common" Terminal). However, there is another reason to install byobu. '''purge-old-kernels''' is a simple bash script, which uses '''apt remove --purge''' command to remove old kernels. It will be available in your system after installing package byobu
+
'byobu' is a handy terminal multiplexer. Among others, it is very useful when you want to leave a process running after closing your terminal (you cannot do this with the "common" Terminal). However, there is another reason to install byobu. '''purge-old-kernels''' is a simple bash script, which uses '''apt remove --purge''' command to remove old kernels. It will be available in your system after installing package byobu
 
;IBM Server Hardware
 
;IBM Server Hardware
 
*http://openpowerfoundation.org
 
*http://openpowerfoundation.org

Latest revision as of 16:46, 1 March 2017

Back to Business
Installation
Ubuntu Server Team
Cloud
Service Management
Security
Automatic Security Updates

Install software:

sudo apt-get install unattended-upgrades

Enable unattended updates

sudo dpkg-reconfigure -plow unattended-upgrades

Enable auto updgrades

sudo nano /etc/apt/apt.conf.d/20auto-upgrades

Add the following;

APT::Periodic::Unattended-Upgrade "1";

Configure what can be upgraded

sudo nano /etc/apt/apt.conf.d/50unattended-upgrades

See links below for reference:

Remove old kernels

Read the following as background;

Then do the following in a terminal;

sudo apt-get install byobu

'byobu' is a handy terminal multiplexer. Among others, it is very useful when you want to leave a process running after closing your terminal (you cannot do this with the "common" Terminal). However, there is another reason to install byobu. purge-old-kernels is a simple bash script, which uses apt remove --purge command to remove old kernels. It will be available in your system after installing package byobu

IBM Server Hardware
DELL Server Hardware
HP Server Hardware
Backups
  • Use backuppc for backups to a very large disk storage system, SAN or NAS.
  • Use bacula for backups to a large robotic tape system.
IBM Tivoli Backups
Help
Support
Blog Posts