There are basically two ways of updating a CentOS machine.. first is by using the GUI and the second, via command line. I am going to explain out both the ways below:
Using GUI:When starting up CentOS, a service is automatically run in the background that checks to see if there are any available updates. Be patient as it may take a few minutes to run. If there are available updates for your system, an open box will appear in the upper right corner near the clock and a message box will open up with the Updates Available title.
Click the View Updates... button.
The Package Updater will open.Click Apply updates.
CentOS will now resolve all dependencies and then download and install all updates. You may be prompted to accept some downloads.
If an update requires a reboot, you will be prompted to do so.
Click Reboot now.
Updating Your System with command line (yum)
updateoption to upgrade all of your CentOS system software to the latest version with one operation.
To perform a full system update, type this command:
su -c 'yum update'
yumpackage supplied with CentOS includes scripts to perform full system updates every day. To activate automatic daily updates, enter this command:
su -c '/sbin/chkconfig --level 345 yum on; /sbin/service yum start'
At the prompt, enter the password for the
|NOTE: How Daily Updates are Run|
|There is no separate |