About CentOS 7 update, update, automatic update records
timely or regularly updated system is the best way to reduce security vulnerabilities and defend network attacks, this is only a technical notes, record the CentOS 7 update / upgrade the two command: Yum update & & Yum upgrade; the difference and some skills, as well as CentOS 7 automatic update settings tutorial. Perhaps you will think that everyone knows, there are still a lot of people do not know the difference between the update and upgrade the two commands. In a word,
#yum update & & Yum upgrade
; the two commands: update and upgrade (update) (upgrade) are doing the same thing, and upgrade (upgrade) = update (update) disposing + update.
: you can also run the following command, this software update will not pop tips you don't need input" Y "to accept the changes. However, it is always a good idea to see what happens on the server, especially in the production process. Use the following command to automatically update and upgrade, but it is not recommended. -y update & &
#yum; -y upgrade
CentOS Yum 7 automatic update settings:
why want to automatically update? The reason is very simple, there is no time management, but also want to reduce security vulnerabilities, so that is the need to automatically update the system, while the CentOS can use yum-cron suite to achieve this function. -y install yum-cron
#yum installed Cron, edit the /etc/yum/yum-cron.conf file, the following option is set to yes.
download_updates = yes apply_updates = yes
, after recording. Learn a little bit more every day, so that you can make a little progress.
Congratulations @jinbo! You have received a personal award!
2 Years on Steemit
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
SteemitBoard and the Veterans on Steemit - The First Community Badge.
Congratulations @jinbo! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!