部署99CDN主控需要哪些步骤?
美国、香港服务器
部署99CDN主控需要哪些步骤?
05-26 来源:
一、前置环境准备(必做)
1. 关闭 SELinux
bash
运行
# 临时关闭
setenforce 0
# 永久关闭(重启生效)
sed -i "s/^SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config
2. 防火墙放行端口
主控需开放:80、443、8000、8060
bash
运行
# 放行端口
firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-port=8000/tcp
firewall-cmd --permanent --add-port=8060/tcp
# 重载规则
firewall-cmd --reload
# 查看规则确认
firewall-cmd --list-all
若想简化管理,也可直接关闭防火墙:
bash
运行
systemctl stop firewalld
systemctl disable firewalld
3. 安装系统依赖
bash
运行
dnf install -y wget curl tar zip unzip net-tools
二、执行主控一键安装
下载官方安装脚本
bash
运行
wget https://raw.githubusercontent.com/99CDN/99CDN-Install/main/install.sh
赋予执行权限
bash
运行
chmod +x install.sh
运行安装脚本
bash
运行
./install.sh
脚本会自动部署 Nginx、数据库、后台面板、运行环境,全程等待即可。
安装结束后,终端会提示面板访问地址。
三、面板初始化与授权
浏览器访问主控面板
地址格式:http://主控服务器IP:8060
初始化管理员账号
根据页面提示,设置登录用户名 + 登录密码,完成初始配置。
激活授权
登录后台,进入 授权管理 页面
输入你购买的 99CDN 正版授权码,完成激活。
无授权仅可体验部分功能,正式使用必须激活。
四、提取节点对接信息(后续加节点必备)
后台进入 系统设置 → 高级设置
记录两项关键信息:
API 地址:默认 http://主控IP:8000
API 密钥:页面随机生成的字符串(完整复制保存)
五、主控状态检查
1. 查看端口监听
bash
运行
netstat -tulpn | grep -E "8000|8060"
正常会看到 8000、8060 端口处于监听状态。
2. 查看服务运行状态
bash
运行
ps aux | grep 99cdn
存在对应进程即代表主控运行正常。
六、日常启停主控服务(备用)
bash
运行
# 启动
systemctl start 99cdn
# 停止
systemctl stop 99cdn
# 重启
systemctl restart 99cdn
# 设置开机自启
systemctl enable 99cdn
三二互联专业提供香港VPS,美国VPS主机,香港云服务器租用等业务香港美国到大陆CN2 GIA速度最快