Control Panel - How to Setup cPanel WHM on a VPS / Dedicated Server | Vevioz Community

Control Panel How to Setup cPanel WHM on a VPS / Dedicated Server

DevOps

Linux Systems Engineer
Joined
Oct 18, 2019
Messages
166
Reaction score
14
Points
18
Location
Indonesia
Website
addons.vevioz.com
Offline
cPanel is popular Linux-based web hosting control panel. It provides a graphical user interface to easily manage and host multiple websites on a single Virtual Private Server (VPS) or dedicated server. You can perform anumber of tasks (uploading files, creating emails, setting cron jobs, handling databases, etc.) using this tool.

cPanel provides a user-level access interface where users can manage their web hosting. WHM (Web Host Manager) provides a root and reseller level access interface where users can manage settings related to server administration and account management.

Prerequisites:
- You’ve acquired a VPS solution.

- Minimum 1 GB RAM (2 GB Recommended)

- Minimum 20 GB Disk Space (40 GB Recommended)

- You’ve installed an SSH client (PuTTy is our terminal of choice).

Step 1: Log on to VPS server.
First, you need to log on to your VPS.

Step 2: Install Perl.
Install Perl by entering the following command:
Code:
yum –y install perl

Step 3: Download and Install WHM.

Download and run the following WHM installation script:

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

howtosetupcPanelWHM-Image2EDIT.jpg


Once the installation script is finished, you will see the following script:

howtosetupcPanelWHM-Image3EDIT.jpg


Step 4: Setting up WHM.

Using your web browser, go to "https://your-server-ip:2087" to access WHM.

IMPORTANT TIP: Make sure you are using "https" to access WHM in your web browser!

When you see the following screen, login with username "root" and your root password.

howtosetupcPanelWHM-Image4.jpg


Read and accept the license agreement on the following screen.

howtosetupcPanelWHM-Image5EDIT.jpg


Enter your contact information and valid email address.

howtosetupcPanelWHM-Image6.jpg


Scroll down, specify DNS resolvers and network device (Ethernet port), then proceed to the next step.

howtosetupcPanelWHM-Image8EDIT.jpg


Here, you can add additional IP addresses (if you have them, or you can skip this):

howtosetupcPanelWHM-Image9.png


Now, you need to choose your nameserver configuration from 4 options. BIND is recommended. If you don't want to run a DNS server on your local machine, you can choose the "Disabled" option.

howtosetupcPanelWHM-Image10.jpg


Enter nameservers, for example "ns1.mydomain.com" and ns2.mydomain.com," then add A Entries for your hostname.

howtosetupcPanelWHM-Image11.jpg


Now, you can configure your FTP server. PURE-FTPD is recommended.

howtosetupcPanelWHM-Image12.jpg


Enable cPHulk with standard settings, then proceed to the next step.

howtosetupcPanelWHM-Image13.jpg


Next, you are asked if you want to use file system quotas. The recommended option is "Use file system quotas." Click on "Finish Setup Wizard."

howtosetupcPanelWHM-Image14.jpg


Now, you will see a list of some new features.

howtosetupcPanelWHM-Image15.jpg


Enable or disable features, and click on "Save Settings."

howtosetupcPanelWHM-Image16.jpg


You will now see the WHM homepage:

howtosetupcPanelWHM-Image17.jpg


Step 5: Create a New Account and cPanel.
To see the cPanel interface, you will need to create a new account. Navigate to "Home > Account Functions > Create a New Account."

Enter your domain, username, password, and email. You can leave other items defaulted.

howtosetupcPanelWHM-Image18.jpg


To access cPanel, go to "https://your-server-ip:2083" in your web browser and enter your login and password.

howtosetupcPanelWHM-Image19.jpg


After authorization, you should see the following cPanel screen, from which you can manage your site settings:

howtosetupcPanelWHM-Image20.jpg


Congratulations! :love::LOL::ROFLMAO: That’s it! You now know how to set up cPanel WHM on your VPS or Dedicated Server! :)
 
Top Bottom