[thelist] apache ssl

Anthony Baratta Anthony at Baratta.com
Thu May 23 15:30:09 CDT 2002


Here are my cheat notes from the last setup of servers I setup.....YMMV

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Documentation for Installing Apache, mod_ssl, mod_perl, and php
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Need to be "root" for this to work]

#########
CPAN Update
#########

perl -MCPAN -e shell
(run through config and update to latest version)

use CPAN to install Bundles below.

install 'Bundle::libnet'
install 'Bundle::LWP'
install 'Bundle::DBI'
install 'Bundle::DBD::mysql'
install 'Bundle::Apache'
install 'Bundle::Slash'

You may need to manually install some components.
Don't expect every part to install, ever. ;-P


#########
mod_ssl
#########

http://www.modssl.org/

./configure --with-apache=../apache_1.3.20 \
--with-ssl=/usr \
--enable-shared=ssl


#########
mod_perl
#########
[This part completes the Apache install too]

http://perl.apache.org/

edit Makefile.PL add "-DEAPI " to CFLAGS

perl Makefile.PL USE_APACI=1 \
EVERYTHING=1 PERL_MARK_WHERE=1 \
DO_HTTPD=1 \
SSL_BASE=/usr/ \
APACHE_PREFIX=/usr/local/apache \
APACI_ARGS=--enable-module=ssl,--enable-module=so,--enable-shared=ssl

make
make test
make install


#########
Apache
#########

http://httpd.apache.org/dist/

(create the following links)

cd /etc/rc.d/init.d
ln -s /usr/local/apache/bin/apachectl apache

cd /etc/rc.d/rc3.d
ln -s ../init.d/apache S85apache
ln -s ../init.d/apache K85apache
cd /etc/rc.d/rc5.d
ln -s ../init.d/apache S85apache
ln -s ../init.d/apache K85apache


#########
PHP
#########

http://www.php.net/

./configure --prefix=/usr/local/php \
--exec-prefix=/usr/local/php \
--with-mysql=/usr \
--with-apxs=/usr/local/apache/bin/apxs \
--with-openssl=/usr/ \
--with-pgsql=/usr/lib/pgsql \
--enable-magic-quotes \
--enable-trans-sid

[get working later]
--with-aspell=/usr/lib/aspell \
--with-pspell=/usr/share/pspell \

make
make install


----------------

Edit httpd.conf file to taste.
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list