WHM & cPanel version 86 Stable Release long-term support tier has been launched on 18 March 2020. WHM / cPanel web hosting is the best software to manage website hosting server, email, domain, and security management, which can be installed in a virtual private server (VPS ) as well as on a cloud hosting server and dedicated server. This control panel is using most users, clients, and companies and it is a premier web hosting automated software used worldwide.
Here in this article, we will discuss the latest cPanel & WHM Version 68 feature and prerequisites and installation on fresh CentOS 7 / RHEL 7 Version.
You can find below reference URL or article for Installation of AlmaLinux & Ubuntu Steps.
Features of cPanel & WHM web hosting Version
Below are some new features of the latest version.
Support for Virtuozzo 7
A large Amount of Outbound Email Detected
Notification New Separate file
Restoration from a backup
Upgrade EasyApache 4’s OpenSSL to OpenSSL 1.1.1
mod_http2Set SSL/TLS via the command line
phpMyAdmin performance setting etc.
Installation Recommended settings
- Disable OS Firewall before installation
- Recommended Hardware
- Minimum & Recommended Processor should be 226MHZ
- Minimum RAM should be 1 GB
- Minimum Disk Space should be 20 GB
Installation of cPanel in CentOS 7 / RHEL 7 / CloudLinux 7
Before doing CPanel & WHM installation first ensure your OS Version, RAM, and disk space.
Below command for checking OS, RAM, and disk space.
Version check Command
Disk Space Check
[email protected][~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 12G 7.4G 4.7G 62% / devtmpfs 476M 0 476M 0% /dev tmpfs 496M 0 496M 0% /dev/shm tmpfs 496M 20M 477M 4% /run tmpfs 496M 0 496M 0% /sys/fs/cgroup tmpfs 100M 0 100M 0% /run/user/1000
[email protected] [~] # free -m total used free shared buff/cache available Mem: 990 192 224 11 574 586 Swap: 1023 19 1004
Deactivate firewall on CentOS 7 , CloudLinux 7 and RHEL 7
# iptables-save > ~/iptables.rules # systemctl stop firewalld.service Failed to stop firewalld.service: Unit firewalld.service not loaded. # systemctl disable firewalld.service Failed to execute operation: No such file or directory
Disable Security Enhanced Features ( SELinux )
If your server running SELinux Features of security, then disable these features. To disable, run the below command. Edit the configuration file /etc/selinux/config and set the parameter SELINUX to disabled, below is my configuration file, after setting the parameter you need to reboot the server.
# vim /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of three two values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted
Installation set up steps
cPanel installation needs a Perl package, so we need to install Perl before installation.
# yum install perl
After installation of Perl, set the hostname of the server, the hostname should be in FQDN i.e fully qualified domain name. Below are the steps to set the hostname in Centos / RHEL 7. Below command to check the hostname of the server :
To set hostname :
# hostnamectl set-hostname cpanel.techtransit.org
The output will be like below :
[email protected] [~]# hostnamectl Static hostname: cpanel.techtransit.org Icon name: computer-vm Chassis: vm Machine ID: d1f142097d497f24c021d7de9b81cab4 Boot ID: f2b4ef4fb0b14a668ddc89672a20dd7c Virtualization: xen Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-693.11.1.el7.x86_64 Architecture: x86-64
Now we will download the Cpanel script on the home directory of the server, which will install Cpanel & WHM . Follow the below steps for installation.
# cd /home # curl -o latest -L https://securedownloads.cpanel.net/latest # sh latest
Now the script will run for some hours and after installation, you will get some output like, time is taken in installation as well as server access URL and access details, you will use in login root as a user and user the password of the root user. You will get WHM access like the below URL.
https://your –server-public-ip:2087 OR https://server-hostname:2087
After accessing of URL in the browser and putting the username password details in the access URL and accepting the license agreement, you can configure server networking, IP address, and name-server as according to you, you should have good nice knowledge of the System Admin part. Hope you enjoy this post, for any concerns please comment here and give us feedback. Thanks