centos如何升級

centos如何升級

一、檢查系統(tǒng)版本

$?cat?/etc/redhat-release centos?linux?release?7.1.1503?(Core)

二、備份重要數(shù)據(jù)(例如/etc, /var,/opt)。

如果centos是安裝在虛擬機(jī)上,那么可以使用快照進(jìn)行備份。像VMware虛擬機(jī)可以快照備份,當(dāng)然更奢侈一點(diǎn)是備份整個(gè)虛擬機(jī)。也可以針對重要程序數(shù)據(jù)進(jìn)行備份,例如mysql, Appache, nginx, DNS等等。

推薦教程:centos使用教程

三、運(yùn)行yum命令升級

$?sudo?yum?clean?all $?sudo?yum?update

四、重啟系統(tǒng)

$?sudo?reboot

五、查看現(xiàn)在系統(tǒng)版本

$?cat?/etc/redhat-release CentOS?Linux?release?7.3.1611?(Core)

相關(guān)視頻教程推薦:centos使用教程

以上就是

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊14 分享