cPanel is a web hosting control panel software. It provides graphical interface and automation tools in simplifying the process of hosting a website. It can be used to manage websites, email accounts, databases, domains, and server settings. Because cPanel is designed to run on CentOS and RedHat Enterprise Linux (RHEL), we will be installing cPanel on Ubuntu using a virtual machine running CentOS. cPanel isn’t compatible with Windows servers.
Here are the steps to install cPanel on a Kamatera server with an Ubuntu operating system running CentOS.
First, let’s create an account on the Kamatera console.
Go to console.kamatera.com and sign up for an account by providing the following information:
- Verify Your Email: Click the verification link sent to your email by Kamatera.
- Password: Enter your password.
- Repeat Password: Re-enter your password and click Create Account.
Then, we’ll access the Kamatera management console.
Enter your username and password and click Login to access the console.
- Navigate to My Cloud on the left-hand side, select Servers and click on Create New Server.
- Choose Zone
Choose your geographic zone from the following:
- Asia
- North America
- Europe
- Middle East
Note: For this setup, we used the Asia server domain.
Kamatera offers a variety of app and server images to help you set up preconfigured resources. You can explore options such as:
- Server OS Images
- Desktop OS Images
- App Images
- Service Images
- My Private Images
For our purposes, select App Images and select cPanel.
- Choose the latest version of cPanel
- Toggle the Detailed view button to enable you to view the detailed description, including the price.
Now choose your server specs.
Field | Description |
Type | Type B-General Purpose– Server CPU are assigned to a dedicated physical CPU thread with reserved resources guaranteed.
Type D–Dedicated – –Server CPU are assigned to a dedicated physical CPU Core (2 threads) with reserved resources guaranteed. Type T – Burst – Server CPU are assigned to a dedicated physical CPU thread with reserved resources guaranteed. Exceeding an average usage of 10% will be extra charged for CPUs usage consumption. Type A-Availability- Server CPUs are assigned to a non-dedicated physical CPU thread with no resources guaranteed. Note: More information on CPU types is available on the My Cloud- Pricing page. |
CPU | Choose the number of vCPUs that will be installed on the server. Type B/T can be configured with up to 104 vCPUs per server, based on Intel’s latest Xeon Processors, 2.7 GHz+. |
RAM | Choose the amount of RAM that will be installed on the server. Type B/T/D can be configured with up to 512GB RAM per server. |
SSD DISK | Choose SSD Storage Size. You can add up to 15 SSD Disk. SSD Storage includes unlimited IOPS and unlimited storage bandwidth, free of charge. |
Daily Backup | Toggle the switch to enable extended daily backups of your server’s storage to external backup storage. |
Management Services | Toggle the switch to enable Management Services to the server’s operating system by Kamatera’s technical support team. |
- Choose Networking
Users can select the network they wish to use, whether it’s a public Internet network or a private local network.
Simple Mode
Field | Description |
Public Internet Network | Check to connect the server to a network interface connected to Public Internet Network. |
Private Local Network | Check to connect the server to a network interface connected to Private Local Network. |
Advanced Mode
Field | Description |
NIC #1 | Select “WAN” from the options available in the drop-down menu.
|
WAN Traffic | Select 5000 GB per month on 10 Gbit per second port. |
- Advanced Configuration
Hide – If the user wants to hide the advanced configuration.
Show – If you want to see the advanced configuration.
Field | Description |
Install Script | Enter the script here to execute once the server is created.
Note: For Windows systems use Power Shell. |
Keep Server On Failure | Do not terminate the server if Start up Script or Provisioning Fails |
Server Notes | Enter any server notes to be noted. |
Tags | Select the Tags from the drop-down menu and click Add. |
- Finalize Settings
Finalize settings by setting the password, re-validating it, selecting the number of servers, specifying the server name, and enabling the Power On Servers option.
Field | Description |
Password | Select password
Password allowed characters: a-z, A-Z,0-9 !@#$^&*()~ and must need the following requirements:
|
Validate | Re-enter the password to validate. |
Servers | Select the number of servers the user wants. |
Name # 1 | Enter the name of the server. |
Power On Servers | Switch on the toggle button to see the details |
Note: Once the user enters the details in Finalize Settings, they can select either the Monthly Billing Cycle or Hourly Billing, depending on their requirements.
- Billing Cycle and Pricing
The user can choose between the Monthly Billing Cycle and Hourly Billing Cycle.
Note: The Server Summary displays the location, operating system (including server specifications), add-on services, servers, and pricing.
Click Create Server.
- In Tasks Queue, you can see the cPanel server is downloading.
- The server will be created and will appear on the Server Management screen. Once the server is created, click Open to configure new settings.
- Click on Connect, and then click on Open Remote Console.
- A new tab opens connecting to the new server.
- It will display IP address.
Example: ***-***-**-** login: <enter your username>
Password: <enter your password>
Now run the below command to enable and start the Cockpit web-based server management interface on a Linux system.
Command: systemctl enable –now cockpit.socket
Note: Cockpit socket unit uses a socket-activated service. That means service starts only when a connection is made to the socket. The socket unit listens for incoming connections on the appropriate port (usually port 9090 for Cockpit).
- Open a web browser on local machine and enter the below URL to access the cockpit (usually port 9090 for Cockpit).
Note: Replace ‘your-server-ip’ with actual IP address of your server given on the screen.
- Now, click on Advanced to enter this port.
- Click on Proceed.
- Now, login with username and password same as your server credentials, and you can see the Cockpit dashboard.
- The below screen shows the Cockpit dashboard.
Note: If you are accessing cockpit for the first time, you might see a security warning regarding the SSL certificate. This is because Cockpit uses a default self-signed certificate. Proceed by accepting the risk and continue to site.
For a production environment, consider configuring your SSL certificate.
- Explore your new Cockpit dashboard. It provides an overview of your system, including CPU usage, memory usage and more.
Navigate to the left-hand menu to perform administrative tasks.
- Overview: View and monitor system metrics.
- Logs: Check system logs and diagnose issues.
- Networking: Configure network settings.
- Accounts: Manage user accounts.
- Services: Start, stop, and manage system services.
- Applications: It will show the applications that are installed.
- Diagnostic reports: SOS reporting collects system information to help with diagnosing problems. This information is stored only on the system.
- Kernel Dump: A kernel dump, often referred to as a crash dump, is a snapshot of a system’s memory at a specific point in time when the system encounters a critical error, typically a kernel panic or crash.
- SELinux: It is integrated into the Linux kernel that provides mechanisms for supporting access control security policies.
- Software updates: Shows any new software updates that are available.
- Terminal: Access a terminal to execute commands directly on the server.
Congratulations! You have successfully installed cPanel on your Kamatera cloud server.