400-915-1135
详细

x-ui 支持多协议多用户的 xray 面板 v2ray

发表日期:2022-03-28 12:29:51   作者来源:超级管理员   浏览:0

建议系统
CentOS 7+
Ubuntu 16+
Debian 8+
安装&升级

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

bbr

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

中转脚本

wget -N --no-check-certificate "https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh" && chmod +x natcfg.sh && ./natcfg.sh

测速脚本

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

解决/boot/grub2/grub.cfg

#/boot/grub/grub.conf 缺失:yum install -y grub 
grub-mkconfig -o /boot/grub/grub.conf 
#/boot/grub2/grub.cfg 缺失: yum install -y grub2 grub2-mkconfig -o /boot/grub2/grub.cfg

更新系统

yum update -y #CentOS系统命令apt update -y #Debian系统命令
安装工具组件yum install -y wget #CentOS系统命令apt install -y wget #Debian系统命令    

Ubuntu系统下:
开放所有端口iptables -P INPUT ACCEPTiptables -P FORWARD ACCEPTiptables -P OUTPUT ACCEPTiptables -F

防火墙解除

centos操作如下:#停止firewallsystemctl stop firewalld.service#禁止firewall开机启动systemctl disable firewalld.service#关闭iptablesservice iptables stop#去掉iptables开机启动chkconfig iptables off

oracle Linux操作如下:#停止firewallsystemctl stop firewalld.service#禁止firewall开机启动systemctl disable firewalld.service

ubuntu操作如下:#Oracle自带的Ubuntu镜像默认设置了Iptable规则,关闭它apt-get purge netfilter-persistent
reboot#强制删除rm -rf /etc/iptables && reboot


本文章多为网络内容整理而来,如有侵犯您的权益,请联系我们免费删除