linux CentOS配置阿里云yum源和阿里云epel源 - rpmnew

📅 2026-11-30 👤 拼多多助力营销技巧 📂 pdd帮助力 👁️ 556 次阅读

CentOS配置阿里云yum源和阿里云epel源

前言:一、 备份二、 配置阿里云yum源三、 配置阿里云epel源四、测试

前言:

阿里云地址

https://developer.aliyun.com/mirror/

一、 备份 拼多多帮助力入口

cd /etc/yum.repos.d/ && mkdir bak

mv *.repo *repo.rpmnew ./bak/

二、 配置阿里云yum源

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

#或者

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

#进入目录

cd /etc/yum.repos.d/

wget https://mirrors.aliyun.com/repo/Centos-7.repo

yum clean all

yum makecache

三、 配置阿里云epel源

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

#或者

cd /etc/yum.repos.d/

wget https://mirrors.aliyun.com/repo/epel-7.repo

yum clean all

yum makecache

四、测试

yum install -y httpd

精彩文章

标签: 拼多多助力网站平台 赚钱项目 拼多多助力网 首码项目 手赚APP
拼多多助力营销技巧