https://poweruphosting.com/blog/how-to-install-cpanel-on-centos/
Introduction
cPanel is the most widely-used control panel for website hosting today. It is the most popular and most widely used control panel for its ease of use, powerful features, and availability for all types of hosting.
Today we will learn how to install cPanel on CentOS 7 on a brand new server that you have got with Power Up Hosting.
Click Here: For complete cPanel tutorial guide
Quick Tip: You can run this installation on a Bare Metal Dedicated Server or a Virtual Private Server, and even on a Cloud Instance or Container such as Docker!
Lets begin:
cPanel is programmed in Perl language. Hence, we need to install Perl before the cPanel installation if it isn't installed on the server before.
yum install -y perl
yum install y perl
Once the installation has been completed, you will notice something like in the screen below:
yum installation complete
So when your Perl is established, the next step is to check the correct hostname set for your server. You can check for the valid hostname by the below command.
hostname
cpanel hostname
Once you run the hostname command, you will see the hostname of your server showing up
hostname cpanel results
If you are not sure for the hostname or if you lack the hostname you can use a temporary hostname. Once cPanel is installed, you can afterward modify your hostname to the correct one.
hostname server.example.com
Installation of cPanel
cPanel Installation is a lengthy process does take a long time. Although using program "screen" is not necessary to install cPanel, it can be a very helpful addition to the installation process. It can be especially useful if you know that you may have issues with intermittent internet, or you simply don't want to sit there waiting for it to finish.
So, first you will need to install the screen to start the cPanel Installation, the screen will help us keep our process going, even if we lose the connectivity to the server.
To install screen and wget run the following command:
yum install wget screen -y
yum install wget screen -y
Once screen is installed, you see the installation screen like this:
yum install wget screen -y complete
start a new session running:
clear
We will give the name to our screen as cPanel Installation.
So you can use the command as
screen -S cPanel Installation
screen -S cPanel Installation
So Now your screen is installed, we are ready to start with our cPanel Installation.
Install cPanel/WHM with the command
wget -N http://httpupdate.cPanel.net/latest
wget cpanel latest installation
Install the DNS only version of cPanel with the command
wget -N http://httpupdate.cPanel.net/latest-dnsonly
Now you have downloaded your requested packages we are ready to start the cPanel Installation script running.
sh latest
The above command will start executing the cPanel Installation.
Remember it is time to get out of the screen as we began the installation in the background. The script will take one or two hours so we can detach our screen.
You can detach the screen with the command.
control-a-d
You can detach the screen with the command.
screen -r
So you can re-attach the screen with the above command, and you can check for the completion of the cPanel Installation.
Once your cPanel Installation is complete, you can access and complete the Initial setup.
You can access the cPanel or login by going to your IP address:2087 (e.g.,. 12.34.45.78:2087l) or domain (example.com:2087)
Your login will be:
username: yourserveruser
password: your_password
Quick Tip: If you logged into your server as the user "root" then your username for WHM will also be root, and the password will be your root password. Keep this information safe as it gives full access to all of the cPanel on your server.
That concludes our installation of cPanel, look out for our new Guide on configuring cPanel from scratch and quick optimization tweaks for your new cPanel server.
..if you like the article then do share it on social media and if you have any questions then leave a comment below and I will be happy to help..
______________________________________
cPanel is your website's control panel, and allows you to do tasks such as edit files, create email addresses, and setup databases. The cPanel accounts themselves are managed by Web Host Manager, commonly referred to as WHM. WHM access is not available in Shared cPanel Hosting, however if you have VPS Hosting or a Dedicated Server through InMotion Hosting, you have WHM access. Reseller accounts have a limited form of WHM as well. If you missed our previous article, please see the What is VPS Hosting? tutorial.
http://www.inmotionhosting.com/support/website/cpanel-vs-whm
_______________________________________
MORE INFO:
https://hostpresto.com/community/tutorials/how-to-install-cpanel-whm-centos-7/
Introduction
cPanel is the most widely-used control panel for website hosting today. It is the most popular and most widely used control panel for its ease of use, powerful features, and availability for all types of hosting.
Today we will learn how to install cPanel on CentOS 7 on a brand new server that you have got with Power Up Hosting.
Click Here: For complete cPanel tutorial guide
Quick Tip: You can run this installation on a Bare Metal Dedicated Server or a Virtual Private Server, and even on a Cloud Instance or Container such as Docker!
Lets begin:
cPanel is programmed in Perl language. Hence, we need to install Perl before the cPanel installation if it isn't installed on the server before.
yum install -y perl
yum install y perl
Once the installation has been completed, you will notice something like in the screen below:
yum installation complete
So when your Perl is established, the next step is to check the correct hostname set for your server. You can check for the valid hostname by the below command.
hostname
cpanel hostname
Once you run the hostname command, you will see the hostname of your server showing up
hostname cpanel results
If you are not sure for the hostname or if you lack the hostname you can use a temporary hostname. Once cPanel is installed, you can afterward modify your hostname to the correct one.
hostname server.example.com
Installation of cPanel
cPanel Installation is a lengthy process does take a long time. Although using program "screen" is not necessary to install cPanel, it can be a very helpful addition to the installation process. It can be especially useful if you know that you may have issues with intermittent internet, or you simply don't want to sit there waiting for it to finish.
So, first you will need to install the screen to start the cPanel Installation, the screen will help us keep our process going, even if we lose the connectivity to the server.
To install screen and wget run the following command:
yum install wget screen -y
yum install wget screen -y
Once screen is installed, you see the installation screen like this:
yum install wget screen -y complete
start a new session running:
clear
We will give the name to our screen as cPanel Installation.
So you can use the command as
screen -S cPanel Installation
screen -S cPanel Installation
So Now your screen is installed, we are ready to start with our cPanel Installation.
Install cPanel/WHM with the command
wget -N http://httpupdate.cPanel.net/latest
wget cpanel latest installation
Install the DNS only version of cPanel with the command
wget -N http://httpupdate.cPanel.net/latest-dnsonly
Now you have downloaded your requested packages we are ready to start the cPanel Installation script running.
sh latest
The above command will start executing the cPanel Installation.
Remember it is time to get out of the screen as we began the installation in the background. The script will take one or two hours so we can detach our screen.
You can detach the screen with the command.
control-a-d
You can detach the screen with the command.
screen -r
So you can re-attach the screen with the above command, and you can check for the completion of the cPanel Installation.
Once your cPanel Installation is complete, you can access and complete the Initial setup.
You can access the cPanel or login by going to your IP address:2087 (e.g.,. 12.34.45.78:2087l) or domain (example.com:2087)
Your login will be:
username: yourserveruser
password: your_password
Quick Tip: If you logged into your server as the user "root" then your username for WHM will also be root, and the password will be your root password. Keep this information safe as it gives full access to all of the cPanel on your server.
That concludes our installation of cPanel, look out for our new Guide on configuring cPanel from scratch and quick optimization tweaks for your new cPanel server.
..if you like the article then do share it on social media and if you have any questions then leave a comment below and I will be happy to help..
______________________________________
cPanel is your website's control panel, and allows you to do tasks such as edit files, create email addresses, and setup databases. The cPanel accounts themselves are managed by Web Host Manager, commonly referred to as WHM. WHM access is not available in Shared cPanel Hosting, however if you have VPS Hosting or a Dedicated Server through InMotion Hosting, you have WHM access. Reseller accounts have a limited form of WHM as well. If you missed our previous article, please see the What is VPS Hosting? tutorial.
http://www.inmotionhosting.com/support/website/cpanel-vs-whm
_______________________________________
MORE INFO:
https://hostpresto.com/community/tutorials/how-to-install-cpanel-whm-centos-7/