Solved

What are best practices for keeping up to date Linux servers?

Posted on 2016-08-16
5
106 Views
1 Endorsement
Last Modified: 2016-08-16
I recently moved from Windows Server administration to Linux administration. In Windows I get used to practice that all critical and security updates are installed ASAP on their release. On Windows this can be done via few buttons with help of WSUS and SCCM.

When I moved to Linux I am very surprised that I see 3rd Senior Linux administrator who do not care about updates at all. When I tried to find some central point of checking if my system is secure or not, like WSUS and SCCM - I couldn't find it.

What are best practices of ensuring that my Linux system is up to date and secure? What about 3rd party software installed on this system? How can I check that it's also secure?
1
Comment
Question by:Taras Shumylo
5 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 41757776
the most easy solution is, go back to the beloved Windows world. i am kidding. :))

okay, automatic updates can be done but it depends on your Linux version. e.g. for Ubuntu, unattended upgrade does the job. see below the details.

http://askubuntu.com/questions/9/how-do-i-enable-automatic-updates
0
 
LVL 77

Expert Comment

by:arnold
ID: 41757842
first thing, make sure you familiar with the environment, application, functions, services.
once you have this, you will be in a better position when security related fixes are released to know whether that is relevant to your environment and scheduling downtime for update.

some things can be updated, without a need to reboot, minimizing downtime, to restart of the application.

the linux distribution will also ............ deal with handling updates.
0
 

Author Comment

by:Taras Shumylo
ID: 41757848
arnold, how do I get information when security bugs and updates for them are released? Just googling sound like not very professional solution.
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 41757874
The Linux distro in use has their own notification. cert.org,  and other lists/organizations in your area.

building your knowledge on the environment, should be the first step compared to signing up to lists for notifications....
Knowing what you have, you can fine tune and signup for relevant notification versus oversubscriubing and effectively ignoring all.
1
 
LVL 88

Expert Comment

by:rindi
ID: 41757913
If you are running debian/ubuntu based distro's, first run apt-get update to update the data from the repositories, then apt-get upgrade to get and install the updates that are available. This also updates software, not just the OS itself, provided the software was also installed from the repositories using the package-manager, which is the way software should get installed.

If it is a CentOS based distro, then you update the system via yum update.

As long as your distro is based on stable, normal versions, this is safe and it should be done regularly. Only kernel updates need reboots. For the rest you may have to restart the service that got updated.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An analysis of the phishing scam that has been affecting Google users, along with steps to take for protection, as well as what to do if you receive one of the emails.
The 21st century solution to antiquated pagers.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to moveā€¦

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now