XrayR一键安装脚本(注意!!使用0.9.0版本,0.9.1有问题)
1.Debian:
注意!!换新的服务器后,配置文件下面的域名解析的IP地址一定要在CF中更换!!!并在宝塔面板放行端口!!
wget -N https://raw.githubusercontent.com/XrayR-project/XrayR-release/master/install.sh && bash install.sh 0.9.0
2.Centos:
bash <(curl -Ls https://raw.githubusercontent.com/XrayR-project/XrayR-release/master/install.sh) 0.9.0
3.alpine版-Xrayr
发送Xrayr后无法调佣官方的恢复面板,需要按照下面的代码替换实现
① 首先直接执行转换alpine(如盘满请重建)
wget https://www.moerats.com/usr/shell/alpine.sh && bash alpine.sh
②《alpine版-Xrayr》
Debian系统:
apk add curl&&apk add bash && bash <(curl -Ls https://github.com/Cd1s/alpineXrayR/releases/download/one-click/install-xrayr.sh && chmod +x install-xrayr.sh && bash install-xrayr.sh)
Centos系统:
wget -N https://github.com/Cd1s/alpineXrayR/releases/download/one-click/install-xrayr.sh && chmod +x install-xrayr.sh && bash install-xrayr.sh
③ alpine版 x-ui
apk add curl&&apk add bash && bash <(curl -Ls https://raw.githubusercontent.com/Lynn-Becky/Alpine-x-ui/main/alpine-xui.sh)
④ Xrayr重启自启(类似官方的配置好后的重启)
/etc/init.d/XrayR restart
或
rc-service XrayR restart