v2ray一键脚本
自己使用过的一些科学上网脚本
一:ss2022
一键脚本:
1 | curl -OL https://github.com/loyess/2022/raw/main/2022script.sh |
卸载:
1 | ./2022script.sh --remove |
管理面板:
1 | ./2022script.sh -h |
Writing ss://links information into: /root/rustss2022/url_scheme.conf //节点信息
Writing service information into: /etc/systemd/system/ss-rust.service
二:v2ray-agent脚本
1 | wget -P /root -N --no-check-certificate "https://raw.githubusercontent.com/mack-a/v2ray-agent/master/install.sh" && chmod 700 /root/install.sh && /root/install.sh |
管理面板:vasma
三:233boy脚本(现已不建议使用)
1.安装 V2Ray
1 | bash <(curl -s -L https://git.io/v2ray.sh) |
如果提示 curl: command not found ,那是因为你的 VPS 没装 Curl
ubuntu/debian :1
apt-get update -y && apt-get install curl -y
centos 系统安装 Curl 方法:1
yum update -y && yum install curl -y
安装好 curl 之后就能安装脚本了
2.开启谷歌BBR加速
本文的系统要求为 Debian 9或更高版本的 Debian Linux
命令1:1
wget https://raw.githubusercontent.com/bannedbook/fanqiang/master/v2ss/server-cfg/sysctl.conf -O -> /etc/sysctl.con
注:如果提示 wget: command not found 的错误,这是因为你的系统wget没有安装,所以需要安先装 wget:1
apt-get install -y wget
命令2:1
sysctl -p
3.快速管理 V2Ray
1 | v2ray info 查看 V2Ray 配置信息 |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Hiyoung'blog!