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

Posted on 2016-08-16
Medium Priority
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?
Question by:Taras Shumylo
LVL 37

Expert Comment

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.

LVL 81

Expert Comment

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.

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.
LVL 81

Accepted Solution

arnold earned 2000 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.
LVL 88

Expert Comment

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.

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Native ability to set a user account password via AD GPO was removed because the passwords can be easily decrypted by any authenticated user in the domain. Microsoft recommends LAPS as a replacement and I have written an article that does something …
A question that many companies need to answer until May 25th of 2018... Is your company ready for GDPR?
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

627 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