First, we open the CENTOS7 system and ensure that the system can connect to the extranet, in this article, "Ping Www.baidu" for testing, concrete display as shown in the following figure. 2
Then execute the command "Yum update-y" to update the system manually, as shown in the following figure. 3
After the system has been updated, we execute the command "Yum install yum-cron-y" To install the software, as shown in the following figure. 4
Then we use VI to open/etc/yum/yum-cron.conf. Modify the following to the following values:
Update_cmd = Security
Update_messages = yes
Download_updates = yes
Apply_updates = yes
The details are shown in the following figure. Save after the modification is complete. 5
Then we execute the command "systemctl start Yum-cron" and start the Yum-cron. The following figure shows the exact operation. 6
Finally, we will add Yum-cron to boot automatically. Executes the command "Systemctl enable Yum-cron". The following figure shows the exact operation.