请稍候...
  • 企业级 VPS主机
  • Windows VPS 主机
  • Unmanaged VPS 主机
  • 通配符证书,部署全网SSL证书必备神器
  • 高速稳定独立主机High quality stable server

Installing cPanel & WHM(安装Cpanel & WHM)

发布时间:2011-07-25 12:12:02 来源: 亚狐科技

Preparing to install cPanel & WHM or DNSONLY

Once you have successfully installed your operating system, you are ready to install WHM and cPanel. There are some basic steps to installing the cPanel software. You will need to:

  1. Access your server.
    • This can be done remotely if you do not have physical access.
  2. Check your server's configuration.
  3. Run installation commands in a command-line interface.

Connecting to your server remotely via SSH

To begin the cPanel & WHM installation process, a connection must be made from your computer to the server unless you have physical access to the server.

To begin in a *nix environment:

  1. Access the command line interface (using a terminal application).
  2. Type the following command: ssh root@$IP (where $IP is meant to represent your target server’s IP address.)
  3. Enter your server’s root password.

If you are installing cPanel from a Windows® computer, you should use PuTTy to connect to your server. You can visit the PuTTy site for more details.

To begin using PuTTy:

  1. Download and install the client from the URL above.
  2. Open the client.
  3. Under the Sessions menu, input the IP address of the server.
    • Make sure that the SSH button is selected.
  4. Click Open.
  5. Use root as the login name.
  6. Enter the root password.

If you typed username and password correctly, you should be logged into the server.

PICK Remember: Once you are logged into the server you will need to use the POSIX standardized commands to manipulate files on that server, regardless of whether you are using PuTTy or a native SSH client.

Removing YUM groups

You will need to make sure certain yum groups are not installed. To obtain a list of yum groups, use the following command:

yum grouplist

Make sure the following yum groups are not installed:

  • FTP Server
  • GNOME Desktop Environment
  • KDE (K Desktop Environment)
  • Mail Server
  • Mono
  • Web Server
  • X Window System

To remove a yum group, you can use the yum groupremove command. For example, if you wanted to remove Mono and Mail Server:

yum groupremove "Mono" "Mail Server"

note Note: You can specify more than one group per line. You will need to use quotation marks ("") around each group you wish to remove.

Obtaining a cPanel license

If you do not have a license for cPanel & WHM, you will need to obtain one for your IP address. You should acquire your license before you attempt to install cPanel. You can obtain a license at the cPanel store.

note Note: We also offer 15-day test licenses for no cost at the cPanel store.

Installing cPanel & WHM

To begin your installation, use the following commands:

  1. Open the /home directory by typing the command cd /home
  2. Fetch the latest installation file from the cPanel servers by typing the command wget -N http://httpupdate.cpanel.net/latest
  3. Open and run the installation files by typing the command sh latest

If licensing has failed (due to a strict firewall or changed IP), execute the following command to activate your license:

  • /usr/local/cpanel/cpkeyclt

note Note: During the installation process, Apache 2.2 and PHP 5.2.17 are installed by default. You can customize your server's Apache and PHP configuration using our EasyApache feature after the installation is complete.

 

【责任编辑:亚狐科技 (Top) 返回页面顶端

上一篇:my.cnf