954,148 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

help setting up web server

hey, i was wondering if anyone could tell me how or set me in the right direction in setting up a good web server on Redhat 9. make it as simple as possible cause i am pretty new to linux. i know the basic commands and that is about it.

Big K

big_k105
PFO Founder
Team Colleague
357 posts since May 2003
Reputation Points: 36
Solved Threads: 2
 

Hey, i forgot to ask about email servers too. i want to set up a web server and an email server but i dont no how. i have read a few tutorials but they havent done much good.

Big K

big_k105
PFO Founder
Team Colleague
357 posts since May 2003
Reputation Points: 36
Solved Threads: 2
 

I would go with Apache hands down. It's the best www server for Linux that I can think of. Unfortunately, I've configured it once many years ago and never since, so I don't think I would be the best person here to answer your questions.

I would try redhat.com and then type "apache" in the search box. A pretty handy apache tutorial should come up.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

hey, can anyone out there recommend a good book for a newbie idiot like me on how to do everything i could possible need to do in apache. even installing it and configuring it and compiling everying little thing. well thanks if you can.
and thanks for your time if you cant.

BIG K

big_k105
PFO Founder
Team Colleague
357 posts since May 2003
Reputation Points: 36
Solved Threads: 2
 

Dont waste good money on books when you have http://www.google.com :)

CyberJ
Newbie Poster
19 posts since Jul 2003
Reputation Points: 10
Solved Threads: 0
 

yeah i jst found out that i will never need to buy another book but i konw i will jst cause thats the way i am. but the company i work for has like 100 books online its pretty cool i havent tryed to access them from home but i will have to try it one of these days

big_k105
PFO Founder
Team Colleague
357 posts since May 2003
Reputation Points: 36
Solved Threads: 2
 

Well since u use redhat 9 u can use apt-get to install apache with one command 8) Next thing u have to do is to configure it and here is remedy for that http://httpd.apache.org/docs-2.0/ (for apache2 which I recommend to u).

Don't waste money on books...internet has everything to offer. Just point your browser to www.apache.org

Forse
Newbie Poster
13 posts since Jul 2003
Reputation Points: 10
Solved Threads: 0
 

hey, i was wondering if anyone could tell me how or set me in the right direction in setting up a good web server on Redhat 9. make it as simple as possible cause i am pretty new to linux. i know the basic commands and that is about it.

Big K


Just installed the apache RPM package and run /usr/sbin/httpd
There are too many lines in the apache config file to go over. Just post and ask anything you might want to know and we'll asnwer it. As for email server, kill the default sendmail and install Qmail. It claims qmail cannot be exploit.

freebie
Newbie Poster
10 posts since Aug 2003
Reputation Points: 10
Solved Threads: 0
 

Well if you don't know much about linux.. and don't know how to set up apache the hard way, try download webmin at http://www.webmin.com/ . Install that either with rpm package or tar source. For rpm do this rpm -ivh (for tar to tar -xvzf (package name)and etc..) and it should install the package, and then read the documentation on webmin.com for more info. Webmin is basically a gui thing.. that will look for module you have on your server, and plus it also install other module for you automatically. All you have to do is go to yourdomain.com:10000 as the default port and login as root of the linux account, and password. Then go to server option, it show you that apache is already install, if your server somehow don't have that module install... just go get the apache installation package and install it.. webmin will automatically locate it and activate your apache by default.

Anyway.. this is just a beginner way of approaching apache, and linux. It's best that you learn the hard way :).. because then you'll know many thing about linux.

argh2005
Newbie Poster
8 posts since Aug 2003
Reputation Points: 10
Solved Threads: 0
 
Just installed the apache RPM package and run /usr/sbin/httpd There are too many lines in the apache config file to go over. Just post and ask anything you might want to know and we'll asnwer it. As for email server, kill the default sendmail and install Qmail. It claims qmail cannot be exploit.

Installing a robust daemon like Apache with an RPM is raping Apache of all its (potential) glory.

subtronic
Junior Poster
117 posts since Aug 2003
Reputation Points: 44
Solved Threads: 1
 

This is a pretty good tutorial for doing the installation manually.

http://www.phpfreaks.com/tutorials/12/0.php

RH9 comes with RPM's for everything you need if you just want to have a local development server and have no interest in compiling from source.

You can actually use the Services applet in RH9 to start the httpd and mysqld services manually or configure them to automatically start for your runlevel. Once you've installed the RPM and started httpd, you should be able to hit http://localhost and get the default installation page. If you have difficulties accessing from remote machines just remember the default install of RH9 has a full firewall enabled.

If you want to learn how to configure Apache, PHP, MySQL from source then this tutorial will get you to the point where you'll be comfortable enough with the process that you can then use the installation instructions from http://apache.org/ , http://php.net , and http://mysql.com .

Hope this helps,

Mike

MikeL
Newbie Poster
8 posts since Aug 2003
Reputation Points: 10
Solved Threads: 0
 

thanks for all the help guys but i thought i would let you know i think i have my webserver up and running and i actually ended up using slackware 9 instead of rh9. but i think im still goin to add webmin to my computer. o and to check out my site go to

http://www.kylekonline.com
if it even works that is

big_k105
PFO Founder
Team Colleague
357 posts since May 2003
Reputation Points: 36
Solved Threads: 2
 

why dont you do this. download the tar / rpm file and then start from from installing the file.
just state the version number and then we will take it from there.

then on the email server , i think having postfix is better. it is simpler to use

wmanjonjo
Newbie Poster
8 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: