首页 > 代码库 > 安装yum

安装yum

碰到服务没有安装yum

wget http://yum.baseurl.org/download/3.2/yum-3.2.28.tar.gz
tar xvf yum-3.2.28.tar.gz

touch /etc/yum.conf

cd yum-3.2.28
yummain.py install yum

yum check-update
yum update
yum clean all

安装yum