Install cPanel on Google Cloud Part 2

[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”376″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

8.Disable Network Manager.
The Network Manager service automates the network’s settings. It also disrupts connections to the IP addresses that reside in the ipaliasesmodule. You must disable Network Manager to install cPanel & WHM.

To disable Network Manager, run the following command:

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]
[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”377″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

9.Run the cPanel & WHM installation script.
To install cPanel & WHM, run the following command:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
This will take a while. When you see a line that resembles Thank you for installing cPanel & WHM 11.78!, the server has installed cPanel & WHM.

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]
[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”378″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

10.Change the root password.
To change the root user’s password, perform the following steps:

Run the passwd command.

Enter a new password.

Enter the new password again.

A confirmation message will appear.

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]
[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”379″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

11.Create the hostname fix hook.
To configure VPS deployments, many cloud hosting providers use the dhclient script. This script includes the configuration of the instance’s hostname. But, the dhclient script may not preserve the locally-configured hostname. So, hosting providers use scripts to work around this issue. For example, Google Cloud Platform Services™ uses the google_set_hostname script.

The workaround scripts may interfere with WHM’s Change Hostname feature (WHM >> Home >> Networking Setup >> Change Hostname). These can cause hostname configuration issues and a

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]
[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”380″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

12.Configure a firewall.
To configure the firewall to allow cPanel & WHM traffic to pass through, perform the following steps:

Click the instance name. The instance’s profile interface will appear.

Under Network interfaces, click default. The VPC Network Detailsinterface will appear.

Click Firewall rules.

Click Add firewall rule. The Create a firewall rule interface will appear.

Enter the details for the firewall rule.

Click Create. The VPC network details interface will reappear.

Repeat steps 3 – 5 for each firewall rule.

For information on how to configure firewall rules at Google Compute Engine, read Virtual Private Cloud (VPC) Network Overview.

For a list of ports and services that cPanel & WHM uses, read our How to Configure Your Firewall for cPanel Services documentation

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]
[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”381″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

13.Configure static IP address.
By default, Google assigns ephemeral IP addresses to VM instances. They will remain assigned to the server as long as the VM is active, but will change if you turn off and then turn back on a VM..

To configure a static IP address for the server, perform the following steps:

On the VPC network details interface, click External IP addresses. The External IP addresses interface will appear.

Click the arrow next to Emphemeral.

Select Static. A new window will appear.

In the Name text box, enter a name for the IP address.

Click Reserve.

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]
[row]

[col span__sm=”12″]

[section label=”Media Left” bg_color=”rgb(193, 193, 193)” bg_overlay=”rgba(255, 255, 255, 0.85)” padding=”60px”]

[row_inner style=”large” v_align=”middle”]

[col_inner span=”6″ span__sm=”12″]

[ux_image id=”384″]

[/col_inner]
[col_inner span=”6″ span__sm=”12″ align=”left”]

14.Log in to WHM.
To log in to WHM, perform the following steps:

Navigate to the following URL, where IPADDRESS represents your server’s IP address:

https://IPADDRESS:2087
Enter your username and password.

Click Log in.

[/col_inner]

[/row_inner]

[/section]

[/col]

[/row]

Recent Posts

  • Respiratory Diseases

TYPES OF SPECIFIC PNEUMONIAS

Staphylococcal Pneumonia It may be a primary respiratory infection or secondary to staphylococcal focus anywhere in the body. It is…

2 months ago
  • Respiratory Diseases

ACUTE LOBAR PNEUMONIA

It is the commonest of all specific pneumonias. AETIOLOGY Predisposing causes Age: All ages but 50% of cases are below…

2 months ago
  • Respiratory Diseases

BRONCHIAL ASTHMA

BRONCHIAL ASTHMA DEFINITION OF BRONCHIAL ASTHMA BRONCHIAL ASTHMA is a chronic reversible inflammatory destructive disease of the airways characterised by…

2 months ago
  • Respiratory Diseases

BRONCHIECTASIS

BRONCHIECTASIS DEFINITION BRONCHIECTASIS is a condition of permanent abnormal dilatation of the larger bronchi. AETIOLOGY AND PATHOGENESIS Acquire Obstruction Obstruction…

2 months ago
  • Respiratory Diseases

CHRONIC BRONCHITIS

CHRONIC BRONCHITIS DEFINITION OF CHRONIC BRONCHITIS Chronic bronchitis may be defined as a disease characterised by cough and sputum for…

2 months ago
  • Respiratory Diseases

ACUTE TRACHEO BRONCHITIS

ACUTE TRACHEO BRONCHITIS DEFINITION ACUTE TRACHEO BRONCHITIS is Acute inflammation of Tracheo bronchial tree caused by various organisms (bacteria and…

2 months ago