Archive for the ‘Ubuntu’ Category

SVN & Symfony Setup.

Monday, August 11th, 2008

I am covering the installation of subversion and symfony on my ubuntu box. Installation of symfony will be done by PEAR library. Because latest symfony release can be pingged directly using PEAR. I will also cover the web access of subversion. I am considering apache server is already installed on your box.
To install subversion and apache module
(more…)

Radiant on ubuntu 7.10 box

Tuesday, May 20th, 2008

Today i found an excellent CMS based upon RubyOnRails, It’s radiant. I installed it on my ubuntu 7.10 box successfully. It was really great experience for me. I am learning ruby yet but would like to contribute for radiant development soon. Anyway will let you know when i’ll be able to release some thing useful in the favour of radiant. I would like to assist if you have any issue with radiant installation. I may help you.

Ubuntu 7.10 server mod_rewrite not working even enabled.

Thursday, May 15th, 2008

Step 1
Check if mod_rewrite and mod_proxy modules are enabled for apache. To do so put following command:

1
2
a2enmod rewrite
a2enmod proxy

this will enable the required modules if they are not enabled yet.

Step 2
Go to “/etc/apache2/sites-enabled/”. Open the corresponding file for which domain you want to activate rewrite module. In my case that is local server and i checked in 000-default file.
Find the following entry corresponding to your root directory

AllowOverride None

Replace this with:

AllowOverride all

With above steps i found my mod_rewrite module enabled and working sucessfully.

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.