Monday, August 23, 2010

Reinstalling Apache

I am reinstalling apache as my Ubuntu crashed last week.
I added passenger (mod-rails, mod-rack) as well.

1. Synaptic
2. Search and install apache2.
3. Added mod-passenger, ruby interface.

Check the installation.
$ locate passenger
/etc/apache2/mods-available/passenger.conf
/etc/apache2/mods-available/passenger.load
/etc/apache2/mods-enabled/passenger.conf
/etc/apache2/mods-enabled/passenger.load
/usr/lib/phusion_passenger
/usr/lib/apache2/modules/mod_passenger.so
...
$ cd /etc/apache2/mods-enabled
$ cat passenger.conf
<ifmodule mod_passenger.c="">
  PassengerRoot /usr
  PassengerRuby /usr/bin/ruby
</ifmodule>
$ cat passenger.load
LoadModule passenger_module /usr/lib/apache2/modules/mod_passenger.so

No comments:

Post a Comment