超简单将Centos的yum源更换为国内的阿里云源
温馨提示:这篇文章已超过706天没有更新,请注意相关的内容是否还可用!
安装宝塔时出现这个
源挂壁了 还个源即可
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
安装宝塔命令
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh 1d36c0ba
文章版权声明:除非注明,否则均为点滴博客原创文章,转载或复制请以超链接形式并注明出处。
还没有评论,来说两句吧...