CentOS 8已于2021年12月31日停止支持,官方推薦用戶遷移到CentOS Stream。以下是CentOS 8升級到CentOS Stream 8的注意事項:
sudo dnf install centos-release-stream
安裝CentOS Stream庫。sudo dnf --disablerepo '*' --enablerepo extras swap centos-linux-repos centos-stream-repos
sudo dnf distro-sync
sudo reboot
/etc/redhat-release
文件來驗證系統是否已成功升級到CentOS Stream 8。請注意,以上信息提供了從CentOS 8升級到CentOS Stream 8的一般步驟和注意事項。然而,具體的升級路徑可能會根據您的系統版本和配置有所不同。在生產環境中進行升級時,強烈建議先在測試環境中驗證升級過程,并仔細閱讀官方文檔,以確保滿足所有特定的業務和技術需求。