Centos install yum

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos install yum相关的知识,希望对你有一定的参考价值。

记录几个centos yum源的安装

rpm -Uhv http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm -Uhv http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

yum makecache

rpm -Uhv http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

下载centos的yum

Centos 6 
wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

Centos 7
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

Centos 5
wget http://mirrors.163.com/.help/CentOS5-Base-163.repo

以上是关于Centos install yum的主要内容,如果未能解决你的问题,请参考以下文章

centos6 yum install lamp过程记录

CentOS 7 Yum install * 报错

centos7下用yum install 安装nodejs,默认装在哪个目录了

centos yum install redis

CentOS 7 yum install cobbler

Centos install yum