On Wed, Sep 10, 2003 at 02:46:43PM -0500, Jason Newman wrote:
> If anyone can help me with installing Apache that would be great. I am
> trying to install Apache with PHP and the instrustions I got are as follows.
> 
> tar -xvzf httpd-2.0.47.tar.gz
> cd httpd_2.0.47
> ./configure --prefix=/www --enable-so
> make
> make install

> And then it says to test the apache by typing "/www/bin/apachectl start" but
> there is no /www directory? 

You should do everything up to and including the "make" as a
regular user, but the "make install" probably needs to be done
as root, since it will need to create and populate a directory
in / that most likely has restricted access, owned by root and
only writeable by root.

watch what happens when you run each of these commands, looking
for error messages that you can look up or that you can report
along with your questions.

One way of recording the output from these commands for later
scrutiny is by using the command called 'script'.   Read about
its usage with

man script

> I have searched for the apachectl and found it in the
> /root/snortinstall/httpd_2.0.47/support directory but it
> doesn't start from there. What am I doing wrong here? I am
> realtively new to Linux and am installing this on Linux 9 so
> be gentle. ;o)

Redhat still almost certainly ships apache as a package which
you should be able to install with 

rpm -ivh theirapachepackagename.rpm itsdependencies.rpm otherdepends.rpm

where, of course, you'd use real package names in place of these
package names.

--Joe

Reply via email to