Ubuntu常用命令

软件更新

apt update && apt upgrade -y

同步时间

timedatectl set-timezone Asia/Shanghai

开启BBR

修改系统变量:

echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p

查看是否开启,SSH界面有输出代表成功。

lsmod | grep bbr

网络优化

wget http://sh.nekoneko.cloud/tools.sh -O tools.sh && bash tools.sh

开放全部端口

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables-save
netfilter-persistent save
netfilter-persistent reload

一键DD系统(Ubuntu20.04)

bash <(wget --no-check-certificate -qO- 'http://download.8t.cx/dd/Tools/master/Linux_reinstall/InstallNET.sh')  -ubuntu 20.04 -pwd 'Qq123456' -port "22" 

密码为Qq123456

版权声明:
作者:wkweb
链接:https://www.wkweb.cn/80.html
来源:哇咔资源网
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
Ubuntu常用命令
软件更新 apt update && apt upgrade -y 同步时间 timedatectl set-timezone Asia/Shanghai 开启BBR 修改系统变量: echo "net.core.d……
<<上一篇
下一篇>>