Archive for April, 2008

Collection of cheat sheets

Sunday, April 20th, 2008

Actionscript

(more…)

Ruby on rails VS PHP

Tuesday, April 15th, 2008

Want to learn ruby?

Tuesday, April 15th, 2008

Here’s the RUBY LEARNING HUB, suponsered by statish tamil. He is doing excellent job in the domain of ruby. There are some free ruby courses offered by satish. I joined 5th batch of this ruby course. that will be held on 3rd of May, 2008 to 18 of July, 2008.

Here the URL where you can join this course

Reinstallation problem of vsftpd server

Wednesday, April 9th, 2008

Today i really got mad with this problem. Actually what i did, i installed a fresh vsftpd on ubuntu. i configured it and it was working fine, but not like i needed. I decided to reinstall it. i did this with “aptitude remove vsftpd” command. what i found, that was not removing some configuration files. Here i did a big mistake, i removed them manually. than i tried to reinstall it about 10 time. but i couldn’t find my configuration files back.

Did so much googling but couldn’t get solution. After two days of hard work, i found solutions.  and that is just uninstall it using following command

"aptitude pruge  vsftpd" than "aptitude autoclean"

it remove all configuration files again and refresh my system like i’m going to do fresh installation. i install it again and than balle balle :).

Hope it will help someone.

$PHP_AUTOCONF and $PHP_HEADERCONF Problem on ubuntu.

Tuesday, April 8th, 2008

I installed with new php 5.2 version on ubuntu. it was working fine. but when i tried to compile some more extension using phpize. i found errors to define $PHP_AUTOCONF and $PHP_HEADERCONF env variables. i spent about 2 hours to solve that problem and don’t want others to waste their time. just install autoconf and autoheader with the below command

aptitude install autoconf autoheader

That command will install required files at required locations and start rock with phpize :).

Ubuntu 7.10 server

Tuesday, April 8th, 2008

Today i switched from centOS to Ubuntu 7.10 server addition. It really amaze me with installation time. i installed and ready with the server within 15 mins. More importantly, i no need to bother about which particular services i need to keep activated on my machine. Default installation will take care of that.

Server response was very good. Well it is a debain based package. I am from red-hat background. First time i was not very comfortable with ubuntu. because some of the important utilities like chkconfig was not available with ubuntu. but they gave a update-rc.d as an alternative of chkconfig.
You can use it like update-rc.d <filename-placed-in-init.d> defaults
This command will enable to run particular service at boot time. One more tip is ”default run level of ubuntu is 2″.

I would love to explore ubuntu more.