How To Install Cpanel On Centos
cPanel is an online Linux-based spider web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site or email.
Prerequisite:
- Launch a CentOS 7 instance (But install cPanel & WHM on a freshly-installed operating organisation).
- Access the instance via SSH.
- Run all the following commands from the beat out/concluding (All commands need to be run as the root user).
- You need to purchase your own cPanel license to use the control panel.
Instructions:
Step 1: Ready a valid hostname (FQDN) for your organization. Note: Supercede "your-hostname.example.com" with a FQDN.
hostname <your-hostname.example.com>
Pace 2: Disable SELinux.
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
Step 3: Download and run the installation script. Tips: You lot may use the screen utility in example your session disconnects during installation.
cd /dwelling && whorl -o latest -L https://securedownloads.cpanel.cyberspace/latest && sh latest
Step 4: Expect for the installation to complete.
Pace v: While waiting for the installation, yous might desire to allow all the required ports on the security group for your instance (eg: WHM SSL, FTP, HTTP, HTTPS). Please follow the guide here.
Note: To know which ports are used past cPanel & WHM, please refer to this official documentation: https://documentation.cpanel.net/brandish/CKB/How+to+Configure+Your+Firewall+for+cPanel+Services
Step 6: Set a countersign for root. You will be prompted to enter the new root password after entering the control below:
passwd
Step 7: Scan to https://<your-server-ip>:2087 to access the WHM, and login as root.
After completing all the steps above, you should at present be logged in to your WHM on your server.
Source: https://www.ipserverone.info/knowledge-base/how-to-install-cpanel-on-centos-7/
Posted by: robinsonwerving80.blogspot.com
0 Response to "How To Install Cpanel On Centos"
Post a Comment