Liunx一键脚本

宝塔面板:

origin:https://ybfl.xyz/sites/158.html

1.直接安装V7.7.0的版本,之后的版本都会验证userInfo.json,虽然网上有大把的开心版,但不敢用啊。

国外机可以用github,用下面的代码 作者github地址

1
2
curl -sSO https://raw.githubusercontent.com/8838/btpanel-v7.7.0/main/install/install_panel.sh && bash install_panel.sh

国内机器,或者连不上github的,用下面这个代码 国内文件地址

1
curl -sSO http://d.moe.ms/AAAAA/btpanel-v7.7.0/install/install_panel.sh && bash install_panel.sh

Ps:代码都能看到,如果有疑问,大家可自行看源码。

2.开始开心版手动制作

1,屏蔽手机号

1
sed -i "s|bind_user == 'True'|bind_user == 'XXXX'|" /www/server/panel/BTPanel/static/js/index.js

2.删除强制绑定手机js文件

1
rm -f /www/server/panel/data/bind.pl

3.还嫌麻烦,直接一键优化脚本吧

1
wget -O optimize.sh http://f.cccyun.cc/bt/optimize.sh && bash optimize.sh

插件开心版操作

1.手动解锁宝塔所有付费插件为永不过期
文件路径:/www/server/panel/data/plugin.json
搜索字符串:”endtime”: -1全部替换为”endtime”: 999999999999

2.给plugin.json文件上锁防止自动修复为免费版

1
chattr +i /www/server/panel/data/plugin.json

如果嫌烦,一键脚本

1
curl -sSO https://raw.githubusercontent.com/ztkink/bthappy/main/one_key_happy.sh && bash one_key_happy.sh

已经安装了宝塔新版本,降级
1.下载离线包

1
wget https://d.ybfl.xyz/bt/LinuxPanel-7.7.0.zip

2.解压缩

1
unzip LinuxPanel-7.7.0.zip

如有提示,输入大写A即可,全部替换
3.进入升级目录

1
cd /root/panel

4.运行降级

1
bash update.sh

然后重复上面屏蔽手机的代码和是否要开启开心版插件,自己定吧。

ygkkk

——-sing-box(https://github.com/yonggekkk/sing-box_hysteria2_tuic_argo_reality)---------

1
bash <(wget -qO- https://gitlab.com/rwkgyg/sing-box-yg/raw/main/sb.sh 2> /dev/null)

———x-ui(origin:https://github.com/yonggekkk/x-ui-yg)------------

1
bash <(wget -qO- https://gitlab.com/rwkgyg/x-ui-yg/raw/main/install.sh 2> /dev/null)

fscarmen

———ArgoX(origin:https://github.com/fscarmen/ArgoX)------------

1
bash <(wget -qO- https://raw.githubusercontent.com/fscarmen/argox/main/argox.sh)

———warp(origin:https://github.com/fscarmen/warp)------------

1
2
wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh [option] [lisence/url/token]
再次运行:warp [option] [lisence]

mack-a

origin:https://www.v2ray-agent.com/archives/1680104902581
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

Misaka-blog

———Hysteria(origin:https://github.com/Misaka-blog/hysteria-install)------------

1
wget -N --no-check-certificate https://raw.githubusercontent.com/Misaka-blog/hysteria-install/main/hy2/hysteria.sh && bash hysteria.sh

Hysteria
内核下载页,https://github.com/apernet/hysteria/releases/

eooce大杂烩

1
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

测速:

1
bash <(wget -qO- https://raw.githubusercontent.com/vpslog/script/main/bench.sh)

x-ui:

1
bash <(curl -Ls https://raw.githubusercontent.com/FranzKafkaYu/x-ui/master/install.sh)

Liunx一键脚本
https://ww.whyyzs.top/2024/01/10/Liunx一键脚本/
Posted on
January 10, 2024
Licensed under