如何在Linux CentOS上设置ZPanel CP

时间:2020-03-05 15:28:12  来源:igfitidea点击:

今天,我们将向我们展示Web托管控制面板最重要的解决方案之一,这些解决方案不仅仅是一个适用于ZPanel的Windows和Linux的开源应用程序。
它在PHP中编写并使用不同的其他开源软件包来提供安全的Web托管控制面板。
使用ZPanel我们可以使用它来管理Web服务器的每个方面,包括电子邮件帐户,MySQL数据库,域,FTP,DNS和其他高级配置,如Cron作业。

Zpanel的安装设置非常容易提升和运行。
ZPanel提供了它的安装脚本,我们需要在自己的Web服务器上运行所需的一切,因此我们需要的只是一个带有CentOS 6上的空白服务器,Zpanel将完成其他所有其他内容。

系统准备

ZPanel是一个非常轻量级的网络托管控制面板,与其他托管控制面板相比,资源使用情况,但强烈建议具有至少512MB的内存以便更好的性能。

ZPanel不支持CentOS 6.6及更高版本,所以我们将在这里使用CentOS 6.5.
因此,首先准备一个新鲜的CentOS 6.5版本,并通过SSH使用root用户登录服务器,并停止任何其他Web服务,并在其上运行数据库服务。
然后删除其安装包,使其干净,以便在其上运行其他Web或者数据库服务。

准备好完成CentOS 6.5的清洁安装后,首先使用以下命令应用所有更新。

# yum update

下载ZPanel Installer.

让我们从他们的官方网络链接ZPanel下载页面下载ZPanel最新可用安装程序。

复制链接以获取CentOS 6的最新可用的支持安装脚本,并使用服务器安全shell中的下面的命令下载。

# wget https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh

启动ZPanel安装

在通过ZPanel Installer脚本开始安装之前,请确保它具有可执行权限。
我们可以检查和分配IT可执行权限,如下图所示。

现在使用以下命令执行zpanel安装脚本。

# ./10_1_1.sh

这将检查已安装的包并检测支持的操作系统的版本。
因此,一旦一切都是根据其要求,我们将被打击官方ZPanel安装人员的欢迎屏幕。

# #
# Please make sure your VPS provider hasn't pre-installed #
# any packages required by ZPanelX. #
# #
# If you are installing on a physical machine where the OS #
# has been installed by yourself please make sure you only #
# installed CentOS with no extra packages. #
# #
# If you selected additional options during the CentOS #
# install please consider reinstalling without them. #
# #```

然后按"Y"键继续并选择大陆,国家/地区名称和时区,然后按安装期间提供的说明。

``` sh
The following information has been given:
Britain (UK)
Therefore TZ='Europe/London' will be used.
Local time is now: Sat Aug 22 01:13:45 BST 2014.
Universal Time is now: Sat Aug 22 00:13:45 UTC 2014.
Is the above information OK?
1) Yes
2) No
#? 1
You can make this change permanent for yourself by appending the line
TZ='Europe/London'; export TZ
to the file '.profile' in your home directory; then log out and log in again.
Here is that TZ value again, this time on standard output so that you
can use the /usr/bin/tzselect command in shell scripts:
Europe/London

之后,我们必须提供将用于访问服务器的FQDN(完全限定的域名)。
让我们提供适当的设置,然后键入"Y"以继续如下所示。

Enter the FQDN you will use to access ZPanel on your server.
- It MUST be a sub-domain of you main domain, it MUST NOT be your main domain only. Example: panel.yourtheitroad.com
- Remember that the sub-domain ('panel' in the example) MUST be setup in your DNS nameserver.
FQDN for zpanel: zpanel-cp.theitroad.com
Enter the public (external) server IP: 19.19.23.12
ZPanel is now ready to install, do you wish to continue (y/n) y

现在在计算机上安装过程中的安装过程,因为它将安装以下软件包

  • ZPanel.
  • Apach.
  • mysql.
  • PHP.
  • Bind
  • Postfix

成功完成其包后,它将重新启动其所有已安装的软件包的服务,并将与其生成的密码迎接MySQL,Postfix和ZPanel用户名和密码。
因此,保存所有这些有价值的信息并键入"Y",以便重新启动服务器以完成安装过程。

服务器返回,打开Web浏览器以访问Zpanel Web登录,使用服务器的IP。

http://your_servers_ip/

在安装完成后,请在上面生成的登录详细信息。

欢迎来到ZPNALE控制面板

一旦我们提供了真实凭据,我们将被引导到Zpanel仪表板,我们将能够执行任何类型的Web主机任务,无论我们是否要配置电子邮件,管理数据库或者域。