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

Recommended Answers

All 12 Replies

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

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.

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

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

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

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.

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.

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.

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

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.