Changes

Jump to: navigation, search

SRA840 Lab5

677 bytes added, 23:31, 16 July 2012
no edit summary
I personally prefer yum and apt-get instead of FreeBSD "port" method. Because they have a great search function that let you search by keyword. Of course you can do the simulatr thing in FreeBSD with some ls command. It's just much more easier in Linux.
2009/04/11
As I mentioned in previous lab, it seems better to install step by step. First, install the latest Apache, it should be 2.2.9 now, and 2.2.11 is coming soon. Then install mod_perl. It seems that the latest perl5.8 or apache2.2 dosen't including mod_perl even if you do 'make config'. So, again, the best way is install apache first, make sure it's running, then go to mod_perl directory to make it. It would be better, if you're using vbox, because 'make' crashes all the time. It's better to install one by one.
= Mohak Vyas =
= Gregory Katherine Masseau =
Upon first attempting to install Apache, I chose Apache 2.2. This worked fine, and the installation of itself went alright - problems only occured when I attempted to build mod_python. It appears the version of mod_python included in the ports collection expects Apache 1.3. So, I went back, removed 2.2, and installed 2.1
make install
 
The third step, modified httpd.conf file and added the following line into group LoadModule
LoadModule python_module libexec/apache22/mod_python.so
Finally, I tested it, and it is OK.

Navigation menu