okaa

VPS必装软件和命令

1. V2ray安装(安装v2ray+vless+ws+tls)

bash <(curl -sL https://raw.githubusercontent.com/hiifeng/v2ray/main/install_v2ray.sh)

2.安装 warp https://github.com/yonggekkk/warp-yg

bash <(wget -qO- https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh 2> /dev/null)
bash <(curl -Ls https://gitlab.com/rwkgyg/CFwarp/raw/main/CFwarp.sh)

强制终止warp-go:kill -15 $(pgrep warp-go)

终止wgcf:systemctl stop wg-quick@wgcf

3 四合一 BBR Plus / 原版BBR / 魔改BBR





wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

4 【WGCF】连接CF WARP为服务器添加IPv4/IPv6网络

https://github.com/fscarmen/warp

wget -N https://raw.githubusercontent.com/fscarmen/warp/main/menu.sh && bash menu.sh [option] [lisence/url/token]

5 centos 开放指定端口

开启指定端口:

firewall-cmd --zone=public --add-port=端口号/tcp --permanent

开启指定端口后必须重启防火墙,重启命令

systemctl restart firewalld.service

查看防火墙状态

systemctl status firewalld.service

开启防火墙

systemctl start firewalld.service

禁止开机启动

systemctl disable firewalld.service

退出移动版