首页 > 其他分享 >cenos7源

cenos7源

时间:2023-07-16 10:36:05浏览次数:36  
标签:http centos CentOS mirrors.163 cenos7 releasever com

一直在用阿里源,但centos7的源貌似已经不可用了。找了个网易源,还能用:

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

#released updates
[updates]a
name=CentOS-$releasever - Updates - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - 163.com
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - 163.com
baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7

 

标签:http,centos,CentOS,mirrors.163,cenos7,releasever,com
From: https://www.cnblogs.com/badwood316/p/17557532.html

相关文章

  • Cenos7 安装 jdk1.8
    一、方式一yun安装JDK1.查看云端支持安装的jdk版本yumsearchjava|grepjdk2.安装jdkyuminstall-yjava-1.8.0-openjdk3.查看jdk版本,验证是否安装成功java-version4.查看jdk默认安装目录find/-name'java' ......
  • Elasticsearch安装(cenOS7)
    一、环境安装安装JDK版本选择:JDK8、11或者14JDK兼容性:https://www.elastic.co/cn/support/matrix#matrix_jvm 操作系统兼容性:https://www.elastic.co/cn/support/matrix 自身兼容性:https://www.elastic.co/cn/support/matrix#matrix_compatibility Elasticsearch环境下载地址:htt......
  • [Chrome]CenOS7安装Chrome
    1.下载地址wgethttps://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm2.安装yuminstallgoogle-chrome-stable_current_x86_64.rpm-y3.......
  • 记一次cenos7安装nginx
    安装依赖yum-yinstallgccgcc-c++makelibtoolzlibzlib-developensslopenssl-develpcrepcre-devel 下载Nginx安装包wget-chttps://nginx.or......
  • 小白快速在cenos7系统搭建mongodb数据库及compass远程连接
    前言:本人的cenos系统是在腾讯云部署的云服务器,为个人网站提供服务,这里说明一下安装数据库遇到的问题和折腾记录。远程连接云服务器:这一步使用本地系统的可以跳过。之前......