5/5 - (1 vote)

install cPanel & WHM on Ubuntu server is very easy, you need a switch to root user and run the following command to install Cpanel in ubuntu

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

Hardware requirements

  • Operating system and version- Ubuntu 20.04 LTS
  • Processor– Minimum: 1.1 GHz and Recommended: 2 GHz
  • RAM –  Minimum: 1 GB
  • Recommended: 4 GB
  • Disk Space– Minimum: 20 GB
  • Recommended: 40 GB
  • Architecture– 64-bit
  • Static Ip-address
  • FQDN

Networking requirements

Hostname

Your hostname must meet the following requirements:

  • Registered and fully-qualified domain name.
  • Does not match any of your server’s domains.
  • Maximum of 60 characters in length.
  • Resolves to a valid IPv4 or IPv6 address.

Firewalls

Important: to install cpanel you just need to disable the firewall. Ubuntu distributions allow you to disable the firewall for the operating system’s installation configuration. We strongly recommend that you use this method.

To deactivate firewalls on Ubuntu, run the following commands to deactivate the firewall, where ~/firewall.rules represents the firewall rules file:

Run: 
iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.service

Warning:

cPanel & WHM version 98 for Ubuntu 20.04 LTS is experimental software and not recommend for production environments.

For more information, read the cPanel & WHM version 98 for Ubuntu 20.04 LTS documentation.

Conclusion

In this article, You learned how to install cpanel and whm on ubuntu server and fix common issues while installation of cpanel in linux ubuntu.

Installation of imagemagick on cPanel

About the Author

Shahid Malla

Shahid Malla is an accomplished system admin and web developer, renowned for his expertise in various fields. With a strong background in WHMCS development, WordPress development, and PHP development, Shahid has honed his skills over the years to deliver exceptional results. As a top-rated freelancer, he has consistently garnered praise and recognition, earning a stellar 5-star rating from a pool of 500 reviews. Shahid's proficiency extends beyond coding and development, encompassing server configuration, server management, and web security. With his extensive knowledge and dedication to delivering high-quality solutions, Shahid Malla is your go-to professional for all your technical needs.

View All Articles