(සචියාගේ ටෙක් බොලොගය)

Breaking

Welcome to Sachin's technology blog site.

Tuesday, September 11, 2018

Install Configure cPanel and WHM in Azure

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

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

15 comments:

  1. You are my inhalation , I own few blogs and rarely run out from to post : (. top web design companies

    ReplyDelete
  2. I 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

    ReplyDelete
  3. What 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

    ReplyDelete
  4. Great article. I appreciate your attention to this subject and I learned a lot mobile phone mockup

    ReplyDelete
  5. After 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

    ReplyDelete
  6. Keep 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

    ReplyDelete
  7. I like this website very much so much fantastic information. webflow agency

    ReplyDelete
  8. Thanks 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

    ReplyDelete
  9. Glad to be one of the visitors on this awe inspiring web site : D. app store mock up

    ReplyDelete
  10. Interesting post , I am going to spend more time learning about this subject apple watch mockup free

    ReplyDelete
  11. This 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

    ReplyDelete
  12. A gainful web have is for the most part the best web facilitating item for your necessities.https://onohosting.com/

    ReplyDelete
  13. "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."

    ReplyDelete
  14. Thanks for sharing this wonderful information.

    ReplyDelete

  15. Interesting post , I am going to spend more time learning about this subject.https://www.masterbuildinginspectors.com.au/

    ReplyDelete