LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-04-2003, 12:43 AM   #1
KnightEagle
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 9.0
Posts: 11

Rep: Reputation: 0
Question Help setting up web server


Just got the RedHat 9.0 set up and running now i want to set up a web server and to run an http web base game on it with cgi scripts what do i need to do and how to do it need someone that has lots of time on their hands to ansewer dumb quetions. emails are welcome also at knighteagle1@earthlink.net
 
Old 10-04-2003, 05:54 AM   #2
ilpadrino
Member
 
Registered: Oct 2003
Location: Spain
Distribution: Fedora
Posts: 104

Rep: Reputation: 15
First of all, tou have to install the web server daemon. So you have to install "Apache". Look for it in your Red Hat Distribution CDs. Once you have installed it, you must think which features you want to improve in your web page. Because depending on this, you must additionally install another packages as:

mysql-server: In case you need connections to database
mysql-client: The same

php-script: If you are going to use this language for building your page.

After that, you must configure the options in the httpd.conf file to configure Apache (the web server), allowing to execute cgi-scripts.
If you are building your page in PHP, you have to configure some options in the php.ini (located in the /etc directory). Then go to
/etc/rc.d/init.d and start the daemon (./httpd start). Then you can test it opening your browser and going to http://localhost/

If you need to create database, then you have to install mysql, and I recommend you to install phpMyAdmin to manage the database. If you need this, I shall help you later.

Be lucky
 
Old 10-04-2003, 11:13 AM   #3
KnightEagle
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
i belive i have appache loaded i think have to remmber firist time with linux my other computers are windows xp or lower class. see system settings/server settings/a)Domain Name Service b)HTTP Server c)NFS Server d)Samba Server EServices My ICQ #4082659 will reinstall icq on my window base machine //tryed to have it load on the server but it came back saying natutills has no installed viewer capble of displaying rest is location think its tranalated as saying that will not run on this machine// first things first setting up the web server
 
Old 10-04-2003, 01:21 PM   #4
ilpadrino
Member
 
Registered: Oct 2003
Location: Spain
Distribution: Fedora
Posts: 104

Rep: Reputation: 15
Sorry, I donṫ know what you mean with ICQ and window base machine. If you have installed all servers you say, then you have to start the web server daemon, going to "/etc/rc.d/init.d/" and execute "./httpd start". Then test it from your browser typing in the URL "http://localhost/" and then you can see a testing web page of Apache.

If you have an intranet with 2 or more computers, then you can check from another computer typing in the URL the ip number of your linux machine: i.e "http://192.168.0.2/".

Please be sure your daemon start properly. After that, you can configure the options in httpd.conf file. Remember that after making changes in this file, you must restart the daemon to test the new options executing "./httpd restart".

Greetings
 
Old 10-05-2003, 12:20 AM   #5
KnightEagle
LQ Newbie
 
Registered: Oct 2003
Distribution: RH 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
didnt work think im going to have to buy the book redhat 9.0 the bible this is a new animal to me totaly finding some very interesting things in it but what does what is beyond me at this point think of me and it as im a baby and cant roll over yet but with windows i can run with the best// think what i need is step by step such as a to b to c this goes here and that goes there im totaly lost now im not going to give up will get the book then i may have a fighting chance // ill still come back here and post what ive found out and got working // browser and screen saver so far nothing else
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 own web server kirtimaan_bkn Linux - Networking 14 11-20-2005 09:33 PM
Setting up a web server and not only that... axelwing Linux - Newbie 4 05-19-2005 09:40 AM
Setting up a web server Spyiish Mandriva 15 11-09-2004 08:06 PM
Setting up a web server lemonsensation Linux - Newbie 3 08-13-2004 12:20 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:44 AM.

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