你的位置:首页 > 互联网IT

X-UI面板搭建,科学上网搭建,ss搭建,Shadowsocks搭建,v2搭建,v2ray搭建,Vmess搭建,socks5搭建,VLESS搭建,Trojan搭建,http搭建

,,系统:linux,Debian/Ubuntu/CentOS

软件:X-UI面板

功能:Vmess(v2ray(v2)),Shadowsocks(ss),socks5,VLESS,Trojan,http,代理上网,VPN

项目地址:https://github.com/vaxilu/x-ui/


简单TCP安装

一,安装更新运行环境


1、Debian/Ubuntu系统执行以下命令:


apt update -y && apt install -y curl && apt install -y socat

2、CentOS系统执行以下命令:


yum update -y && yum update -y && yum install -y socat


后台默认管理:

IP:54321

用户:admin

密码:admin


QQ截图20220606082327.jpg X-UI面板搭建,科学上网搭建,ss搭建,Shadowsocks搭建,v2搭建,v2ray搭建,Vmess搭建,socks5搭建,VLESS搭建,Trojan搭建,http搭建 互联网IT


科学上网:VPS 搭建 X-UI 面板

使用X-UI搭建代理服务,具有以下优点:


支持系统状态监控:如CPU、内存、硬盘等状态

支持多用户多协议,网页可视化操作

支持流量统计

支持自定义Xray配置模板

支持HTTPS访问面板

支持面板自定义端口,账号与密码

快速生成分享连接或二维码

支持CDN套用

支持Fallback分流设置

详情请参照VPS搭建教程:https://youtu.be/i5iDHRJiJ7c

https://www.youtube.com/watch?v=n5koU-pj094


一、 准备工作


1、已经解析的域名,Win+R输入CMD 回车:键入ping 空格输入你的域名,检查一下是否可以ping通

2、一台境外VPS主流系统,例如:Debian/Ubuntu/CentOS

3、下载并安装FinalShell SSH工具

Windows版下载地址: http://www.hostbuf.com/downloads/finalshell_install.exe


macOS版下载地址: http://www.hostbuf.com/downloads/finalshell_install.pkg


二、安装更新运行环境


1、Debian/Ubuntu系统执行以下命令:


apt update -y && apt install -y curl && apt install -y socat

2、CentOS系统执行以下命令:


yum update -y && yum update -y && yum install -y socat

运行Acme脚本


curl https://get.acme.sh | sh

申请证书及密钥


【将代码中注释的邮箱和域名,改为你自己的】


~/.acme.sh/acme.sh --register-account -m xxxx@gmail.com

~/.acme.sh/acme.sh  --issue -d 输入你的域名  --standalone

下载证书及密钥


~/.acme.sh/acme.sh --installcert -d 输入你的域名 --key-file /root/private.key --fullchain-file /root/cert.crt

安装&升级x-ui面板一键脚本


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

##BBR2加速##


wget --no-check-certificate -q -O bbr2.sh "https://github.com/yeyingorg/bbr2.sh/raw/master/bbr2.sh" && chmod +x bbr2.sh && bash bbr2.sh auto

注意事项


1、如何在申请证书及密钥这一步搭建失败,检查并放行端口,口令如下:

放行80端口


    iptables -I INPUT -p tcp --dport 80 -j ACCEPT

放行443端口,把80改成443


    iptables -I INPUT -p tcp --dport 443 -j ACCEPT

查看已开放的端口


    firewall-cmd --list-ports

开放端口(开放后需要要重启防火墙才生效)


firewall-cmd --zone=public --add-port=3338/tcp --permanent

重启防火墙


firewall-cmd --reload

停止防火墙


systemctl stop firewalld

2、如果是全新安装,默认网页端口为 54321,用户名和密码默认都是 admin , 如何遇到打不开的情况,可能是端口没有放行,用【方法1】键入停止防火墙代码,或键入开放端口代码。


3、V2ray软件:设置——参数设置——V2rayN设置——Core类型改为Xray_Core


  • 发表评论
  • 查看评论
【暂无评论!】

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。