跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

Centos7.6升级系统版本到Centos7.9

发表于

前言

Centos7.6升级系统版本到Centos7.9

一、查看当前版本

cat /etc/redhat-release

结果输出

CentOS Linux release 7.6.1810 (Core)

二、更换yum源并升级

1.更换yum源

备份已有源文件后更换为阿里云的源文件

yum install wget -y

mkdir -p /etc/yum.repos.d/CentOS-Base.repo.backup

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

yum makecache

wget -O /etc/yum.repos.d/epel-7.repo http://mirrors.aliyun.com/repo/epel-7.repo

yum -y install epel-release

2.执行升级并重启

yum update -y;

reboot;

输出

已安装:

iwl7260-firmware.noarch 0:25.30.13.0-82.el7_9 kernel.x86_64 0:3.10.0-1160.108.1.el7

作为依赖被安装:

bc.x86_64 0:1.06.95-13.el7 bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 geoipupdate.x86_64 0:2.5.0-2.el7

三、查看升级结果

cat /etc/redhat-release

结果输出

CentOS Linux release 7.9.2009 (Core)

总结

记录一下centos7.6升级到7.9的方法。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.