介绍:
本指南将提供有关如何在您的 VPS/服务器上部署自托管免费 CyberPanel 控制面板的详细说明。
要求:
- 服务器全新安装 Linux VPS 的 Centos 8.x、Ubuntu 18.04、Ubuntu 20.04、AlmaLinux 8。
- Python 3.x.
- 1024MB RAM 或更高。
- 10GB 磁盘空间。
安装 CyberPanel
第 1 步:通过 SSH 连接到您的服务器
CyberPanel的安装非常简单。首先,以 root 用户身份通过 SSH 登录您的服务器(sudo 不起作用)。您可以从 VPS 控制面板获取 IP 地址和 root 密码。
步骤 2:更新程序包
对于 Ubuntu:
sudo apt update && sudo apt upgrade -y
对于 CentOS/Alma/Rocky:
sudo yum check-update sudo yum update
步骤 3:运行安装脚本
运行以下命令。它将启动自动安装脚本,该脚本将提示您决定要安装哪个版本的 LiteSpeed 以及要安装哪些附加组件。
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
第 4 步:选择要使用的 LiteSpeed 版本
我们将免费安装CyberPanel
CyberPanel Installer v2.1.2 RAM check : 184/981MB (18.76%) Disk check : 7/30GB (27%) (Minimal 10GB free space) 1. Install CyberPanel with OpenLiteSpeed. 2. Install Cyberpanel with LiteSpeed Enterprise. 3. Exit. Please enter the number[1-3]:
因此,我们将免费插入 1 个 CyberPanel
第 5 步:选择选项和插件
您将看到一系列有关可用不同选项和附加组件的提示。
Full Service (default Y):
Remote MySQL (default N):
- 允许在远程服务器上安装数据库
CyberPanel Version (default Latest Version):
- 您可以选择安装以前版本的 CyberPanel,或按 Enter 键安装最新版本
Password (default “1234567”):
- 建议您使用“s”设置自己的强密码
Memcached (default Y):
- 分布式内存对象缓存系统
Redis (default Y):
- 内存中数据结构存储,用作数据库、缓存和消息中断
Watchdog (default Yes):
- 内核看门狗用于监视系统是否正在运行。由于无法恢复的软件错误,它应该自动重新启动挂起的系统
第 6 步:安装:
安装过程将自动进行。这将需要 5-10 分钟,具体取决于服务器的速度。
步骤 7:完成安装
在安装过程结束时,您将看到以下屏幕,其中包含有关配置的重要信息。选择并将其复制到安全位置以供将来参考。
################################################################### CyberPanel Successfully Installed Current Disk usage : 7/30GB (26%) Current RAM usage : 313/981MB (31.91%) Installation time : 0 hrs 11 min 0 sec Visit: https://<your server's IP address>:8090 Panel username: admin Panel password: <the password you set during installation> Visit: <your server's IP address>:7080 WebAdmin console username: admin WebAdmin console password: TSXMwny4zVeDg37K Visit: https://<your server's IP address>:8090/rainloop/?admin Rainloop Admin username: admin Rainloop Admin password: gQKFWm9O3nr7Xn Run cyberpanel help to get FAQ info Run cyberpanel upgrade to upgrade it to latest version. Run cyberpanel utility to access some handy tools . Website : https://www.cyberpanel.net Forums : https://forums.cyberpanel.net Wikipage: https://docs.cyberpanel.net Docs : https://cyberpanel.net/docs/ Enjoy your accelerated Internet by CyberPanel & OpenLiteSpeed ################################################################### If your provider has a network-level firewall Please make sure you have opened following port for both in/out: TCP: 8090 for CyberPanel TCP: 80, TCP: 443 and UDP: 443 for webserver TCP: 21 and TCP: 40110-40210 for FTP TCP: 25, TCP: 587, TCP: 465, TCP: 110, TCP: 143 and TCP: 993 for mail service TCP: 53 and UDP: 53 for DNS service Your provider seems blocked port 25 , E-mail sending may not work properly.
步骤8:重新启动服务器:
Would you like to restart your server now? [y/N]:
输入“y”重新启动。或者在执行其他所需操作后稍后输入“重新启动”。
第 9 步:访问 CyberPanel:
成功安装后,您可以使用以下详细信息访问 CyberPanel(请务必更改):
URL: https://<Your Server's IP Address>:8090 Username: admin Password: <the password you set during installation>
最后:
我们在这里向您展示如何安装 CyberPanel 以及如何登录其仪表板。