#!/bin/bash
# Add yum repo epel and rpmforge
cd
`mkdir download`
cd download
# Add RPMFORGE 源
wget
rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
sed -i -e "s/enabled = 1/enabled = 0/g" /etc/yum.repos.d/rpmforge.repo
# Add EPEL 源
wget
rpm -Uvh epel-release-6-8.noarch.rpm
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/epel.repo
# Add axel 加速 yum 下载速度
rpm -ivh
cd /etc/yum/pluginconf.d/
wget
cd /usr/lib/yum-plugins/
wget
阅读(686) | 评论(0) | 转发(0) |