Date and Time Setup
The date command allows the superuser to set the system date and time manually:
Change the current date.
Type the command in the following form at a shell prompt, replacing the YYYY with a four-digit year,
MM with a two-digit month, and DD with a two-digit day of the month:
For example, to set the date to 2 June 2010, type:
Change the current time. Use the following command, where HH stands for an hour,
MM is a minute, and SS is a second, all typed in a two-digit form:
For instance, to set the system clock to 11:26 PM using the UTC, type:
# date +%T -s 23:26:00 -u
You can check your current settings by typing date without any additional argument:
How can I setup secondary DNS server.
1. You can use two of the IP’s assiged to your server.
2. You can setup an additional linux based server and install the free, “DNS Only” version of cPanel.
Latest Installer for DNSONLY servers.
http://layer1.cpanel.net/cpanel-dnsonly-install.sea
This script can also be downloaded as http://httpupdate.cpanel.net/latest-dnsonly
How to Setup Reseller Private Nameservers in WHM
First we need to register the name servers before we set them up on the server.
Resellers can also have their own private name servers for their own clients making the server provider more anonymous.
Login to your WHM account as root.
Click on Reseller Center on the left hand side.
Under Edit Reseller Privileges/Nameservers, select the reseller account you want to provide with private name servers.
Scroll down to the very bottom of the page until you see: Primary Nameserver.
In the Primary Nameserver field enter the primary nameserver.
Click “Assign IP Address”
Click “Add an A Entry for this nameserver”
In the Secondary Nameserver field enter the secondary.
Click Save
How to setup Cpanel Dns Cluster’s failure threshold.
This section allows you to specify the number dnsadmin commands that are allowed to fail before a member of your cluster is disabled.
Unresponsive cluster members are disabled in an effort to improve performance.
Global cluster configuration options
If you wish for all of the members of your cluster to remain online at all times, enter 0.
Cpanel recommend setting this value to 10.
Reference : http://cpanel.net/
Instructions to setup swap file
Select the partition where you want to create the swap file. This partition must have free disk space to create the swap file.
Create a file for swap with the following command (# is shell prompt):
#dd if=/dev/zero of=/var/swapfile bs=1024 count=[count]
where [count]= number of 1024 blocks required. If count=1024000 size of /var/swapfile will be 1024* 1024000 = 1 GB .
You can decide the size of “/var/swapfile” depending on the size of the backup tar file.
Setup an extra swap with the following command:
Enable “/var/swapfile” for swapping with the following command:
Verification: The file “/proc/swaps” must contain the entry for the swap file “/var/swapfile”. If this entry is not present, then swapping has not been enabled for the swap area.