How to create WHM Cpanel VM in Vcloud Director
SETUP WHM Cpanel on Zettagrid VDC
- Login into Vcloud Director. You can find Your username password Vcloud Director in this KB : https://support.zettagrid.com/?id=kb_article&sys_id=79b1afd1dbb92b00e37bcef405961958
- Click on Mycloud, and Click ? + ? Button
- Change to lookin to ?Public Catalog? and ?All Templates? , and type ?WHM? on search area .
Click on WHM_cpanel and Next .
- Change the vApp_name or you can click Next to set as a default .
- Set Virtual Machine Name . And select the storage profile. Then you can click Next .
- Set computer_name and select LAN Network that you will assigned to VM .
- Customize the specification hardware . Or you can set be default , and you can customize it later.
Click Next .
- In Summary Tab, click Finish to deploy the template.
- Right Click on Vapp_Cpanel . And Click Start
- Double Click on Vapp_Cpanel . And Click ?Virtual Machine? Tab.
Right Click on VM CPanel and click Popout console
Login with username : root
Your root password , you can check in :
Right Click on VM Cpanel -> Properties -> Guest OS Customization
Please to change the root password immediately with command :
# passwd root
NOTE : Please add new user and assign as root for remotely user using SSH
- After you can login , please to check the connection first access to internet with Ping .
- Check Service Cpanel with command :
# service cpanel status
If the service is stopped ( not running ) , you can start it with command :
# service cpanel start
- Next step is , configure the NAT and Firewall to open the connection from internet .
Go to Administration -> Double click DC Number -> Click Edge Gateway -> Right Click choose ? Edge Gateway Services?
- Then, add DNAT Rule for open Cpanel Port services . This rule for open port 2083 . Do the same for open port 2087.
Applied On : Automatically
Original IP/Range : Your Public IP
Protocol : TCP
Original Port : Port access from internet, ex: 2083 ( cPanel Port )
Translated IP Range : 192.168.80.101
Translated Port : 2083
Description :
- Next , configure the Firewall Rule to open Port that you setup before in NAT Tab.
- Last Step, access your WHM using your Public IP
And login with username : root / Password : Your root password