Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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.
  1. #1
    Just 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

  2. #2
    Just 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.

  3. #3
    Just 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

  4. #4
    Just Joined!
    Join Date
    Nov 2003
    Posts
    34

    Re: Web Server

    Quote Originally Posted by shadowfox
    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.
    Pls visit this link, it will give you detailed procedure on how to setup apache 2x

    http://www.openna.com/documentations...ache/index.php

    hope this helps.

  5. #5
    Just 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.

  6. #6
    Linux 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

  7. #7
    Just 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?

  8. #8
    Linux 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

  9. #9
    Just 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:

    Code:
    compiling ar.c...
    ./build.sh:@CC@:command not found
    then I tried rpm and in the man it said
    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.

  10. #10
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    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

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •