Create a new CentOS 7 instance on your google cloud engine. From the cPanel & WHM System Requirements, We know that CentOS 7 will require at least 1GB of RAM and a minimum of 20GB disk space. You can create multiple disks for your VM instance during the creation process. You can also add more disks to the instance after it is created. See Google Cloud Knowledge Base for more information about to create Instance

== How to Install cPanel on Google cloud Engine ==
– Go to the VM instances page

– Select your project and click Continue

– Click the Create instance button

– Specify a Name for your instance

– Select a Machine type for your instance resource size

– In the Boot disk section, click Change to configure your boot disk

Create a boot disk no larger than 2 TB to account for the limitations of MBR partitions

Before you continue, be sure to check the boxes under
**Firewall to allow HTTP and HTTPS traffic** as this will be necessary for accessing the cPanel and WHM interfaces

Check with cPanel default ports which you required to enable in the firewall
– To permit HTTP or HTTPS traffic to the VM instance, select Allow HTTP traffic or Allow HTTPS traffic

Note: Google Compute Engine does not allow outbound connections on port 25. By default, outbound SMTP is blocked because of the large amount of abuse server-to-server SMTP is susceptible to. In addition, having a trusted third-party provider such as SendGrid, Mailgun, or Mailjet relieves Compute Engine and you from maintaining IP reputation with your receivers. Refer httpscloud.google.com/compute/docs/tutorials/sending-mail/ for more information

– Click Create Instance

Once the server is ready, log in the SSH, perform a few updates and installs to get started:
**Disable Network Manager**
The default Network Manager rules configured by Google aren’t compatible with cPanel. To ensure that you don’t encounter any errors during cPanel installation, consider disabling Network Manager by executing below command as root:
sudo systemctl stop NetworkManager.service sudo systemctl disable NetworkManager.service
 cPanel Installation 
yum update -y yum install -y perl yum install -y wget
You will need to make sure that your server is using a
**fully qualified domain** name as your hostname

You can now run the installation script as shown in our installation guide

cd /home && curl -o latest -L httpssecuredownloads.cpanel.net/latest &&latest
Once you execute the install script, let the installer run its course. After the installation has completed, you should see instructions for accessing your WHM services

2018-05-21 23:12:15 1146 ( INFO): Congratulations! Your installation of cPanel & WHM 11.68 is now complete. The next step is to configure your server. 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): Before you configure your server, ensure that your firewall allows access on port 2087. 2018-05-21 23:12:15 1146 ( INFO): On RHEL, CentOS, and CloudLinux systems, execute /scripts/configure_firewall_for_cpanel to accomplish this. 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): After ensuring that your firewall allows access on port 2087, you can configure your server. 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): 1. Open your preferred browser 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): 2. Type httpsXX.XXX.XX.XX:2087 in the address bar 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): 3. Enter the word root in the Username text box 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): 4. Enter your root password in the Password text box 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): 5. Click the Login button 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): Visit httpsgo.cpanel.net/whminit for more information about first-time configuration of your server. 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): Visit httpsupport.cpanel.net or httpsgo.cpanel.net/whmfaq for additional support 2018-05-21 23:12:15 1146 ( INFO): 2018-05-21 23:12:15 1146 ( INFO): Thank you for installing cPanel & WHM 11.68!
Before you are able to access WHM, you will need to update the root password

# passwd
You will need to make sure the firewall ports which enabled on your local VM instance for cPanel & WHM

To enable all the required ports in your cPanel server, execute this command to open the ports automatically using cPanel’s firewall configuration script:
/scripts/configure_firewall_for_cpanel
After executing the script, try to access
**httpsyourserverip:2087** and connect it through the root authentication

 Get Free cPanel Knowledge Base 
Thank you for subscribing