Archive for the ‘Server Administration’ Category

How to enable fantastico in WHM/cPanel

Sunday, July 11th, 2010

Prior to start, make sure that the server has been licensed to use fantastico.

ssh to your server and log in as root and do the following commands:

# cd /usr/local/cpanel/whostmgr/docroot/cgi
# wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz
# tar -xzpf fantastico_whm_admin.tgz
# rm -rf fantastico_whm_admin.tgz

Login to your WHM (if already logged in, just refresh the page)
From the menu, under Plugins, click Fantastico De Luxe WHM Admin (located at the bottom).

the rest should be self explanatory :)

Disable CPIMAP, CPPOP and Exim on cPanel

Saturday, July 10th, 2010

Stop Cpanel
% /etc/init.d/cpanel stop

Create the following files to disable CPanel’s Exim, POP, and IMAP services:

/etc/eximdisable
/etc/imapdisable
/etc/cpimapdisable
/etc/cppopdisable
/etc/popdisable

Afterwards, restart your Cpanel services:

% /etc/init.d/cpanel restart

Alternatively, you can turn them off in the CPanel interface in the Service Configuration panel.

apache crashes due to high traffic

Tuesday, June 17th, 2008

post moved to apache crashes due to high traffic

how to dump mysql database from command line

Tuesday, June 17th, 2008

this post moved to how to dump mysql database from command line

Migrating from Mail Enable to Exim Courrier

Wednesday, May 23rd, 2007

I’ve migrating my accounts from a Windows 2003 server, using Mail Enable to handle emails and powered by helm control panel. Since most of the users requirements are mostly linux supported. i’ve migrated the server to a CentOS Server, and is running a Cpanel Control panel.

I’ve been scavenging all over the net for a fast way to do it but to no avail. Then came the emails where problem started to be realized. I also need to copy users email to the new server!

Migrating from one linux box to another is quite an easy task, but this is quite different. So again, i then tried to google if there are any information on how to migrate mailenable mails to exim, since cpanel uses exim. but again, to no avail. So i’ll have to figure it out myself.

tried opening Mail Enables post offices and noticed that it resembles the courrier MTA, so i assumed mail enable uses courrier, which i didn’t bother realizing before.

So, what i did was to copy the mails from the Inbox folder of a certain user, and pasted them to the “cur” folder in the linux box corresponding to the users mail directory.

gladly it works, unfortunately for me, i’ll have to do that on each and every email account on the server. This is bad. :(