Linux VPS

How to Move Accounts From One cPanel Server To Another

July 12, 2010

1.Log into the whm of new account and create a folder called new.Remember the ftp username password and name which you need later to transfer the accounts. 2.Log into the cPanel account you are wanting to transfer on the old server. 3.Click on Backup >> Generate/Download a Full Backup 4.select the backup destination to be […]

Read More

How to control process using ssh?

July 11, 2010

The process can be listed using the command “PS” To list all processes which are started by your user, you can use ps x where ps is the command and x is argument. The same process can be seen by another command using TOP. The Top command is used to edit or kill the process […]

Read More

How to enable ssh through cpanel

July 9, 2010

To enable ssh/shell aceess  go to cpanel ->security-> ssh Once the widows opens you can generate a pair of ssh keys to connect with the server and local machine. Enter your first name,last name,and the email account.In the Allow ip section enter the IP from which you need to establish a connection. Once you enter […]

Read More

How to change permissions for files/folders using chmod command in ssh

July 9, 2010

Procedure to change permissions of files/folders using chmod command: SYNTAX:  chmod OPTION FILE NAME CHMOD can also to attributed by using Numeric Permissions: 400 read by owner 040 read by group 004 read by anybody (other) 200 write by owner 020 write by group 002 write by anybody 100 execute by owner 010 execute by […]

Read More

How To Increase The Max Upload Size In Cpanel

July 9, 2010

1) Create a .htaccess file in the root folder of web server. 2) Put the following code in side the .htaccess file and save it. php_value upload_max_filesize 10M php_value post_max_size 10M php_value max_execution_time 200 php_value max_input_time 200 ——————— Now you can upload the file-size up-to 10MB. In these setting client can upload upto 10 MB […]

Read More

Procedure to change whm panel theme

July 7, 2010

Steps to change WHM theme: 1. Login to whm panel 2. Search for themes 3. Select change theme >> change the theme here.

Read More

clearing send mail queue

July 7, 2010

In linux operating system,the send mail queue can be cleared by the following ways, Method 1 : Deleting manually delete /var/spool/mail/*.* files in this dir –> delete /var/mqueue/*.* files all mail will be deleted. using mailq command, confirm whether all the mails are deleted or not from the queue Method 2 : From  command using […]

Read More

Send mail telnet / test for open relay

July 6, 2010

determine the MX for the domain nslookup set type=mx mydomain.com should return something like:Server: ns2.mydom.com Address: 192.168.1.254 mydomain.com preference = 10, mail exchanger = mx.mydomain.com mydomain.com nameserver = ns.mydomain.com mx.mydomain.com.com internet address = 1.1.1.1 mx2.mydomain.com internet address = 1.1.1.2 The last two lines are the mail server (MX = Mail Exchange). In this case, 1.1.1.1 […]

Read More

How to Dump just the table structure file in MySQL

July 5, 2010

The mysql dump utility can be used as like taking the mysql database Syantax will be mysqldump -d -h localhost -u root -p databasename > dumpfile.sql The only option that is different than creating an entire backup is the -d switch, which tells mysqldump not to output the data. example mysqldump -d -h localhost -u root […]

Read More

Cpanel script error

July 4, 2010

Warning: Division by zero in /tmp/cpanel_phpengine.1278238346.27363hlijnZhKwD on line 26 Warning: Division by zero in /tmp/cpanel_phpengine.1278238346.27363hlijnZhKwD on line 27 Warning: Division by zero in /tmp/cpanel_phpengine.1278238346.27363hlijnZhKwD on line 28 Steps to resolve this error, 1.Log into the WHM cpanel 2.click on my accounts 3.search for the domain name 4.Behind username >> you can see a note symbol […]

Read More