Thursday, February 28, 2008

Installation and Configuration Of WHM (Linux server)

Hello Folks, Following are the steps to Install and Configure the WHM. WHM Installation Instructions:
========================
cPanel now uses a universal install script which can be found at http://layer1.cpanel.net/. You can use the following commands in the root shell to download and start the installation script: mkdir /home/cpins cd /home/cpins wget http://layer1.cpanel.net/latest sh latest
========================
Configuration Of WHM:
========================
1. First of all you need to collect all the data that is needed to configure the WHM. The following are the informations required for configuring the name servers.
1.1. IP and the hostname of the server for which you are configuring the WHM.
1.2. The name servers hostnames and their respective IPs.
1.3. The Password of the server where the Primary name server is hosted. (Most Important Step).
1.4. The contact email address to send the report when certains server check scripts are executed.
1.5. Default Cpanel themes (which ever the client likes to use it)
2. As soon as you login in to the WHM of the server for the first time, this will give a message that the WHM of this server is configured and you are using it for the first time and below there will be a continue button. Just click that Continue button. The next page is of the agreement which you will have to agree, for which there is button down the page by name I Agree. Just need to click that and you will get the first step of the configuration of the server.
3. Now you are in the most important page of the WHM where you need to fill all the information that is collected by you (as explained in the Step 1). You need to fill this page appropriately as this the core of the WHM configuration as your rest of the configuration depends entirely on this main page. I repeat please fill this page very care fully and correctly as on mistake will cause the problem with the server and also the server where the name servers are hosted. When all the necessary information required are filled up, just save the information and click the next button that is ont he left side of the screen.
4. As soon as you finish this page, you job is almost half done. The next step is of setting the quotas which the scripts runs it. This process takes time depending on the speed of the server. You will find a message which says that you need continue to next step. Please don't follow that message and continue to the next step, as this will cause the trouble of disk quota when you activate an account on the server. So allow the process of the setting the quota to be completed and then proceed further. Once quota is set click the next button on the left side.
5. You will be take to the configuration of the resolv.conf, where you will have to enter the following information:
Primary Resolver : 127.0.0.1 Secondary Resolver : Ip of the Primary name server Teritary Resolver : Ip of the Secondary Name server. Once this information is filled up click the continue button. The result of this page after you click the continue button must be this: ========================================================================== Your resolvers have been setup! Listed in order they are: 127.0.0.1 Ip of the Primary name server Ip of the Secondary Name server ==========================================================================
6. Click the next button and it will ask you to reset the password of the admin user of MySql. Just reset the password. Wait till the password of properly set and the MySql service is restarted.
7. After this step click the finish button. And the WHM is set and configured for the use.
8. After this step, you are in the final stage of the setup. This the setting the DNS functions. The most important step of the the configuration. For this you need to go the section of DNS Functions in WHM.
The first step in this is to Establish a Trust Relationship with a Primary Nameserver. Just click the link Establish a Trust Relationship with a Primary Nameserver and it will ask for the password of the server where the primary name server is resolved. Once the relationship is build. Then go for sychronizing the DNS record with the theme DNS record, by clicking the link Synchronize DNS Records. It should give this message after synchronization:
Rebuilding DNS Zones List from master server ..... Rebuild Complete
It sometimes gives the message SCP failed instead of Rebuild Complete. Dont panic by seeing the message, the step 9 will provide the soution for it.
9. After the synchronization, just create an account through whm. To check whether the WHM is correctly configured just go to the DNS zone and click the edit DNS zone list on the server and also on the server where the name servers are hosted. In both the servers the DNS Zone file should be added. If it is added at both the servers then the WHM is configured properly.
These are the step to configure the server through WHM.

No comments: