2023.10.19
1、Debian/Ubuntu 系统执行以下命令: apt update -y && apt install -y curl && apt install -y socat && apt-get install wget -y 2、CentOS 系统执行以下命令: yum update -y && yum install -y curl && yum install -y socat 3、 命令:date -R查询日期 设置时区为北京时间 一般国外的VPS的镜像都是默认的国外时区,使用起来不是很方便。可以把它修改成北京时间,就会方便很多 代码: rm -rf /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 4、一键自动安装并开启BBRv3加速 官网版一键脚本 curl -sS -O https://kejilion.pro/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh GitHub版一键脚本 部分小伙伴会遇到官网版出现大段乱码!就用GitHub版本吧! curl -sS -O https://raw.githubusercontent.com/kejilion/sh/main/kejilion.sh && chmod +x kejilion.sh && ./kejilion.sh 5、 搬瓦工怎么重启?搬瓦工VPS重启和设置定时重启教程 https://www.banwagongzw.com/182.html 定时重启 apt-get install cron crontab -e 0 */3 * * * /sbin/reboot /etc/init.d/cron stop /etc/init.d/cron restart 5、 安装 BBR 加速 本脚本建议在Debian≥9或是CentOS≥8以上的系统中使用 wget -N --no-check-certificate "https://raw.gith...