cPanel is an online Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a three-tier structure that provides capabilities for administrators, resellers, and end-user website owners to control the various aspects of website and server administration through a standard web browser.
In this article I will describe how to install and configure Cpanal/WHM in your Azure environment. I will use Centos 7.4 server to host CPanal/WHM
Before we proceed to the installation section, you must note these to important points:
set added hostname in to Centos server
hostnamectl set-hostname webxxxxxx.westus2.cloudapp.azure.com
In this article I will describe how to install and configure Cpanal/WHM in your Azure environment. I will use Centos 7.4 server to host CPanal/WHM
Installation Requirements
- Create Azure VM with standard D2s V3 (2 vcpu , 8 GB memory)
- Azure public IP
- A clean fresh minimal installation of CentOS 7.4 server.
- DNS name setup for Azure VM
Before we proceed to the installation section, you must note these to important points:
- Once you have installed cPanel/WHM, it can’t be removed from your system. You will have to reinstall your the operating system to remove it.
- cPanel is commercial software and requires a licence to work, however, there is a 15 day trial (which is automatically activated once you install cPanel), you can install your software using the trial then purchase the software later.
Azure VM installed CentOS 7.4 |
configure public IP address for the Azure VM |
set added hostname in to Centos server
hostnamectl set-hostname webxxxxxx.westus2.cloudapp.azure.com
to set the hostname in azure VM you should reset root
password first
passwd root
>> enter new root password
yum install perl
yum install curl
# curl -o latest -L https://securedownloads.cpanel.net/latest
To run cpanal installation you should disable Network
Manager
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
Change to the /etc/sysconfig/network-scripts directory.
Open the ifcfg-eth0 and ifcfg-lo files with your preferred text editor and, if they exist, set the following keys' values:
NM_CONTROLLED=no
ONBOOT=yes
Now restart the network
systemctl restart Network.service
run the cpanal installation
sh latest
Installation Start |
Before you configure your server, ensure that your firewall
allows access on port 2087.
After ensuring that your firewall allows access on port
2087, you can configure your server.
Add firewall rules in Azure Application Security Group |
login using root credentials |
Finally you can see CPanal dashboard |
You are my inhalation , I own few blogs and rarely run out from to post : (. top web design companies
ReplyDeleteI am really loving the theme/design of your web site. Do you ever run into any browser compatibility problems? A few of my blog readers have complained about my website not working correctly in Explorer but looks great in Chrome. Do you have any tips to help fix this issue? web designer
ReplyDeleteWhat i don’t realize is in fact how you’re no longer actually much more smartly-liked than you may be right now. You are very intelligent. You understand thus significantly on the subject of this matter, produced me for my part imagine it from so many various angles. Its like men and women are not involved unless it is something to do with Lady gaga! Your personal stuffs nice. Always maintain it up! design
ReplyDeleteGreat article. I appreciate your attention to this subject and I learned a lot mobile phone mockup
ReplyDeleteAfter study a few of the blog posts on your website now, and I truly like your way of blogging. I bookmarked it to my bookmark website list and will be checking back soon. Pls check out my web site as well and let me know what you think. macbook template
ReplyDeleteKeep up the fantastic piece of work, I read few posts on this internet site and I think that your web blog is really interesting and contains lots of superb information. webflow developers
ReplyDeleteI like this website very much so much fantastic information. webflow agency
ReplyDeleteThanks for all your valuable labor on this website. Gloria delights in getting into investigations and it’s obvious why. Most people hear all concerning the dynamic method you present powerful guidelines on this website and as well boost response from other individuals on the subject matter so our own daughter is truly studying a lot of things. Take pleasure in the remaining portion of the new year. You’re the one carrying out a splendid job. top web development companies
ReplyDeleteGlad to be one of the visitors on this awe inspiring web site : D. app store mock up
ReplyDeleteInteresting post , I am going to spend more time learning about this subject apple watch mockup free
ReplyDeleteThis article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. top ui firms
ReplyDeleteA gainful web have is for the most part the best web facilitating item for your necessities.https://onohosting.com/
ReplyDelete"Installing, configuring, and managing cPanel and WHM is an incredibly straightforward process. The user interface is intuitive and user-friendly, Tech Info which makes it easy to manage your hosting environment. The documentation is also incredibly helpful, making it easy to get started and keep your hosting environment running smoothly."
ReplyDeleteThanks for sharing this wonderful information.
ReplyDelete
ReplyDeleteInteresting post , I am going to spend more time learning about this subject.https://www.masterbuildinginspectors.com.au/
https://printnbox.com/products/custom-donut-boxes/
ReplyDeletethank for sharing