LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2002, 05:48 AM   #1
yeh
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Rep: Reputation: 0
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
 
Old 08-08-2002, 08:52 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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 )
 
Old 08-10-2002, 04:54 AM   #3
yeh
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 08-10-2002, 07:39 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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
 
Old 08-12-2002, 04:10 AM   #5
yeh
LQ Newbie
 
Registered: Aug 2002
Posts: 4

Original Poster
Rep: Reputation: 0
i did not find any thing related to java.
 
Old 08-12-2002, 06:47 AM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
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).
 
  


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
apache rpm red hat linux needed djkoe Linux - Newbie 7 02-26-2009 02:17 AM
How to upgrade Apache from 2.0.40 to 2.0.53 on Red Hat Linux 9? rebel Red Hat 1 03-27-2005 10:03 AM
Installing Apache Tomcat Server on RED HAT Linux 9 shelldinesh Linux - Software 0 10-06-2004 07:55 AM
Apache 2 on Linux Red Hat 7.3: have I been hacked? Zingaro2002 Linux - Security 4 06-03-2003 12:37 PM
Red Hat Linux 8 Apache index.html file muhammade Linux - General 10 02-11-2003 12:30 PM


All times are GMT -5. The time now is 12:45 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration