About CentOS 7 update, update, automatic update records

in #centos8 years ago

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 & &amp 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 & &amp 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 &amp &

#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.

Sort:  

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.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @jinbo! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 3 years!

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!

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.033
BTC 63122.79
ETH 3119.97
USDT 1.00
SBD 3.86