1.时区设置

tzselect

选择Asia,选择China

vi /etc/profile

在文件内添加一行 export TZ='Asia/Shanghai'

source /etc/profile

mv /etc/localtime /etc/localtime.bak
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
vi /etc/timezone

Asia/Shanghai

2.开机启动

在/etc/init.d/目录下新建一个脚本文件test
chown 755 test

cd /etc/rc4.d
ln -s ../init.d/test S20test

ln -s ../init.d/ssmgr S20ssmgr

3.开启BBR

wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

测试是否成功

sysctl net.ipv4.tcp_congestion_control
lsmod | grep bbr

4.防火墙,禁用BT

wget -N --no-check-certificate https://softs.fun/Bash/ban_iptables.sh && chmod +x ban_iptables.sh && bash ban_iptables.sh