- [清理yum源] yum clean all
[更换repo文件] curl -o /etc/yum.repos.d/CentOS-Base.repo https://global.ecdn.ltd/osm/centos6/Centos-6-Vault-Aliyun.repo- [输入SSH 步骤1] sed -i “s|enabled=1|enabled=0|g” /etc/yum/pluginconf.d/fastestmirror.conf
- [输入SSH 步骤2] mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
- [国外服务器输入] curl -o /etc/yum.repos.d/CentOS-Base.repo https://global.ecdn.ltd/osm/centos6/repo/oversea/Centos-6-Vault-Official.repo [国内服务器输入] curl -o /etc/yum.repos.d/CentOS-Base.repo https://global.ecdn.ltd/osm/centos6/repo/cn_mainland/Centos-6-Vault-Aliyun.repo
- [清理yum源] yum clean all
- [Makecache] yum makecache
- [更新yum源] yum update
- [更换为LotServer锐速支持的内核版本,完成后重启,不要选择启用模块] wget –no-check-certificate -O tcp.sh https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh
- [安装LotServer锐速插件] bash <(wget –no-check-certificate -qO- https://github.com/iiiiiii1/LotServer/raw/master/Install.sh) install
- 未完待续
发表回复