新购vps初始化

1.重新安装系统(默认debian12)
wget --no-check-certificate -qO InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh' && chmod a+x InstallNET.sh
bash InstallNET.sh -debian 12
密码:
LeitboGi0ro
记得修改默认密码:
passwd
 2.修改为IPV4优先出站
sed -i 's/#precedence ::ffff:0:0\/96  100/precedence ::ffff:0:0\/96  100/' /etc/gai.conf
3.安装组件以及升级内核
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
apt update -y && apt upgrade -y && apt dist-upgrade -y && apt install -y unzip curl socat wget git sudo
4.开启系统BBR/TCP窗口调优
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh
wget http://sh.nekoneko.cloud/tools.sh && chmod +x tools.sh && ./tools.sh
5.添加swap
wget https://raw.githubusercontent.com/zhucaidan/swap.sh/main/swap.sh && bash swap.sh
 6.检测一下回程线路
curl https://raw.githubusercontent.com/zhanghanyun/backtrace/main/install.sh -sSf | sh
 7.测试一下流媒体解锁
bash <(curl -L -s media.ispvps.com)
8.测试一下GB跑分(选自1024社区)
GB6 跑分脚本,附带宽测试:
curl -sL yabs.sh | bash
GB6 剔除带宽测试,因为都是国外节点测试,国内跑没多大意义:
curl -sL yabs.sh | bash -s -- -i
GB5 跑分脚本,附带宽测试:
curl -sL yabs.sh | bash -5
GB5 剔除带宽测试:
curl -sL yabs.sh | bash -s -- -i -5

 

运行完这些就可与愉快的去玩耍了

 

阅读剩余
THE END