CentOS7.5升級到CentOS 7.6
一,修改yum源
[root@bogon yum.repos.d]# cat CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
name=CentOS-$releasever - Base
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=
baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=
#baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[extras]
name=CentOS-$releasever - Extras
mirrorlist=
#baseurl=
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=
#baseurl=
gpgcheck=1
enabled=0
gpgkey=
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=
#baseurl=
gpgcheck=1
enabled=0
gpgkey=
二。執行命令將7.5更新為7.6,完成後重啟即可
yum update -y
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26870952/viewspace-2655119/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CentOS6.9下升級預設的OpenSSH操作記錄(升級到OpenSSH_7.6p1)CentOS
- CentOS 7 升級到 CentOS 8CentOS
- Centos升級到openssh9.7CentOS
- RHEL7X_CentOS7X_升級Openssh7.6p1CentOS
- Centos8升級到Centos 8 stream教程。CentOS
- CentOS 6.9 升級 glibc 2.12 到 2.17(qbit)CentOS
- Centos7 升級openssh到最高版本CentOS
- CentOS6.4 升級到7.0的步驟CentOS
- 從CentOS 7.0升級到7.7版本CentOS
- centos7.5配置yum源CentOS
- CentOs7.5安裝FFmpegCentOS
- Dell Latitude 7300 安裝 Centos 7.6 保姆級教程CentOS
- Centos 7升級 PHP7 到 PHP8CentOSPHP
- Centos7 openssh升級到7.9p1CentOS
- centos6.5中openssh從5.3升級到7.3CentOS
- CentOS 8 升級核心CentOS
- CentOS GCC 升級 6.0CentOSGC
- CentOS7.5修改字符集CentOS
- centos7 openssl升級版本到OpenSSL 1.1.1nCentOS
- CentOS7.5常用命令整理CentOS
- centos7 核心升級CentOS
- CentOS 7核心升級教程。CentOS
- centos 7.6 安裝 nginxCentOSNginx
- Linux CentOS 7.6 遮蔽 IPLinuxCentOS
- [c++/gcc] Centos 7.9升級 gcc 4.8.5 到 gcc11 [轉]C++GCCentOS
- CentOS 6下gcc升級的操作記錄(由預設的4.4.7升級到6.4.0版本)CentOSGC
- Linux CentOS升級安裝gitLinuxCentOSGit
- CentOs下手動升級node版本CentOS
- CentOS6.X 升級核心CentOS
- oracle 10 rac 升級 10.2.0.1升級到10.2.0.5Oracle
- CentOS7.6-pip安裝CentOS
- Centos7.6安裝FTPCentOSFTP
- CentOS 7.6 安裝11.2.0.4 RACCentOS
- CentOS 7.6 安裝 Elasticsearch 7.2CentOSElasticsearch
- 升級centos7自帶的Python2.7到Python3.8CentOSPython
- Centos 7 升級通過 yum 安裝的 MySQL 5.7 到 MySQL 8.0CentOSMySql
- ccproject升級到1135Project
- mongodb單機從3.2升級到4.0.4升級MongoDB