如何在 CentOS 8 上安装 Cyber​​Panel

在本教程中,我们将向您展示如何在 CentOS 8 上安装 Cyber​​Panel。对于那些不知道的人,Cyber​​Panel 是市场上最早的控制面板之一,它既开源又使用 OpenLiteSpeed 网络服务器,它还打包电子邮件、DNS 和 FTP 服务器。 它有免费版和企业版两个版本。 免费版使用 Open Lite Speed,而企业版使用 Lite Speed Web 服务器。

本文假设您至少具备 Linux 的基本知识,知道如何使用 shell,最重要的是,您将网站托管在自己的 VPS 上。 安装非常简单,假设您在 root 帐户下运行,如果不是,您可能需要添加 ‘sudo‘ 到命令以获取 root 权限。 我将向您展示如何在 CentOS 8 上逐步安装 Cyber​​Panel。

在 CentOS 8 上安装 Cyber​​Panel

第 1 步。首先,让我们首先确保您的系统是最新的。

sudo dnf clean all sudo dnf update

步骤 2. 在 CentOS 8 上安装 Cyber​​Panel。

现在我们从官网下载Cyber​​Panel安装脚本:

wget https://cyberpanel.net/install.sh

下载脚本后,我们可以使用以下命令开始安装和配置 Cyber​​Panel:

chmod 755 install.sh sh install.sh

安装过程中会提示几个问题,如下图:

Detecting Centos 8...  Initializing...  Valid IP detected...  Checking server...  Checking OS...  Detecting CentOS 8.X...  Checking virtualization type...  Checking root privileges...  You are runing as root...  		CyberPanel Installer v2.06    1. Install CyberPanel.    2. Addons and Miscellaneous    3. Exit.     Please enter the number[1-3]: 1

选择选项 1 开始:

CyberPanel Installer v2.06    RAM check : 119/1989MB (5.98%)    Disk check : 2/80GB (3%) (Minimal 10GB free space)    1. Install CyberPanel with OpenLiteSpeed.    2. Install Cyberpanel with LiteSpeed Enterprise.    3. Exit.      Please enter the number[1-3]: 1

我们想使用 OpenLiteSpeed,所以按 1 并击中 [Enter] 使用 OpenLiteSpeed 安装 Cyber​​Panel:

Install Full service for CyberPanel? This will include PowerDNS, Postfix and Pure-FTPd.  Full installation [Y/n]: Y

让我们通过按来安装它们 并击中 [Enter] 为 Cyber​​Panel 安装完整服务。 进入下一步:

Full installation selected...  Press Enter key to continue with latest version or Enter specific version such as: 1.9.4 , 1.9.5 ...etc  Branch name set to v2.0.1  Please choose to use default admin password 1234567, randomly generate one (recommended) or specify the admin password? Choose [d]fault, [r]andom or [s]et password: [d/r/s] s

s 并击中 [Enter]. 现在将提示您手动提供密码:

Please enter your password: your-stronge-password  Please confirm your password: your-stronge-password

提供您想要的密码并点击 [Enter] 接着说:

Do you wish to install Memcached extension and backend? Please select [Y/n]: Y  Do you wish to install Redis extension and backend? Please select [Y/n]: Y

并击中 [Enter] 安装 Memcached 和 Redis 扩展:

Would you like to set up a WatchDog (beta) for Web service and Database service ? The watchdog script will be automatically started up after installation and server reboot If you want to kill the watchdog , run watchdog kill Please type Yes or no (with capital Y, default Yes): Yes

一旦我们安装并配置了 Cyber​​Panel,我们将看到以下输出:

###################################################################                 CyberPanel Successfully Installed                                                                                                       Current Disk usage : 5/120GB (11%)                                                                                                             Current RAM  usage : 512/8000MB (17.85%)                                                                                                              Installation time  : 0 hrs 15 min 3 sec                                                                                                           Visit: https:// your-server-ip:8090                                      Panel username: admin                                               Panel password: your-stronge-password                                         WebAdmin console username: meilana                                          WebAdmin console password: maria 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                                                                                                 Enjoy your accelerated Internet by                                   CyberPanel & OpenLiteSpeed					                      #################################################################

步骤 3. 在 CentOS 上访问 Cyber​​Panel。

通过在浏览器中输入您的 IP 地址和 8090 来访问 Cyber​​Panel,您将看到面板登录屏幕,现在输入您的凭据,您将看到仪表板。

https://your-server-ip-address:8090

恭喜! 您已成功安装 Cyber​​Panel。 感谢您使用本教程在 CentOS 8 系统上安装 Cyber​​Panel。 如需更多帮助或有用信息,我们建议您查看 Cyber​​Panel 官方网站.