Allen的分享 TECH HUB

海外手机卡、港美股银行开户与跨境数字生活指南 | 专注分享海外0月租保号手机卡与eSIM测评(英国Giffgaff/美国T-Mobile/香港3HK)、新加坡华美银行开户、ITIN税号申请与跨境汇款实战。

🏠 首页 / 学习分享 / 正文阅读

最猛富强协议Heytaria 2协议面板H-UI

准备:

域名+VPS一台,解析一个子域名到vps

匿名阿里云服务器https://t.me/nimingyunfuwu

搬瓦工GIA服务器 https://bandwagonhost.com/aff.php?aff=14277

用到的命令

升级vps系统组件
sudu -i
yum update -y #CentOS 命令
yum install -y curl #CentOS 命令
yum install -y socat #CentOS 命令

关闭防火墙,开放防火墙端口

yum install firewalld #安装防火墙组件
firewall-cmd --state # 查看防火墙状态
systemctl stop firewalld.service # 停止防火墙
systemctl disable firewalld.service # 禁止防火墙开机自启

安装 Acme 脚本

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

80 端口空闲的证书申请方式
自行更换代码中的域名、邮箱为你解析的域名及邮箱

~/.acme.sh/acme.sh --register-account -m xxx@xxx.com邮箱
~/.acme.sh/acme.sh --issue -d 你的域名 --standalone

申请证书失败切换申请服务器

~/.acme.sh/acme.sh --set-default-ca --server letsencrypt

安装证书到指定文件夹
自行更换代码中的域名为你解析的域名

~/.acme.sh/acme.sh --installcert -d h2.mrcm666.com --key-file /root/private.key --fullchain-file /root/cert.crt

安装h-ui面板

mkdir -p /usr/local/h-ui/

curl -fsSL https://github.com/jonssonyan/h-ui/releases/latest/download/h-ui-linux-amd64 -o /usr/local/h-ui/h-ui && chmod +x /usr/local/h-ui/h-ui

curl -fsSL https://raw.githubusercontent.com/jonssonyan/h-ui/main/h-ui.service -o /etc/systemd/system/h-ui.service

systemctl daemon-reload

systemctl enable h-ui

systemctl restart h-ui
#卸载面板-非必需
systemctl stop h-ui

rm -rf /etc/systemd/system/h-ui.service /usr/local/h-ui/
默认
面板端口: 8081
Username/Password: sysadmin

📱 需要免实名海外 0 月租保号手机卡 / 全球流量 eSIM?

英国 Giffgaff · 沃达丰 · 香港 3HK · 澳洲/美国实体卡与 eSIM 极速发卡,支持微信 / 支付宝 / USDT 自助下单!

立即前往 SIM 卡商城 →

发表评论 / 提问交流