Akiraka Akiraka
  • 首页
  • Linux
    • ELK
    • PHP
    • Shell
    • Nginx
    • Docker
      • Docker Compose
    • Centos
    • Ubuntu
    • Jenkins
  • Python
  • Mac OS
  • Windows
  • 大数据
    • Hadoop
    • CDH
    • Hive
    • Spark
    • ZooKeeper
  • 微服务
    • Kubernetes
    • Helm
  • Other
  • Quark
  • 首页
  • Linux
    • ELK
    • PHP
    • Shell
    • Nginx
    • Docker
      • Docker Compose
    • Centos
    • Ubuntu
    • Jenkins
  • Python
  • Mac OS
  • Windows
  • 大数据
    • Hadoop
    • CDH
    • Hive
    • Spark
    • ZooKeeper
  • 微服务
    • Kubernetes
    • Helm
  • Other
  • Quark
首页 › Linux › Centos › Centos 8 更换阿里源

Centos 8 更换阿里源

Akiraka1年前

文章目录

  • 更换为阿里源
  • 生成缓存
  • 查看可用源

更换为阿里源

cd /etc/yum.repos.d
sed -i s@mirrorlist=@#mirrorlist=@g CentOS-Base.repo CentOS-AppStream.repo CentOS-Extras.repo
sed -i s@#baseurl=@baseurl=@g CentOS-Base.repo CentOS-AppStream.repo CentOS-Extras.repo
sed -i s@mirror.centos.org@mirrors.aliyun.com@g CentOS-Base.repo CentOS-AppStream.repo CentOS-Extras.repo

生成缓存

yum clean all && yum makecache

查看可用源

yum repolist enabled
#centos#linux
1
分享
Akiraka 站长
文章 121评论 10
相关文章
  • Docker 修改默认存储路径
  • Centos/Ubuntu Linux 系统 根目录扩容方法
  • 搭建 Redis 主从搭建配置
  • 搭建 NTP 服务器与客户端同步
  • Centos 锁定某些软件包更新的方法
Akiraka
站长
本人擅长 Ai、Au、Fl、Ae、Pr、Ps 等软件的安装与卸载,精通 CSS、JavaScript、PHP、Python、Shell、Go 等单词的拼写,熟悉 Windows、Linux、Mac、Android、IOS 等系统的开关机!
121文章
10评论
47获赞
想找什么搜一下
文章聚合
Confluence 7.6.1 Docker compose 安装
7月前
php 容器编排
1年前
Docker-Compose 网络配置
6月前
docker-compose.yml
1年前
Docker File使用阿里源
1年前
微信小程序
微信小程序
标签云
brew cdh centos cmd docker docker compose elasticsearch elk filebase filebeat gitlab grafana hadoop helm hive hue jdk jenkins k8s kibana kubernetes liniux linux logstash mac mikrotik mydumper mysql nfs nginx openssl oss php pip pyspark python RabbitMQ redis rocketmq shell Spark ubuntu windows ZooKeeper 容器编排
Copyright © 2019-2021 Akiraka. Designed by nicetheme. 沪18036911号