I had some troubles with installing Apache on FreeBSD when I first
started out too. Not that anything was wrong with my system or the
software, I just couldn't figure out heads or tails of it in the beginning.
So after careful study of the INSTALL files I finally got it.
But since I'm the lazy type, I prepared a script which will load Apache
webserver on your system and have it running in under two minutes. It's
not very hard to follow and it goes like this:
--------8 --------------------------8 --------------------------8 ----------
----------------8
#!/bin/sh
######################################################
# NOTE: This script makes a few assumptions about your file system:
# 1). You are using Apache_1.3.3.tar.gz as your source.
# 2). You have a directory called /usr/local/bin.
# 3). You do NOT have a directory called /usr/local/etc.
# You can have other choices but this script will require
editing
# if you do. Namely the path statements.
######################################################
clear
echo Starting Apache Installation...
mkdir /usr/local/etc
cd /usr/local/etc
# ---- Revise this next line for the correct path and filename of your
source file.
gunzip -c /path_to_source_file/apache_1.3.3.tar.gz | tar xvf -
mv ./apache_1.3.3 ./apache
clear
cd apache/src
./Configure
make
mv ./httpd ../
clear
echo Making some useful links...
ln -s /usr/local/etc/apache /usr/local/etc/httpd
ln -s /public/html /usr/local/etc/httpd/htdocs
ln -s /usr/local/etc/httpd/htdocs /html
ln -s /usr/local/etc/httpd/htdocs /www
clear
echo Doing some housekeeping...
rm -r /usr/local/etc/apache/src
###############################################
# If you don't have a /usr/local/bin directory, either create
# one, or revise the paths below to reflect the location
# for the script which you can use now and later to
# run Apache Web Server. The next eight (8) lines are
# remarked out to keep the script from crashing on a
# system which isn't prepped first.
################################################
#echo Creating a Shortcut for Apache Server
#rm /usr/local/bin/apache
#echo '#!/bin/sh' > /usr/local/bin/apache
#echo ' ' >> /usr/local/bin/apache
#echo '/usr/local/etc/httpd/httpd -f /usr/local/etc/httpd/conf/httpd.conf'
#chmod 755 /usr/local/bin/apacheQuote:>> /usr/local/bin/apache
Note there is nothing in here about editing your *.conf files. That all
depends
on how your setting your server up. Reply back and I could send you a copy
of my *.conf files. Their pretty generic, but they get the ball rolling for
you,
including CGI access and all other generic feature which is more than you'll
probably need to get started.
It works fine for me. Hope it does the same for you. Good luck!
This server is a local private for testing web pages before posting
on the internet. and to learn more.
Again Thank You.
Quote:>Note there is nothing in here about editing your *.conf files. That all
>depends
>on how your setting your server up. Reply back and I could send you a copy
>of my *.conf files. Their pretty generic, but they get the ball rolling for
>you,
>including CGI access and all other generic feature which is more than you'll
>probably need to get started.
>It works fine for me. Hope it does the same for you. Good luck!
1. <help>Linux newbies need help with CD and soundcard<help>
We recenly got Linux with Xwindows running on our 486. The CD
worked fine till we got Win****95 on our DOS partition. Now we
cant get our TEAC CD-55 working on our Soundblaster Pro card. I
heard something about a Sound HOW-TO but Sunsite's got major
data loss, so we couldnt find it. Is there anyone out there
that could help us get our CD or soundcard working??
-Thanks
-2 linux newbies
3. Newbie : Need help with xf86config - PLEASE HELP
5. floppy drive setup (Newbie needs help, help!!)
6. IPXRIPD (IPX Router for Netware)
7. HELP! (newbie needs help installing SLS)
8. Dual Booting Unixware7 and NT Server
9. Newbie: Need help with xf86config - PLEASE HELP
11. newbie needs help on installing & getting the trident TGUI9680 drivers
12. Sony17SEII(Newbie needs help!)
13. Newbie, need help with Red Hat 8.0 Package configurer