什么是x-ui
x-ui 面板是一个强大的多协议支持面板,支持shadowsocks、v2ray(vmess、vless)、trojan、socks5、http协议,脚本支持Ubuntu16+ 系统、Deibian8+系统和CentOS7+系统。
安装面板
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)申请证书
方法一:安装 acme 脚本
域名参考:www.georgie.cn
yum install socat -y #CentOS7 系统
或
apt install socat -y #Ubuntu、Debian 系统curl https://get.acme.sh | sh~/.acme.sh/acme.sh --issue -d 域名 --standalonemkdir /root/cert~/.acme.sh/acme.sh --installcert -d 域名 --key-file /root/cert/private.key --fullchain-file /root/cert/cert.crt~/.acme.sh/acme.sh --upgrade --auto-upgrade
chmod -R 755 /root/cert方法二:certbot
sudo yum install epel-releasesudo yum install snapdsystemctl restart snapdsystemctl enable --now snapd.socketln -s /var/lib/snapd/snap /snapsnap install coresnap refresh coresnap install --classic certbotln -s /snap/bin/certbot /usr/bin/certbotcertbot certonly --standalonesudo ln -s /etc/letsencrypt/live/域名/ /root/cert证书位置
方法1:
- /root/cert/cert.crt
- /root/cert/private.key
方法2:
- /root/cert/fullchain.pem
- /root/cert/privkey.pem








Comments | NOTHING