yum install -y –enablerepo CentOS 更换yum源为aliyun yum源 CentOS 更换yum源为aliyun yum源
2023-02-26 | centos | 1818ip | 6138°c
A+ A-
echo -e “[NOT-CERTIFIED]\nname=NOT-CERTIFIED\nbaseurl=http://xxx/openopen/not-cert/rhel7-x86_64/latest/RPMS.all\nenabled=0\ngpgcheck=0” > /etc/yum.repos.d/NOT-CERTIFIED.repo
yum install -y –enablerepo=NOT-CERTIFIED lrzsz
wget -O /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum install epel-release
curl -o /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo
https://www.cnblogs.com/activiti/p/7552375.html
相关文章
标签:服务器技术
- •VMware Workstation Pro 16安装CentOS7超详细图文步骤
- •CentOS安装jdk的几种方法及配置环境变量方式
- •CentOS7下配置使用JumpServer 堡垒机 (图文教程)
- •CentOS忘记密码修改方案以及centos卡在开机登录界面,命令失效的解决方法
- •VMware安装CentOS 8.1(CentOS 8系列可参考)的图文详细教程
- •解决笔记本安装centos7后无法调节屏幕亮度
- •CentOS安装rpm包出现冲突时的解决办法
- •CentOS7 minimal 最小化安装网络设置过程
- •CentOS7下搭建JumpServer
- •CentOS7 安装 Python3.8后 pip 安装报错