LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-04-2007, 06:23 PM   #1
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
setting up basic http server


im am very new to linux red hat, this is my second day. and i have got red hat so i could set up an web server and have no idea on how. if anyone could walk me through the basics it would be wonderful. thank you
 
Old 10-04-2007, 06:34 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
You can get the basics by downloading an Apache HTTP Server installation, and reading the documentation that comes with it, as well as thoroughly perusing the Apache Project website. Apache is (the) most popular webserver, and is used by something like 60 or 70% of the production servers on the planet. It is relatively easy to set up, and VERY well documented.
After getting the basics from the documentation, installing it on your machine, and attempting to configure it using the well commented httpd.conf file, if there is stuff you don't understand or need help with, please ask and someone will be happy to try to address your problem.
 
Old 10-04-2007, 06:44 PM   #3
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
were would i be likley to find this documentation and downloads?
 
Old 10-04-2007, 06:52 PM   #4
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Google "Apache Project"
 
Old 10-04-2007, 06:58 PM   #5
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
alright, stupid question but how do i download it from a mirror? i feel pretty stupid. but everyone starts somewere.
 
Old 10-04-2007, 07:17 PM   #6
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
http://httpd.apache.org/download.cgi

The above link is to the download page, from whence one could download various versions of Apache. READ that page. You will see that it tells you what is the LATEST/BEST version of Apache released.

So Select a mirror that appeals to you, or is geographically near you, and then below the MIRROR selection, choose a version to download. From what I see there, you can download either a tar.gz archive, or a tar.bz2 archive. It's a matter of preference, however the bz2 archive will be smaller in size, if you're concerned about downloaad time. Also download or save the PGP and MD5 files listed beside the download you choose. Those will be used to verify that your download is not corrupt, and that it has not been tampered with.

May I suggest, that if you are new to Linux, your first course of action should not be to set up a HTTP server. You should spend a significant amount of time learning about your RedHat operating system first. THEN when you are comfortable with its operation and administration, THEN try going for a server installation.
I should add too, that many Linuxes, though I am not CERTAIN about Redhat, already contain an implementation of Apache. Perhaps yours does too.

Last edited by GrapefruiTgirl; 10-04-2007 at 07:18 PM.
 
Old 10-04-2007, 07:21 PM   #7
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
how would i know if it was already installed on my machine?
 
Old 10-04-2007, 07:27 PM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556

Read the documentation included with your distribution, or if you must, go to distrowatch and look up your installed operating system, and examine the "included packages".

You can find distrowatch by Googling "Distrowatch" or checking the links to the right of this page for one which looks as though it might have descriptions of various popular distros.
 
Old 10-04-2007, 07:47 PM   #9
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
im so lost. alright so apache is what? and i dont understand how to install it. someone please come to the rescue
 
Old 10-04-2007, 08:07 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,770

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
Ok so which Redhat version are you running? Apache is the webserver application and its service name is called httpd. Just to repeat what GrapefruiTgirl has stated that most distributions will load apache with its default installation. All you have to do is start it and/or configure it to start at boot. Post the version and we can provide some additional help.

Last edited by michaelk; 10-04-2007 at 08:08 PM.
 
Old 10-04-2007, 08:15 PM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Open up a browser and type

http://localhost:80


in the address bar
 
Old 10-04-2007, 08:18 PM   #12
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
May I ask, what is the intended purpose of this webserver? I mean, will it be run from your home? What kind of internet connection have you got for it? What sort of content will it host, and to whom will it be available?
Starting the httpd service is ONE thing, and a relatively easy one thing, but I figure you have a LOAD of reading and learning to do before you have much hope of running a server. Let me equate the situation to something like this:

So you can drive a car; This is like being able to use Windows. Now, someone sits you in the cockpit of a passenger airplane. It isn't a car, and there is a lot of stuff you have to learn, to get the airplane to do anything useful.

I am not trying to be harsh, and please don't take my comments that way, but I feel you have no clue what it is that you are trying to do, nor any idea what is involved. Reading all the documentation you can find, is a good place to start, and when you realize that you are often reading stuff that you already read somewhere else, THEN you may have some idea what needs to be done to get a server up and running, with some sort of content on it.

As an aside, have you got a website that you plan to host on this server? And if not, where will you get one? Can you write HTML, or another suitable markup language to create yourself a website?

Again, I'm not being critical, but without some idea what you are trying to do, you are only going to wind up frustrated, though we will try to help where we can.
 
Old 10-04-2007, 08:20 PM   #13
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
red hat 9. im just so lost and want to do this and have no clue about linux. but how do i know if apache is installed. i got apache configuration. but i dont think that is apache. is it?
 
Old 10-04-2007, 08:22 PM   #14
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
What happens if you do what I asked?
 
Old 10-04-2007, 08:23 PM   #15
jeffm2792
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
yes i have a one web page up right now. and i will eventually have a few others, and i just think it would be something new. im only 15 and i just would like to learn and so i aint gotta pay for a server every year.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Apache HTTP server anigma Linux - Networking 1 09-09-2006 02:29 PM
help in setting up http server on FC3 aybhaveatlinux Linux - Server 1 08-17-2006 01:23 PM
Setting up a basic email server Elijah Linux - Networking 2 09-02-2005 02:40 AM
Setting up Apache HTTP server Micro420 Linux - Networking 32 03-26-2005 04:53 AM
Setting up HTTP server squirellplaying Linux - Newbie 8 05-02-2004 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration