Category: Linux

CPanel: adding a range of IPs using WHM

You can add a range of IPs in Cpanel/WHM .This can be easily done using the WHM interface: Go to IP Functions/Add a New IP Address. Here you can choose the “Ip(s) to add”...

Make clone site

=============================================================HOW TO COPY WEBSITE FROM http://abc.com to abc1.com with database==============================================================Open two shells ( one with abc.com and other abc1.com ) then copy public_html of abc.com to abc1.com go to public_html folder of abc.com and...

How to Empty Logfiles

=====================================Run Following Commands to empty exim and apache logs====================================echo > /var/log/exim_mainlogecho > /var/log/exim_rejectlogecho > /var/log/maillogecho > /var/log/messagesecho > /var/log/messages.1echo > /var/log/messages.2echo > /var/log/messages.3echo > /var/log/messages.4echo > /var/log/lastlogecho > /var/log/maillogecho > /var/log/maillog.1echo > /var/log/maillog.2echo >...

Scan viruses and Trojans

———————————————Scan viruses and Trojans on cpanel server ———————————————Search For Trojans in /dev /scripts/finddev Locate Trojan Horses /scripts/findtrojans Suggest Usage /scripts/findtrojans > /var/log/trojans /scripts/fixtrojans /var/log/trojans——————————————— Install ClamAV in Centos with Cpanel——————————————–Installing antivirus is most important...

yum installed or not?

You can check yum is installed or not on server—————–rpm -q yumrpm -ql yum echo $PATH—————— Share it..

Installing PostgreSQL On Cpanel

Installing PostgreSQL Install PostgreSQL using cPanel To install PostgreSQL on the server that is running a cPanel server, complete the following: 1. Login as root 2. Type: cd /scripts/ ./installpostgres 3. cPanel will automatically...

Rvsite builder Installation and troubleshooting

How To Install RvSiteBuilder Note: you need to get a license from RVSiteBuilder website. Installing RVSiteBuilder: # cd /usr/local/cpanel/whostmgr/docroot/cgi/# rm -f rvsitebuilderinstaller.tar# wget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tar# tar -xvf rvsitebuilderinstaller.tar# chmod 755 addon_rvsitebuilder.cgi Now open WHM, ->>...

Plesk: mailqueue

How do I check the mail queue sendmail -bpIt will print a list of emailsCommand of check the number of messages waiting to be sent on the server is: /var/qmail/bin/qmail-qstat How to force qmail...

Migration

Whm transfer gives bad file descriptor error During a transfer you may run into the following error: ——————————————————————————–Connecting to Remote Server Failed: Unable to connect to IP.ADDRESS:22: Bad file descriptor——————————————————————————— This error is shown...

Lxadmin

Reset Default Lxadmin Password via commandline/backend Sometimes when you intially setup Lxadmin, you can have problems resetting it from default. To get around this can you can do the following:1. Login via SSH to...

Optimization WordPress Plugins & Solutions by W3 EDGE