Hi all,
I am a new comer using FreeBSD.
Having installed the freeBSD 5.2.1(minimal installation), how to install and configurate the Apache server? Do i need to download it from Apache website or it alreadly included in BSD installtion CDs?
Thanks,
Robert
FreeBSD Apacher Server installation
Moderators: Website/Forum Admins, Other/Off Topic Moderators
-
- Posts: 1
- Joined: Mon Jun 21, 2004 11:29 pm
Though this is not the correct place to ask such a question, here is the answer. The easiest way for you to install Apache is using the ports collection that is included with your FreeBSD distribution.
For more information on the ports collection visit http://www.freebsd.org/ports.[/code]
Code: Select all
cd /usr/ports/www
cd apache2 (for Apache 2.0)
make install clean
Josh Baird
[corrupt]@EFNet
O: irc.choopa.net
[corrupt]@EFNet
O: irc.choopa.net
if /usr/ports does not exist, download ftp://ftp.freebsd.org/pub/FreeBSD/ports ... rts.tar.gz to /usr, and extract
i personally prefer apache 1.3, but it's up to you which you want to use
i personally prefer apache 1.3, but it's up to you which you want to use
In God we trust,
Everyone else must have an X.509 certificate.
Everyone else must have an X.509 certificate.
If you'll be using PHP and apache (a popular combo), it is preferable to use apache 1.3
I usually install apache-modssl:
Follow the prompts to create the certificate.
To remove the pass phrase from the RSA key so that we don't need to type
in the pass phrase everytime we reboot the server (handy if you don't always have physical access to the box):
Go back to the port directory to continue the install:
I usually install apache-modssl:
Code: Select all
cd /usr/ports/www/apache13-modssl
make
make certificate
To remove the pass phrase from the RSA key so that we don't need to type
in the pass phrase everytime we reboot the server (handy if you don't always have physical access to the box):
Code: Select all
cd /usr/ports/www/apache13-modssl/work/apache_1.3.29/conf/ssl.key/
openssl rsa -in server.key -out server.pem
Code: Select all
cd /usr/ports/www/apache13-modssl
make install clean
Wow, that's resurecting an old thread
The php docs used to state that apache2 was not recommended for use with php. However, a quick google search gave me this thread from December 2004:
http://drbacchus.com/wordpress/index.php?p=844
The php docs used to state that apache2 was not recommended for use with php. However, a quick google search gave me this thread from December 2004:
http://drbacchus.com/wordpress/index.php?p=844
Who is online
Users browsing this forum: No registered users and 2 guests