LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Help setting up web server (https://www.linuxquestions.org/questions/red-hat-31/help-setting-up-web-server-100045/)

KnightEagle 10-04-2003 12:43 AM

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 :newbie:

ilpadrino 10-04-2003 05:54 AM

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

KnightEagle 10-04-2003 11:13 AM

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

ilpadrino 10-04-2003 01:21 PM

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

KnightEagle 10-05-2003 12:20 AM

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


All times are GMT -5. The time now is 03:27 AM.