Results 1 to 10 of 14
hi
i am useing redhat 9 and i wanted to turn my comp into a web server but i am a noob so and have no skill at all (the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-24-2003 #1Just Joined!
- Join Date
- Nov 2003
- Posts
- 9
Web Server
hi
i am useing redhat 9 and i wanted to turn my comp into a web server but i am a noob so and have no skill at all (the only commands i know are "cd" and "./") i was wondering if ther is some good tutorials or something that can help me out.
thank you
- 11-24-2003 #2Just Joined!
- Join Date
- Nov 2003
- Posts
- 4
here's what I do. First, download Apache from httpd.apache.org (get the newest Apache 2 release). Once you extract it somewhere you'll have to compile and install it.
First make a directory to install it in. As root (type su at the command line), run 'mkdir /www' to make a /www directory (keeps everything nice and simple). Now in your Apache directory which you just extracted the program to, run these commands:
./configure --prefix=/www --enable-so
make
make install
That will get Apache installed. To start it, run '/www/bin/apachectl start'
You will now be able to visit http://localhost/ in your web browser. That's the server on your computer. Now, simply put your web site files in /www/htdocs/
Is that simple enough? I didn't go through actually downloading and extracting the tar.gz file, but that's pretty basic info you should be able to find elsewhere.
- 11-24-2003 #3Just Joined!
- Join Date
- Nov 2003
- Posts
- 9
thank you very much for the reply
but how do i do stuff with it or does it have a a nice gewey so its really easy
thanks
- 11-24-2003 #4Just Joined!
- Join Date
- Nov 2003
- Posts
- 34
Re: Web Server
Pls visit this link, it will give you detailed procedure on how to setup apache 2x
Originally Posted by shadowfox
http://www.openna.com/documentations...ache/index.php
hope this helps.
- 01-26-2004 #5Just Joined!
- Join Date
- Jan 2004
- Posts
- 13
shakin, I used the instructions that you wrote above, but I get a problem when i type in make.
When I type in make it gives me the following error:
bash: make: command not found
What could be the problem? Thank you in advance.
- 01-26-2004 #6Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
the command "make" is not in your path...
try the command
#find / -name "make" -print
this will search the whole directory structure and find the file for you
if it exists...most probably though i guess you have not installed it...
try
#rpm -qa | grep make
and see if it returns you anyth...else you might want to install it.Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 01-28-2004 #7Just Joined!
- Join Date
- Jan 2004
- Posts
- 13
If I don't have it where could i get it? and how/where do I install it?
- 01-28-2004 #8Linux User
- Join Date
- May 2003
- Location
- CA
- Posts
- 370
go to
www.rpmfind.net
do a search for make and you should get a list of apckages, choose the one that is right for your distro and install it using the rpm utility.Fixing Unix is better than working with Windows.
http://nikhilk.homedns.org/projects/index.html
- 01-28-2004 #9Just Joined!
- Join Date
- Jan 2004
- Posts
- 13
Ok i downloaded make-3.80 and it said if you don't have make already installed to use the command sh ./build.sh and I did but it says this when i try:
then I tried rpm and in the man it saidCode:compiling ar.c... ./build.sh:@CC@:command not found
rpm -il (for install) --allfiles(to install all files) (name) but when i tried putting make as the name it says the name doesn't exist and I do not know what name it should be.
- 01-28-2004 #10
eh! my compliments to:shakin, you made the install sound so simple , so i tried it cause i was board, simple simple simple
OK now what?...where do i put the pages to have them served up?
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org


Reply With Quote
