Install cPanel with Google Compute Engine
After you have created your Google Compute Engine account, you will be presented with a popup that will direct you to create your first VM instance.
Once your VM instance has been brought online, it will be added to your Compute Engine Console. Google includes browser-based SSH access, so for simplicity sake, we will use this option by simply clicking “SSH” next to our instance details under Connect
Once in the terminal, I was logged in as a non-root user. To change to root, use:
Now that you are root, perform a few minor updates and installs to get started:
yum update -y yum install -y perl yum install -y wget
You will need to sure that your server is using a fully qualified domain name as your hostname. To change your hostname, enter the following as root (please note, the below hostname is an example only):
You can now run the installation script as shown in our installation guide.
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh 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.
Before you are able to access WHM, you will need to update the root password. To do this, enter the below command as root:
This will not ask you for the old root password, rather, register a root password of your choosing.
After the password has been updated, you will need to configure the firewall for your VM instance by creating firewall exceptions for each port cPanel & WHM users. This can be done through the Google Compute Engine console.
If you are facing any problem please message and comment under this article