Results 1 to 4 of 4
Hi
I m new to Linux
I need to find out whether Apache-tomcat is installed or not in a Linux system .
And also want know where Apache-tomcat is installed.
...
- 05-11-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 2
Check whether Tomcat is installed or not in Linux
Hi
I m new to Linux
I need to find out whether Apache-tomcat is installed or not in a Linux system .
And also want know where Apache-tomcat is installed.
Thanks in advance
Regard
Ramesh
Last edited by rameshkarthikeyan; 05-11-2009 at 12:50 PM. Reason: Modification
- 05-11-2009 #2
run the following command it will give you installation path
if it's there then you can start apache server usingwhereis httpd
then check your localhost using browser..for apache welcome page./etc/init.d/httpd start- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 05-11-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Whether: sudo yum list | grep -i tomcat
Where: /usr/share/tomcat5Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-12-2009 #4Just Joined!
- Join Date
- May 2009
- Posts
- 2
Thank you Lakshmipathi and Rubberman
This is worked but it is not usefull for me
i have to check whether tomcat is installed or not to build a rpm(Requires section of .spec file). so the needed command will work like if condition.
Example:
Requires /usr/bin/expect
in this rpm if expect is installed then we can installed the rpm.If it is not installed we cannot install the rpm till we install the expect package .
Like that i want to install a rpm if tomcat is installed . let me out for doing this [command also need for finding installed path of tomcat ].
Thanks


Reply With Quote