Web Hosting Talk







View Full Version : installing apache :(


matt2kjones
07-24-2002, 06:08 PM
ok im stuck with this.

this is what i did. I when to the apache.org website and downloaded apache

it was a .tar.gz file

so then i typed this :

cd /usr/downloads (thats where i downloaded it to)

then i typed :

tar xzvf apache.tar.gz

i saved it as apache.tar.gz by the way

ok so that made a directory

so i went into the directory, and this is where i am stuck, i just dont know what to do

can someone please help?

thanx :)

AndreT
07-24-2002, 06:13 PM
as i far remember you have to do :

./configure
make
make install

but i´m not really sure which is the first command, simply try it, i think configure is the first.

jahsh
07-24-2002, 06:18 PM
1. ./configure
2. make
3. make test
4. make install
the end....of course you could also read the README or INSTALL doc, might help you out.

Shyne
07-24-2002, 09:31 PM
I seriously suggest you read some apache tutorials and how to use it.

dbbrock1
07-24-2002, 09:47 PM
its easy... just do:
./configure
make
make install
reboot
cd /path/to/apache/bin/apachectl start

ntwaddel
07-24-2002, 10:01 PM
read tutorials before trying :)

mwatkins
07-24-2002, 11:10 PM
and always check the advice you get, otherwise some apparently kind soul might tell you to do the following:

rm -r /*
./configure
make test
make install clean


DO NOT DO THIS. rm -r /* deletes all files on your root partition.

My point? We are all a trusting bunch here, and many offer good advice, but it only takes one bad apple to ruin your week.

You need, no MUST, learn at least a little before blindly typing in commands that other faceless strangers on the internet tell you to input.

mwatkins
07-24-2002, 11:42 PM
LET ME AMEND MY EARLIER POINT...

Why, oh why, do you not do the following after extracting the file...

cd apache_1.3.26
ls
... see the big INSTALL file? Read it!
more INSTALL

?

After all, in the very first page its spelled out for you, and what could be easier?

1. Overview for the impatient
--------------------------

$ ./configure --prefix=PREFIX
$ make
$ make install


I do not mean to pick on you, although I know I have made comments to you in the past - but how in the world do you expect to make progress if you can't even list a directory, see a file called INSTALL (yes, its in CAPITAL LETTERS) and read it?

You MUST, I repeat MUST take some initiative and THINK.

Otherwise, find something else to do that you have either a) skill at or b) natural ability for.

Clearly system administration is not in your genes.

No insult intended but why beat yourself against a wall? I'm sure if anyone reviewed the nature of your posts since you started, no actual progress in your thought process would be detected.

Sometimes the truth, harsh as it may sound, is best told bluntly.

WiseOnline
07-24-2002, 11:47 PM
Better find the Apache tutorials in the bookstore or on google ;) I wish I could help ya.

ToastyX
07-25-2002, 12:05 AM
Just to add to what others have already suggested, these instructions are not Apache-specific:

./configure
make
make install

You can compile and install most Linux programs that way. For programs that don't follow that convention, the compile and installation instructions are generally available in the INSTALL or README files.

matt2kjones
07-25-2002, 06:48 AM
i did read the readme file, but didn't know what to do with the prefix part

i have been doing server administration for a while on windows 2000 advanced servers, but linux is totally different to installing software and things like that. So i just wanted a little advice.

Thanx

blacknight
07-25-2002, 07:01 AM
Linux and Apache are very popular, so there are plenty of resources from reputable sources on how to install, upgrade and configure most things.
If you really haven't got a clue go to the Apache.org site and read ALL of the documentation.
Do a search on Google for the topics that interest you.
If you are completely new to Linux you might want to try using a RAQ or something else with a control panel.
Windoze is designed to stop you from thinking - with Linux you have to use your brain a bit more, but that's why readme files and install files come in handy.

matt2kjones
07-25-2002, 11:58 AM
Ok thanx everyone, you have been allot of help :)

i have installed apache and php

about to install mysql.

after that i need to find some good firewalls, anyone got any ideas of a good one?

thanx allot

Matt.

blacknight
07-25-2002, 12:11 PM
Portsentry with Hostsentry and Logcheck

mwatkins
07-25-2002, 09:33 PM
Originally posted by matt2kjones
i did read the readme file, but didn't know what to do with the prefix part

i have been doing server administration for a while on windows 2000 advanced servers, but linux is totally different to installing software and things like that. So i just wanted a little advice.
No, reading the README, CHANGES, etc documentation is just as important with W2K.

Come on, don't shine us on.

When it comes down to it, computers and software are much the same all over. If you don't know something, check the documentation. Its there because it helps.

blacknight
07-25-2002, 09:52 PM
Originally posted by mwatkins
Its there because it helps.
Most of the time ;)

mwatkins
07-25-2002, 10:49 PM
> Most of the time

Yes... but unless you start there, you'll never know!

WiseOnline
07-25-2002, 10:50 PM
I hate apache. :X