My Blog

SVN Post Commit hook

on October 2, 2011 By Anil Konsal

Some days ago, I got a requirement of giving access to 3 users to my SVN repo over ssh. #groupadd dev #useradd -g dev auser #useradd -g dev buser #useradd -g dev cuser Then set [...]

Read More


Installing python 2.7.1, mysql-pythondb and PIL (python Imaging Library) on centos

on April 9, 2011 By Anil Konsal

yum -y install gcc gdbm-devel readline-devel ncurses-devel zlib-devel bzip2-develsqlite-devel db4-devel openssl-devel tk-devel bluez-libs-devel make cd /var/tmp wget http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tgz tar xvfz Python-2.7.1.tgz cd Python-2.7.1 ./configure –prefix=/opt/python2.7.1 –with-threads –enable-shared make make install touch /etc/ld.so.conf.d/opt-python2.7.1.conf echo “/opt/python2.7.1/lib/” >> [...]

Read More


Spliiting a Huge text or CSV file into smaller chunks

on August 20, 2010 By Anil Konsal

I got into a situation where i had to import a 10GB CSV file into mysql. I tried to open the file using excel, but it hanged and gave errors of Lesser Resources (RAM).  Then [...]

Read More


Planner 0.14.4 complete progress issue

on October 16, 2009 By Anil Konsal

I have been using the Planner for quite a long time. Its a very good software for Project Management and Planning. Over the time many improvements have been made in the project. The latest stable [...]

Read More


Enable mod_rewrite in apache

on October 15, 2009 By Anil Konsal

If you are using Windows OS and want to enable mod_rewrite module here is how to do it. This is the general configuration guideline both for Windows and Linux server: QUOTE 1. Find the httpd.conf [...]

Read More


Open rar file or Extract rar files under Linux or UNIX

on October 15, 2009 By Anil Konsal

download binary package from official rarlab site: $ cd /tmp $ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz Untar file $ tar -zxvf rarlinux-3.6.0.tar.gz Both unrar and rar commands are located in rar sub-directory. Just go to rar directory: $ [...]

Read More


PHP 5.3 upgrade in Centos 5.3

on October 15, 2009 By Anil Konsal

I’ve finally figured out a way to install PHP 5.2.x instead of PHP 5.1 which installs on CentOS 5.3 by default. I’ve wanted to use phpMyAdmin 3.x but could not because of this. Now I [...]

Read More