请注意,以下命令适用于基于Linux的系统。对于其他操作系统,操作命令可能有所不同。
命令类
更新VPS环境
Ubuntu/Debian
1
| apt update -y && apt install -y curl socat wget sudo
|
Alpine
1
| apk update && apk add curl
|
vim安装
1
| sudo apt-get install vim
|
unzip安装
1 2 3 4 5 6 7 8 9 10 11
| sudo nginx -t #检查配置文件语法
sudo systemctl start nginx #启动 Nginx
sudo systemctl stop nginx #停止 Nginx
sudo systemctl restart nginx #重启 Nginx
sudo systemctl reload nginx #重新加载配置(不中断服务)
sudo systemctl status nginx #查看状态
|
工具类
1 2 3
| curl -fsSL https://raw.githubusercontent.com/eooce/ssh_tool/main/ssh_tool.sh -o ssh_tool.sh && chmod +x ssh_tool.sh && ./ssh_tool.sh
bash <(curl -sL kejilion.sh)
|
1
| bash <(curl -Ls IP.Check.Place)
|
1 2 3
| bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sing-box.sh)
PORT=11111 CFIP=www.visa.com.tw CFPORT=443 bash <(curl -Ls https://raw.githubusercontent.com/eooce/sing-box/main/sing-box.sh)
|
1
| bash <(curl -Ls https://raw.githubusercontent.com/yonggekkk/x-ui-yg/main/install.sh)
|
IPv6专区
1
| wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh
|
纯IPv6修改DNS64(NAT64),可访问IPV4地址
1 2 3
| vim /etc/resolv.conf nameserver 2001:67c:2b0::4 nameserver 2001:67c:27e4::64
|