Click to See Complete Forum and Search --> : Test web server locally ?
edhan
09-03-2003, 04:19 AM
Hi
Does anyone knows if I can test the web server locally through network? Example: My web server running RH8.0 under ip address: 192.168.1.118. So I am wondering if it is possible for me accessing it from another system with ip address: 192.168.1.119 ? If yes, how can I set it up to test?
Also, any idea how I can setup Mysql for RH8.0 ?
As I am not too familiar, I do hope it is not silly to ask.
Thank you.
Regards
Edward Han
je_fro
09-03-2003, 04:38 AM
http://192.168.1.118
edhan
09-03-2003, 05:02 AM
Hi
Just tried it but shows The page cannot be displayed.
Is there any setting I need to do ?
Regards
Edward Han
je_fro
09-03-2003, 05:28 AM
on the redhat machine, http://localhost doesn't show the page, look at apache.conf, and start the server. If it works, check on firewall settings.
tarcintr
09-03-2003, 07:39 AM
Maybe you should change your default page
at /etc/httpd/conf Directoryindex
and "telnet localhost ** " at console would be another way to check(** your port of apache)
mdwatts
09-03-2003, 07:50 AM
Check Redhat's own online documentation as they should have guides on setting up and running Apache and MySQL.
Both of those also include documentation in their packages.
rpm -ql apache
rpm -qa | grep mysql (to list the mysql rpm packages and then)
rpm -ql mysql
rpm -ql mysql-client
etc. to list the files installed by those packages and then look for the documentation (text and html).
edhan
09-03-2003, 08:26 AM
Hi
Okay. Thanks for the instruction. I will try it and see if it works.
Just tried it but didn't work.
When I do the: rpm -ql apache , it says not installed.
When I do the: rpm -ql mysql , same thing it says not installed.
What should I do next ?
Regards
Edward Han
mdwatts
09-03-2003, 04:39 PM
Query the entire rpm database for anything with apache or mysql in the package name.
rpm -qa | grep apache
rpm -qa | grep mysql
From mine...
# rpm -qa | grep apache
apache-1.3.26-57
apache-devel-1.3.26-57
# rpm -qa | grep mysql
mysql-shared-3.23.52-27
mysql-client-3.23.52-27
python-mysql-0.9.1-316
mysql-3.23.52-27
qt3-mysql-3.0.5-115
mysql-devel-3.23.52-27
perl-DBD-mysql-2.1017-1sco
If they are not installed, then install from your distros installation cd(s).
edhan
09-03-2003, 07:38 PM
Hi
Okay, I have did that and it shows nothing. Guess that means I have yet to install the Apache and mysql.
BTW, how do I proceed to install from the disk? Sorry for asking as I am very new to Linux. This is my first time doing it.
Thanks!
Regards
Edward Han
mdwatts
09-04-2003, 05:47 AM
Redhat's gui package manager may allow you do install rpm packages from your installation cd(s).
That or just mount the cd
mount /mnt/cdrom
and install the rpm packages with
rpm -Uvh /mnt/cdrom/RPMS/<packagename.rpm>
Check the root directory of the cd to see what directory the rpms exist in.
edhan
09-14-2003, 10:21 AM
Hi
After re-installing many times, it is finally working. I have downloaded all the mysql for 4.0.15 under shared, devel, client and server using rpmfind.net and get it running.
Regards
Edward Han
justlinux.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved.