Linux常用安装包下载地址

使用网易163的源

32位系统的RPM安装包下载地址

http://mirrors.163.com/centos/6/os/i386/Packages/

64位系统的RPM安装包的下载地址

http://mirrors.163.com/centos/6/os/x86_64/Packages/

 下载好之后 使用rpm -ivh xxx.rpm命令安装就即可

 

最新的阿里云yum源配置,CentOS7 亲测可用

[base]
name=CentOS-$releasever - Base - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos/$releasever/os/$basearch/
        http://mirrors.aliyuncs.com/centos/$releasever/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7

也可通过命令直接来用

CentOS 5

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

 CentOS 6

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

 CentOS 7

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

 

转载于:https://www.cnblogs.com/zup-18/p/8376104.html

你可能感兴趣的:(操作系统,运维)