Solved

How To Setup Of Web Server Step by Step in Red Hat Linux 9.0

Posted on 2007-03-26
8
264 Views
Last Modified: 2013-12-06
How To Setup Of Web Server Step by Step in Red Hat Linux 9.0
I am a newbie to Red Hat Linux and would like to know step by step on how to
setup a Webserver. From A to Z with no assumptions that I now a specific
task in Linux, because most like I do not know it.

Thank you for your time.
0
Comment
Question by:avarela99
  • 5
  • 3
8 Comments
 
LVL 4

Expert Comment

by:mjutras
ID: 18799385
0
 
LVL 4

Expert Comment

by:mjutras
ID: 18799388
If you need help while following this HowTo just ask i'll help!
0
 

Author Comment

by:avarela99
ID: 18802292
OK, I saw the site but it still not giving me a step by step procedure process.
It assumes I know where to go to enter this information.
I am currently logged in to the KDE session and where to go from here
is my question. Please provide step by step on completing the process.
0
 
LVL 4

Expert Comment

by:mjutras
ID: 18802394
As the page says you should check at least if its installed by doing those procedures:

   1.  Start system-config-services
   2. Make sure that httpd and mysqld are started and selected to start on boot, then save the service configuration.
   3. Verify that your web server is working correctly by opening a browser and pointing it at http://localhost/ (which always points to the web server on your computer). You should see the test page for apache, the web server application.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:avarela99
ID: 18802528
Ok, I checked it, but it was under a different path.
1. System Settings -> Server Settings-> Services.
2. I did check both the httpd and mysqld and started the processes.
3. I checked the page and verified that the test page came up.

Now that I see the page where do I create the directory and place the website for
me to look at.

Thanks.
0
 
LVL 4

Expert Comment

by:mjutras
ID: 18802738
chekc in your

/var/www/

or

/var/www/html/

Try to place here a index.html with something like "test" and if it appears on your localhost web, you found where is your www root
0
 

Author Comment

by:avarela99
ID: 18802826
Ok, I tested it and it is working.
Now where do I go to setup the Static IP, and the email.
0
 
LVL 4

Accepted Solution

by:
mjutras earned 500 total points
ID: 18803039
You want to setup a static IP for your machine and an email server?

For redhat (if its same as redhat 8.0) static IP:

in:

/etc/sysconfig/network-scripts/ifcfg-eth0

you should set something like this (change settings to fit your needs):

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

For an e-mail server its a bit more challenging... I would recommand you an other Unix distrib like Debian, FreeBSD or CentOS...

If you have a fully support RedHat account (Its no longer completely free since a couple of years) You should check with your redhat support.

I have set up some mail servers on Debian and FreeBSD but never on redhat so I'll not be able to help you more on that part.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now