安装x-ui面板并在宝塔反向代理
IP质量检测:
bash <(curl -Ls IP.Check.Place)
一键换源脚本:
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
教育网
bash <(curl -sSL https://linuxmirrors.cn/main.sh) --edu
github地址
bash <(curl -sSL https://raw.githubusercontent.com/SuperManito/LinuxMirrors/main/ChangeMirrors.sh)
gitee地址
bash <(curl -sSL https://gitee.com/SuperManito/LinuxMirrors/raw/main/ChangeMirrors.sh)
宝塔安装:
Centos安装脚本:
yum install -y wget && wget -O install.sh https://download.bt.cn/install/install_6.0.sh && sh install.sh ed8484bec
Ubuntu/Deepin安装脚本:
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec
Debian安装脚本:
wget -O install.sh https://download.bt.cn/install/install-ubuntu_6.0.sh && bash install.sh ed8484bec
破解:
curl https://io.bt.sy/install/update_panel.sh|bash
X-ui面板安装:
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)
反向代理:
#PROXY-START/mulu location /mulu { proxy_redirect off; proxy_pass http://127.0.0.1:12345; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; proxy_read_timeout 300s; # Show realip in v2ray access.log proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } #PROXY-END/
bbrplus 加速安装:
bash <(curl -Lso- https://git.io/kernel.sh)
宝塔证书续签shell计划
/www/server/panel/pyenv/bin/python -u /www/server/panel/class/acme_v2.py --renew=1
下边这个用不到
bash <(curl -s -L https://git.io/v2ray.sh)#一键安装脚本
END.