TypechoJoeTheme

山下驴友

sing

网站页面
类目归类

小白教程-安装X-UI面板&申请SSL证书

准备工作:
一:一台重置好系统(推荐Debia/Ubuntu)的VPS。

二:一个解析好的域名。

教程开始:
1.申请SSL证书:

申请前请检查是否开启了防火墙(UFW),如果开启了请关闭,关闭命令:sudo ufw disable

apt update -y #更新系统

apt install -y curl #安装curl

apt install -y socat #安装socat

curl https://get.acme.sh | sh #安装Acme脚本

~/.acme.sh/acme.sh --register-account -m [email protected] #设置SSL申请邮箱,[email protected]更换为自己的邮箱

~/.acme.sh/acme.sh --issue -d xxxx.xxx --standalone #申请SSL,xxxx.xxx更换为自己的域名

~/.acme.sh/acme.sh --installcert -d xxxx.xxx --key-file /root/private.key --fullchain-file /root/cert.crt #安装证书文件到root目录下,xxxx.xxx更换为自己的域名

公钥文件路径: /root/cert.crt

密钥文件路径: /root/private.key

SSL证书申请完成

2.安装X-UI面板

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

面板默认登录地址: http://localhost:54321 #localhos替换为你的VPS IP地址

默认用户名:admin

默认密码:admin

节点开启TLS/XTLS配置:

转自:https://blogxiaocai.blogspot.com/2022/02/vps-x-ui.html

赞 · 0
评论 (3)
  1. opqpejuiye 作者
    Windows 10 · Google Chrome

    博主真是太厉害了!!!

    2024-09-22 回复
  2. olxjurveoe 作者
    Windows 10 · Google Chrome

    想想你的文章写的特别好https://www.237fa.com/

    2024-10-01 回复
  3. njdsghjvnc 作者
    Windows 10 · Google Chrome

    想想你的文章写的特别好www.jiwenlaw.com

    2024-10-05 回复