• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 146
  • Last Modified:

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

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
Taras Shumylo
Asked:
Taras Shumylo
1 Solution
 
bbaoIT ConsultantCommented:
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
 
arnoldCommented:
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
 
Taras ShumyloAuthor Commented:
arnold, how do I get information when security bugs and updates for them are released? Just googling sound like not very professional solution.
0
 
arnoldCommented:
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
 
rindiCommented:
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
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

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now