Correctly configure WHM in Google Cloud Platform CentOS 7?
Help to correctly configure WHM in Google Cloud Platform CentOS 7
-
You might do better to expand on what it is you're seeking here with this post. 0 -
We have a blog post on this here: Install cPanel with Google Compute Engine | cPanel Blog 0 -
We have a blog post on this here: NAT configurations can not be done from the server, they will need to be done at the network level and then the build_cpnat function will need to be run after that to associate the NAT'd internal and external IPs with each other on the server. Can you confirm if xx.xxx.xx.101 [Putlic IP Address] has already had a NAT configured for it on the network?" - "The configuration of the NAT can not be done inside of WHM. Once it has been done though, you should run the build_cpnat again so that WHM can be aware that there is another NAT'd IP on the server" That is when I did try this: - WHM > IP Functions > Add a New IP Address, and then added 3 Internal IP Addresses (subnet: 255.255.255.0) - WHM > IP Functions > Show or Delete Current IP Addresses Then I run: # /usr/local/cpanel/scripts/build_cpnat root@centos userxxxx]# /usr/local/cpanel/scripts/build_cpnat info [build_cpnat] 10.138.0.2 => xx.xxx.xx.58 warn [build_cpnat] Unable to map 192.168.4.1 warn [build_cpnat] Unable to map 10.138.0.3 warn [build_cpnat] Unable to map 192.168.4.2 [root@centos userxxxx]# How to go about configuring the 'Network side' on a Google Cloud Platform CentOS 7 VM to have the cPanel Nat function according to the instructions
0 -
Hi @Mystagogue Regarding WHM and Google Cloud Platform GCP, and CentOS 7 VM, it is absolutely not a straightforward install; documentations and instructions are lacking generally speaking on the internet and cPanel site or documentation sans any that is valuabe; and no true pre exposition to the evironment of WHM on Google Cloud VM.
I agree its not a straightforward process. We do have that blog post mentioned above as well as the documentation in our knowledge base here: How to Install cPanel on Google Compute Engine Through The Google Marketplace | cPanel & WHM Documentation- cPanel does not support NetworkManager, you have toDisable NetworkManager before running cPanel installation:
The instructions above are based on the cPanel Marketplace image which is an image that is geared for cPanel specifically so things like Network Manager which is definitely not something we support would already be disabled. - The need for Network Manager to be disabled is noted in our installation-guide networking requirements as well: System Requirements | cPanel & WHM Documentation- WHM / cPanel will install on a server that resides on a NAT-configured network: Here, you will run into an issue with Google Cloud Platform when trying to create or reserve an additional 'Static internal IP Address'. Otherwise, you cannot add an External IP Address to WHM (thus to be assigned to an account/domain, cPanel, unless if I do create an additional static internal IP Address; then route or forward or bind (what ever is the right term for so) the Internal IP Address to External IP Address.
I believe we address this concern in the document as well here: [QUOTE=https://docs.cpanel.net/knowledge-base/web-services/how-to-install-cpanel-on-google-compute-engine-through-the-google-marketplace/#configure-a-static-ip-address] Configure a 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:- Under Assign a static external IP address to your VM instance, click Learn more. A help interface will appear.
- Click Go to the External IP addresses page.
- 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.
Do you think, cPanelLauren, that within a short time, a cPaenl.net can issue a practical instructions on how to setup and configure WHM on Google Cloud Platform VM; or assist with the steps I did mention above?
Can you let me know if there are any questions you have or issues with configuring the instance you still see after reading the documentation I provided?0
Please sign in to leave a comment.
Comments
5 comments