Install Cpanel Centos Free

Posted on

Hi everyone, I’m Harry, and today I will be with you about how to install cPanel on CentOS 7.

  1. Centos Install Git
  2. Install Cpanel Centos 7 Free
  3. Cpanel Free
  4. Aliyun Centos Cpanel
  5. Centos 8 And Cpanel

In this video how to install cpanel on centos is provided. The complete installation of centos is provided in this video. It also shows how to configure fu.

What is cPanel?

cPanel, as its name implies, is a web control panel. Cpanel provides you with the ability to manage Linux based hosts. This control panel provides users with a wide range of features and as a result, it has formed to the greatest hosting control panel.
Users can create and manage their email addresses in cPanel, as well as control domains, databases, various versions of PHP, and almost all aspects of a web server.

As a result, this powerful control panel makes it possible to manage all of your hosting services in one place. cPanel was developed by a company of the same name and in the Perl programming language.
cPanel is a great, customizable control panel, which has done well over time and has a professional and active team behind it, which is a great help to cPanel users.

The cPanel’s reputation, popularity, and widespread use are due to its simple and understandable user interface so that everyone learns only once as a result.

Why CentOS7?

As you may know, CentOS 8 is released but there are some problems with installing cPanel, At the moment that I write this post, CentOS 7 is the most reliable and most compatible operating system to install cPanel. Here we provide cPanel/WHM VPS with CentOS with a reasonable price trial/licensed.

Minimum Resource Requirement To Install cPanel

  • a Linux VPS with Centos 7 operating system
  • 1 GB RAM
  • 1 core CPU 1.1 GHz
  • 20 GB Storage
  • Static IPv4

Connect To Putty.

You can use the topic about how to connect to putty for more details.

Pre-requirements Of cPanel Installation

Note: Before installing, I should mention that once you copied the commands, you can paste them by right-click inside SSH connection (Putty).

1- Update Centos 7

Use this command to update the server before installing cPanel:

You will be asked yes or not that you should type y and press enter to proceed with the update.

2- Installing Perl

Perl is the language that cPanel has been written with.
Run the following command to make sure that Perl is installed on the server.

3- Installing Curl

The Curl is required to download the Cpanel installation script, the Curl can be installed by the following command:

4- Add Hostname

Cpanel requests for a hostname which should be in (FQDN) Fully Qualified Domain Name format. For example, in this topic, we will use myeserver.mydomain.com and instead of this, you should put your own hostname.
Here is the command to set it:

5- Disabling Network Manager Service

Network Manager service is used to connect computers with each other, cPanel asks to remove this service or also we can disable it when installing cPanel.

Remember to enable this service once the installation was completed with the below commands.

6- Installing cPanel With trial License

You can use this code to install cPanel.

Based on the resources of your server, the installation may take about an hour to 2 hours.

Once the installation was completed you will face the login URL to login into WHM / Cpanel.

URL to login to the admin panel of cPanel: https://serverIP:2087 ( Consider that instead of server IP you should put your server’s IP which is this for me: https://48.68.149.135:2087 )

Username to log in to the admin panel of cPanel: It is the root or the username that you use instead of root.

The password to login to the admin panel of cPanel: It is the password of your server.

Purchase, Verify And, Update The cPanel License

  • Purchase cPanel License.

You can order for a cPanel license through the licenses page of our website.

  • Verify the cPanel License.

If you wish to verify that your license has been activated successfully or not, you can use the cPanel verify system.

  • Update cPanel License.

Once you ordered a license, you should run this command inside your server and as a result, the license will be updated.

FAQ

  • Is cPanel free?

It has a free trial for 15 days but after that, you should order for a license.

  • How long does cPanel take to install?

It is related to the resources of your server. In VPS servers it takes about 1 to 2 hours but in a dedicated server, it takes about 15 minutes.

  • How do I know if cPanel is installed?

it can be checked through this command: usr/ local/cPanel/cPanel-V

  • How do I access the web panel in CentOS?

The default link and port to log in to cPanel are like this: https://hostname or server IP:2087 Instead of hostname or server IP you should put yours.

  • Who uses cPanel?

cPanel is the world’s most popular web hosting control panel and most of the hosting companies use it and also everybody can use it on a server or shared hosting.

  • How do I change the hostname in CentOS?

In WHM panel there is a section by the name change hostname to change the hostname.

  • Do I need cPanel for WordPress?

In order to use WordPress, you don’t have to run it on Cpanel and it can run on any web-server.

  • How do I find my hostname in CentOS?

In your Linux server type hostname and press enter then you will see your hostname.

Be free to share your opinions and questions with us in the comments section!

Be always victorious and successful.

Comments

comments

Are you looking for one of the best open-source Web Control Panel to manage websites or providing a hosting like Cpanel? If, yes, then here is the WHM alternative called CentOS Web Panel. In this tutorial, we will learn the process of its installation and setting up of Cpanel accounts.

The first thing most people look for before purchasing a hosting plan is the availability of WHM’s Cpanel. However, those are thinking to buy VPS (virtual private server) hosting or Cloud server plan such as Amazon light sail, AWS, Digital Ocean, Google Cloud, etc. and want to save few bucks over Web CPanel they can go for CentOS Web Panel. It is not only free but also has the pro version with some extra features available only at 1$ per month (billed annually). Well, from my side free version is enough and comes with all essential features from Database Management, DNS, PHP, Webserver to Firewall.

Unfortunately, just like WHM it also supports only CentOS or similar RPM-based Linux operating systems such as Redhat. So, if you an Ubuntu lover then the CentOS web panel is not for you. However, it doesn’t matter much which Linux is running in the background when you have a graphical user interface to operate and manage everything.

