甲骨文云安装X-UI面板
甲骨文云安装X-UI面板

甲骨文云安装X-UI面板

管理员权限:sudo -i

安装更新运行环境

Debian/Ubuntu系统执行以下命令:
apt update -y && apt install -y curl && apt install -y socat

CentOS系统执行以下命令:
yum update -y && yum update -y && yum install -y socat

Ubuntu开启所有端口

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

运行acme脚本
curl https://get.acme.sh | sh

申请证书及密钥
PS:修改代码中注释的域名,改为你自己的域名
~/.acme.sh/acme.sh --register-account -m xxxx@gmail.com
~/.acme.sh/acme.sh --issue -d www.sunxiao.ml --standalone

下载证书及密钥
~/.acme.sh/acme.sh --installcert -d www.sunxiao.ml --key-file /root/private.key --fullchain-file /root/cert.crt

证书路径
/root/cert.crt 公钥
/root/private.key 密钥

安装&升级x-ui面板一键脚本
bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

BBR PLUS 四合一脚本
wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

防火墙解除
centos操作如下:

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

关闭iptables

service iptables stop

去掉iptables开机启动

chkconfig iptables off

oracle Linux操作如下:

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

ubuntu操作如下:

Oracle自带的Ubuntu镜像默认设置了Iptable规则,关闭它

apt-get purge netfilter-persistent
reboot

强制删除

rm -rf /etc/iptables && reboot

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

Title - Artist
0:00