March 2011
M T W T F S S
« Feb   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  
  1. We welcome any feedback, questions or comments

How do I enable Awstats in WHM/Cpanel and enable logs manually

One of my client requested to use awstats rather than webalizer ( the default log stats viewer) on his server. Awstats has freely available and can install this perl scripts on any dedicated/vps servers.

Here is the steps to go,

1. First thing you need to login whm/Cpanel interface using root account and [...]

How do I configure SQL based mail server in Linux

Here I’m going to setup a sql based mail server which can be easily backed and manageable through any of the programming language.

Advantages 1. Can be easily transferable 2. Can integrate mail service with our web applications 3. Easy to backup and accommodate any number of domains/users as long as you grow 4. Secured [...]

MySQL : Multiple tables backup using mysqldump

I have a requirement to backup few tables from a huge database as total dump is taking 2 hours and about 30GB in size. Huge tables are containing static data which doesn’t change frequently.

Here is the scripts to do that,

#!/bin/bash # Created by Liju on 09/03/2011 # DB_NAME=’db’ USER=’username’ PASS=’user_pass’ HOST=’localhost’ DUMP_LOC=’/storage1/temp’ NOW=”$(date [...]

Subversion : setup svnserve in a easy way

I had worked with various type of subversion deployments which using ssh, http and https. All the above steps has some difficulties when we moved it to another cpanel or production mode server.

The issues are,

a. SVN over ssh requires ssh access to user account which I do not like b. http/https requires mod_dav,mod-svn [...]

Re-deploying Rails application on Passenger (restarting rails)

Deploying a new version of a Ruby on Rails application is as simple as re-uploading the application files, and restarting the application after the Phusion passenger arrival. But I do not wish to restart web server frequently for rails re-deployment since there are many other sites running.

There are two ways to make it

1. [...]