[记录] CentOS6系统全新安装后的相关步骤
[记录] CentOS6系统全新安装后的相关步骤
  1. [清理yum源] yum clean all
  2. [更换repo文件] curl -o /etc/yum.repos.d/CentOS-Base.repo https://global.ecdn.ltd/osm/centos6/Centos-6-Vault-Aliyun.repo
  3. [输入SSH 步骤1] sed -i “s|enabled=1|enabled=0|g” /etc/yum/pluginconf.d/fastestmirror.conf
  4. [输入SSH 步骤2] mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
  5. [国外服务器输入] 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
  6. [清理yum源] yum clean all
  7. [Makecache] yum makecache
  8. [更新yum源] yum update
  9. [更换为LotServer锐速支持的内核版本,完成后重启,不要选择启用模块] wget –no-check-certificate -O tcp.sh https://github.com/cx9208/Linux-NetSpeed/raw/master/tcp.sh && chmod +x tcp.sh && ./tcp.sh
  10. [安装LotServer锐速插件] bash <(wget –no-check-certificate -qO- https://github.com/iiiiiii1/LotServer/raw/master/Install.sh) install
  11. 未完待续
本文采用 CC BY-NC-SA 3.0 Unported 协议进行许可
EnsonYan

EnsonYan

文章作者

关于我的详细介绍,请在主页左上角菜单栏中“关于站长”内查看!

发表评论

textsms
account_circle
email

[记录] CentOS6系统全新安装后的相关步骤
[清理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|enab…
扫描二维码继续阅读
2021-02-19