Centos8.x的aliyun yum源
阿里云 8 yum
报错:
error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
解决办法
wget https://vault.centos.org/centos/8/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-3.el8.x86_64.rpm rpm -ivh compat-openssl10-1.0.2o-3.el8.x86_64.rpm
# vim /etc/resolv.conf nameserver 223.5.5.5 nameserver 223.6.6.6 wget -O /etc/yum.repos.d/aliyun.repo http://mirrors.aliyun.com/repo/Centos-8.repo yum clean all yum makecache yum repolist
提示信息“This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.”处理:
# vim /etc/yum/pluginconf.d/subscription-manager.conf [main] enabled=0 ==> 将1改为0 # head -2 /etc/yum/pluginconf.d/subscription-manager.conf