服务器操作系统大家是否还是在用CentOS系列,上大学的时候我记得还在使用CentOS6,然后去年就凉凉了。看着时间线后面记基本上发展Stream系列了。但是后面就会陆陆续续改成国产操作系统,然后调研了一下出名的服务器操作系统有openEuler、Anolis OS。这里就选择了openEuler安装了。
CentOS End of Life
https://www.centos.org/cl-vs-cs/
https://repo.openeuler.org/openEuler-22.03-LTS/ISO/x86_64/
openEuler 22.03-LTS 是基于5.10内核构建
这里选择已经下载好的openEuler。
登录之后可以看到,基本的服务器信息:
然后配置openEuler的yum源:
vi /etc/yum.repos.d/openEuler.repo
可以看到里面已经配置好了,无需配置了。
[OS]
name=OS
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
[everything]
name=everything
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/everything/$basearch/RPM-GPG-KEY-openEuler
[EPOL]
name=EPOL
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
[debuginfo]
name=debuginfo
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/debuginfo/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/debuginfo/$basearch/RPM-GPG-KEY-openEuler
[source]
name=source
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/source/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/source/RPM-GPG-KEY-openEuler
[update]
name=update
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS/update/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS/OS/$basearch/RPM-GPG-KEY-openEuler
# 1. 清理旧缓存
yum clean all
# 2. 创建缓存
yum makecache
出现如下,就可以愉快的玩耍啦。