如何升級centos到最新版本
1 回答

料青山看我應(yīng)如是
TA貢獻1772條經(jīng)驗 獲得超8個贊
一、檢查系統(tǒng)版本
$ cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
二、備份重要數(shù)據(jù)(例如/etc, /var,/opt)。如果centos是安裝在虛擬機上,那么可以使用快照進行備份。
三、運行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)
注意:在升級前記得檢查系統(tǒng)正常運行,以及系統(tǒng)服務(wù)services已經(jīng)安裝。
- 1 回答
- 0 關(guān)注
- 1095 瀏覽
添加回答
舉報
0/150
提交
取消