Changes

Jump to: navigation, search

SRA840 Lab5

364 bytes added, 17:10, 19 March 2009
Nestor
= Milton =
# cd /usr/ports/www/apache22
# make config
# make install
 
Then, add the lines:
###
apache22_enable="YES"
apache22_http_accept_enable="YES"
###
In the file:
#vi /etc/rc.conf
 
And then, run the service:
#/usr/local/etc/rc.d/apache22 start
 
Verify if the server is running:
#netstat -tan
 
And check if port 80 is open, then '''#telnet localdomain 80'''
 
 
= Nestor =
When you want to install any package, just go to the port directory and install it. In this case is under www directory, /usr/ports/www/apache13-modperl. It will download from ftp.freebsd.org and start make. The progress took a while since the connection in Seneca is slow. When I install at home it took about 30 minutes to finish 'make' in my VM. And I waited about 3 hours for the make at seneca and it never finished.

Navigation menu