How to install cPanel on CentOS


You can install cpanel on your server using the following steps.

1. cd /home — Opens the directory /home.

2. wget -N http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers.

3. sh latest — Opens and runs the installation files.[Note: Better run this command under screen, because it will take some hours to complete the installation process.]

4. /usr/local/cpanel/cpkeyclt — Activates your license after installation.

You can simply access your cpanel or WHM by browsing your server’s IP address followed by the corresponding port number

Port number for cPanel : 2082/2083(ssl)
Port number for WHM : 2086/2087(ssl)

http://IPAddress:port

That’s all……!!!!!!!

Csf command not found in WHM/cPanel server


I got the error ““csf: command not found” while executing command via command line.

[root@server]# csf

-bash: csf: command not found

[root@server]# csf -e

-bash: csf: command not found

Solution:

Step 1: At first, check if the CSF is installed or not on the server. If it is installed, most probably due to the absence of ‘perl scripts’ in WHM/cPanel.

Step 2: Take a back up of csf.conf, csf.allow and csf,deny files for our security.

Step 3: Update CSF by executing the following command

curl -s configserver.com/free/csupdate | perl

The config server firewall shoul be updated after executing the command. Then, try to run the csf command and it must be work properly.

That’s all………….!!!!!!!

 

Iftop installation


If you need to install iftop service in your server please follow the below steps.

1.Install dependencies modules

yum install libpcap-devel
yum install libpcap

2.Now, download the iftop source:

cd /usr/src
wget http://www.ex-parrot.com/~pdw/iftop/download/iftop-0.17.tar.gz

3.Installation Process

gzip -d iftop-0.17.tar.gz
tar xvf iftop-0.17.tar
cd iftop-0.17
./configure
make
make install

 

That’s all……….!!!!!

How to clear all the emails for default cPanel email account


The directories responsible for a default cPanel email account is “new” and “cur“. Both of these directories are located in /home/username/mail/

 If you need to remove all of the emails from the default email account follow the steps given below:

# cd /home/username/mail/cur
# rm -rf *
# /home/username/mail/new
# rm -rf *

If the cpanel still shows the diskspace, Please remove maildirsize” file or rename it.

That’s all……!!!!!!!

Cannot see more than 10000 files in filezilla


Solution :

1. login to server as root user.

2.vi /etc/pure-ftpd.conf

3.Scroll through the document and locate the LimitRecursion setting

It might be like “ LimitRecursion 10000 8″

4. Change the value 10000 to 20000

5. save the file and exit

6. Restart the ftp service

7. Now try it

Thats all…….!!!!!!!

Cannot see “Disable spamassassin” button in cpanel


In your cPanel, spamassassin is enabled and you are unable to see the “Disable spamassassin” button ,do the following:

1.Login as root in your WHM.

2.Go to  Home »Service Configuration »Exim Configuration Manager

3.Now, scroll down and you will see the option: “Enable for all users without the option for users to shut off per account”

uncheck the checkbox and save.

4. Also do Forced Global ON >> off

5.Now, relogin to your cPanel account and check for spamassassin , you will find the button“Disable spamassassin”

Thats all….!!!!

How to update Rvsite builder


You can update the rvsite builder using the following commands.

 

1. :Login to cpanel server as root user

2. rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/var/INSTALL_COMPLETE.php

3. rm -f /var/cpanel/rvglobalsoft/rvsitebuilder/rvsitebuilderversion.txt

4. perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi –force

 

That’s all….!!

Blog Stats

  • 37,402 hits