Home CentOS CentOS 7 Installing Cpanel on CentOS 7

Installing Cpanel on CentOS 7

cPanel is an internet Linux-based graphical interface (GUI) used as a control panel to simplify server and website administration. cPanel permits you to publish sites, manage domain names, arrange web documents, create email accounts, and much more.

Lets get started with installation

Remove Network Manager

yum remove NetworkManager

As cpanel uses its own module for managing IP’s so installation will give error if NetworkManager is installed or activate. We can also disable it but removing is best

Set proper Hostname

hostnamectl set-hostname YOURHOSTNAME

You have to replace YOURHOSTNAME with your desired hostnname as per FQDN guideline

Install cPanel

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

Must Read

Routing Domain Name in Haproxy

I hope you are following the below guide. Now suppose you want to route domain name to open specific backend that have...

Enable Logging in Haproxy

HAProxy can emit log message for processing by a syslog server. This is compatible with familiar syslog tools like Rsyslog, as well...

Getting real IP in Nginx when behind cloudflare Haproxy

Create a file named cloudflare_ips.ls and in that add all the cloudflare IP's vi /etc/haproxy/cloudflare_ips.ls 173.245.48.0/20 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 141.101.64.0/18 108.162.192.0/18 190.93.240.0/20 188.114.96.0/20 197.234.240.0/22 198.41.128.0/17 162.158.0.0/15 104.16.0.0/12 172.64.0.0/13 131.0.72.0/22 2400:cb00::/32 2606:4700::/32 2803:f800::/32 2405:b500::/32 2405:8100::/32 2a06:98c0::/29 2c0f:f248::/32

Getting Real IP in HaproxyNginx configuration

Well its a little configuration can get real to nginx when haproxy is set as reverse proxy. Follow this...

Haproxy as Single Point to Failure Node With Glusterfs and MariaDB Maxscale Cluster

HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It...