Newbie Needs Help

Newbie Needs Help

Post by Mr Majest » Fri, 18 Dec 1998 04:00:00



I am new to Unix and Apache and have many years with DOS and Windows;
I am setting up a Unix system with FreeBSD 2.2.2 and downloaded Apache
1.3.3 but now I can not add the package apache-1_3_3.tgz.  I get error
can't find package.  I have uncompressed with winzip to windows 85
system and ftp to Unix in /usr.local/apache and followed all
instructions on the three configurations files. Now can not start
Apache 1.3.3;  What am I doing wrong?
I do mean very new to Unix.
Thank You.
 
 
 

Newbie Needs Help

Post by Max File » Fri, 18 Dec 1998 04:00:00


Maj,

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'

Quote:>> /usr/local/bin/apache

#chmod 755 /usr/local/bin/apache
#/usr/local/bin/apache
#echo Apache is running...
--------8 --------------------------8 --------------------------8 ----------
----------------8

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!


>I am new to Unix and Apache and have many years with DOS and Windows;
>I am setting up a Unix system with FreeBSD 2.2.2 and downloaded Apache
>1.3.3 but now I can not add the package apache-1_3_3.tgz.  I get error
>can't find package.  I have uncompressed with winzip to windows 85
>system and ftp to Unix in /usr.local/apache and followed all
>instructions on the three configurations files. Now can not start
>Apache 1.3.3;  What am I doing wrong?
>I do mean very new to Unix.
>Thank You.


 
 
 

Newbie Needs Help

Post by Mr Majest » Sat, 26 Dec 1998 04:00:00


Yes Your config files will help out alot.
Thank you

This server is a local private for testing  web pages before posting
on the internet. and to learn more.

Again Thank You.

 
 
 

Newbie Needs Help

Post by Mr Majest » Fri, 01 Jan 1999 04:00:00


Thank You that worked I am in need of some good generic  *.conf files
and any help in setting them up.  This is what I am doing.  Have set
up FreeBSD system and Apache server on local network. For use as test
bed for Web Pages, before posting on the net. Also to use as Intranet
for company.  I have some books on the subject but not much on setting
the configuration files.  Also would like to have multi-Domain server
setup for the different departments.
Again Thank you.
Mr Majestic
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

2. Poll on /proc files

3. Newbie : Need help with xf86config - PLEASE HELP

4. Help switching to linux

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

10. Newbie Needs 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