Contents

  • Steps to install CentOS Web Panel on CentOS 7 or 8

Steps to install CentOS Web Panel on CentOS 7 or 8

I don’t know which VPS hosting or cloud server you are going to opt for configuring CentOS web Panel but that doesn’t matter. Because the process of installation is the same even for your local machine running on RHEL or CentOS Linux.

Software Requirements

  • Clean Minimal setup of CentOS 6, RedHat 6, CloudLinux 6 or CentOS 7.

Hardware Requirements

  • The VPS or Cloud server instance should be running on 512 MB RAM for 32 bit Linux operating system.
  • Whereas those have the 64bit operating which is common on all VPS or other servers 1GB and for full functionality and performance at least 4G+ RAM.
  • At least a free HDD space of 10 GB.

We are installing it on Oracle Cloud Linux, however, we recommend Amazon Light sail those wanted a fixed monthly cloud plan. And in popular VPS Godaddy, A2Hosting and few others, one can think about. Well, here we are selling hosting plans just to give an idea I said those things. The focus of this tutorial is to set up your own Web control panel to even sell hosting services to other users around the world.

Note: After just like Cpanel after installing it you can’t uninstall this web panel from your Linux operating system.

Pre-requisites:

  • Linux server
  • sudo or root user access
  • Of course an internet connection

CentOS web panel Demo links:

Copy and paste them in your browser to check out the live interface of this open-source project.

http://demo1.control-webpanel.com:2030
http://demo2.control-webpanel.com:2030
http://demo3.control-webpanel.com:2030

Username: root
Password: admin123

http://demo1.control-webpanel.com:2082
http://demo2.control-webpanel.com:2082
http://demo3.control-webpanel.com:2082

Username: testacc
Password: admin123

1. Update CentOS or Linux VM

The first thing we need to make sure after creating the minimal Linux Virtual Machine instance everything on it should be up to date. For that run the update command that is:

2. Download CWP installation script

As we know CentOS 6 Life cycle is about to end on November 30, 2020, thus we recommend CentOS 7 for the Web Panel setup. However, we let you know the process for both the versions and it’s your choice at the end of the day to go with which one.

Log in as the root user or just emulate your current one:

Switch to tmp directory

For CentOS 6

For CentOS 7

For CentOS 8:

3. Run the CentOS web panel script

Once you have the installer script, you just need to run it. After that everything will be automated, the setup will take a few minutes as per your server resources.

On CentOS 6 version

Free

CentOS 7 version:

CentOS 8 version:

Once the installation is done restart the server:

4. Open ports for WebPanel

The CWP uses two ports, 2030 for HTTP protocol and 2031 to access the panel on secure SSL or https. If you are using VPS hosting then both the ports will automatically get opened. However, on the cloud server instance, you need to do it manually. Thus, access the Instance’s networking or Virtual Network Interface section and allow these ports;

Centos Install Git

  • 2030 (http) and 2031 (https) for CWP panel
  • 2082 (http) & 2083 (https) for user end control panel.

5. Login to CWP

To access the backend panel of CWP, open your system browser and type the public Ip address of your VPS server or Cloud instance along with the port number 2030 or 2031.

http://server-ipaddress:2030

https://server-ipaddress:2031

Install Cpanel Centos 7 Free

You will see the login screen, enter the usernameroot and passwordyour server root user password. In case, you don’t know your server root user password then on the command terminal simply set a new password for that using the below command:

6. Install Web Server

It is the best part of the CWP because it provides a preset configuration of web server along with a different set of environments such as

  • Apache alone
  • Nginx Only
  • LiteSpeed Enterprise (Free for 30 days)
  • Nginx & Varnish
  • Nginx & Varnish & Apache with PHP-FPM

Cpanel Free

Go to WebServer Settings option given on the left menu panel and Select Web server. You can choose any of them, however here we are selecting Nginx as a proxy, Varnish as Cache, and Apache as webserver to process and server the files.

Aliyun Centos Cpanel

Once that is done, the webserver will be live on your CentOS web panel. In case you get an error “Nginx service failed to assign 80” which means Nginx couldn’t get started because it couldn’t bind the host IP address to port 80. Then do one thing, go and select Nginx only webserver configuration and Save & Rebuild configuration button of the webserver again. Now, it will be able to assign the port 80 and after that again select the Ngnix+Aapache+Varnish web server environment.

7. Create CentOS Control Web Panel

From the left panel of the CWP select User AccountNew Account

  • Domain name: The Domain for which the Control Panel is going to be used.
  • Username: The username you want to use with CPanel
  • Password: password for the above username
  • Admin Email: Enter the email address you want to use with Cpanel for Admin notifications.
  • Package: Default
  • Additional Options: Check Auto SSL option

Leave the rest of the settings as it is.

Finally, Click on the Create button.

Centos 8 And Cpanel

8. Install Softaculous

One thing you will really miss is the software center on CPanel to install various PHP and other web applications with just one click. However, Softaculous is a free application thus available for CWP as well. To install and enable this just go to Script Manager and click on the
Install Softaculous (Script Installer).

9. Login to Control WebPanel

So, the all above was about the CWP which we can consider as an alternative to WHM. Now for WHM’s CPanel which we commonly use on hosting services, the Control WebPanel is there. To get login into that, again in a browser:

https://server-ipaddress:2083

or

http://server-ipaddress:2082

10. Install WordPress

On CWP CPanel Dashboard scroll down and select WordPress Add-on. After that select the domain and add other information to install it.

So, in this way, we can use the open-source CentOS web Panel to WHM/Cpanel without paying anything. However, I do recommend to buy the 1$ plan or just donate some amount to help the project live and go on.