How to Install cpanel on google cloud
- 15 Mar, 2018
- Technology
Install
CPanel Setup/Installation on Google Cloud
1. Login
2. Click "Compute Engine" in
3. Click on "VM Instances"
4. Click on "Create" to create to create New Instance
5. Enter Name of New Instance under "Name" heading
6. Select zone of Instance under "Zone" heading i.e. location which you want to select for
7. Select Machine Hardware Configuration under "Machine Type" heading
a) Select list for Basic view
b) Select Customize to configure CPU and RAM for machine manually
8. Under "Boot disk" heading select "operating system/OS" for machine
For CPanel installation use CentOS 7
a) Select "Boot Disk type" and Size of Boot Disk
9. Under "Firewall" heading select "HTTP traffic" and "HTTPs traffic" both
10. Click on "Create" to create your first instance
11. Under "Connect" Column double click on "SSH"
12. To install
13. run yum update for
14. run yum install
15. run yum install
16. Set Hostname
17. run below command for
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
for
If you face difficulty in typing command then search google for "
Follow below Instructions if you face issue "
Again run
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
18. Change password for root access by typing command
19. Port configuration for WHM and CPanel
WHM Panel ports - 2086, 2087
CPanel ports - 2082, 2083
20. Create a "Firewall Rule" for port opening (step 19 ports)
a) Search firewall in
b) Click on "Create Firewall Rule"
c) Enter Name of Firewall Rule as "CPanel"
d) Enter any description
e) Under "Target" heading select "All Instances in the network"
f) Under "IP Source Range" enter 0.0.0.0/0
g) Under specific protocols and ports enter port "
h) Click on "create" to create
repeat step no 20 for port "
a) Click on "Create Firewall Rule"
b) Enter Name of Firewall Rule as "CPanel"
c) Enter any description
d) Under "Target" heading select "All Instances in the network"
e) Under "IP Source Range" enter 0.0.0.0/0
f) Under specific protocols and ports enter port "
g) Click on "create" to create
for WHM
a) Click on "Create Firewall Rule"
b) Enter Name of Firewall Rule as "CPanel"
c) Enter any description
d) Under "Target" heading select "All Instances in the network"
e) Under "IP Source Range" enter 0.0.0.0/0
f) Under specific protocols and ports enter port "
g) Click on "create" to create
for WHM
a) Click on "Create Firewall Rule"
b) Enter Name of Firewall Rule as "CPanel"
c) Enter any description
d) Under "Target" heading select "All Instances in the network"
e) Under "IP Source Range" enter 0.0.0.0/0
f) Under specific protocols and ports enter port "
g) Click on "create" to create
21. To access WHM panel copy
e.g. https://domainname:2087
22. Enter username as "root"
Password - Use
23. Click on "I
24. On "Contact Information" page mentioned your email id in "Server Contact Email Address"
25. Copy "Primary Resolver"
26. Click on "Save and Go to Step 3"
27. Click on "Save and Go to Step 4"
28. Go to Bottom of
29. Copy
30. Click on
31. Click on "Save and Go to Step 5"
32. Click on "Save and Go to Step 6"
33. Click on "Finish Setup Wizard"
34. Enable "PHP-FPM Service for CPanel"
Installation Complete