LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Red Hat Linux 7.1 issues/Apache, java etc (https://www.linuxquestions.org/questions/linux-software-2/red-hat-linux-7-1-issues-apache-java-etc-27473/)

yeh 08-08-2002 04:48 AM

Red Hat Linux 7.1 issues/Apache, java etc
 
Dear friends

i am little bit familar with linux version 6.3 it was working fine with my windows 98. now i installed Red hat 7.1 but fail to find

1. where is java? on this system i try to find as whereis java on prompt get return
java:

2. when system startup all services started but i did not find about apache service running or not.

although localhost is pinging with 127.0.0.1

3. if i try to browse the test page of apache whether it is runnig or not from browser failed get localhost not found

4 the httpd.conf file facts are like
the server root is /etc/httpd
document root is /var/www/html

the above two facts leads me to confusion as i know document root is always defined under server root but here not.

please help me i will thankful to you all members


Regards

Mara 08-08-2002 07:52 AM

Re: Red Hat Linux 7.1 issues/Apache, java etc
 
Quote:

Originally posted by yeh

1. where is java? on this system i try to find as whereis java on prompt get return
java:

I'm not sure if java is installed by default. Maybe you've not choosen the package? BTW 7.1 is quite old, so maybe download newer java?

Quote:

2. when system startup all services started but i did not find about apache service running or not.
ps -e|grep httpd
If there's no result, apache is not started.

Quote:

3. if i try to browse the test page of apache whether it is runnig or not from browser failed get localhost not found
Do you have localhost configured in your /etc/hosts ?

Quote:

4 the httpd.conf file facts are like
the server root is /etc/httpd
document root is /var/www/html

the above two facts leads me to confusion as i know document root is always defined under server root but here not.
Not always. Document root is under server root in default Apache configuration file, but you can have it where you wish. No limitations (or I don't know if they exist :) )

yeh 08-10-2002 03:54 AM

Thanku Mara
i am sorry for late reply

I run this command "ps -e|grep httpd" and find nothing. but when i run httpd from root then i get few outputs for above command. now apache is running and i can test it from browser too.

i installed server so java must be included there but i find nothing for java.

Regards

Mara 08-10-2002 06:39 AM

To find if you have java installed you can use
rpm -q -a|less
this will show you the list of all packages installed in your system. You can also copy the list to a file:
rpm -q -a >> filename

yeh 08-12-2002 03:10 AM

i did not find any thing related to java.

Mara 08-12-2002 05:47 AM

So it looks you need to install it. Please visit Sun's website and download it (or it should be somewhere on your installation cds, I think).


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