Quote:
Originally Posted by
bluridge
no, I am not referring to packages. many of our servers have other software installed like samba or tomcat or some collaboration software, and probably others. would you think all of these are installed in /opt only or are there other locations where they are installed?
There's few ways to check but no hard and fast rules. But in the end you must know what software you are looking for.
Most GNU softwares will create a "local" directory and install it under /usr like GCC gzip perl apache mysql etc ...
But some admins like to put it into /opt or /usr/opt or /var/opt(like oracle oratab)
The best place to look I will think is under /etc/init.d this is where most of the startup scripts are located then linked to /etc/rc2.d or /etc/rc3.d
cd /etc/init.d
grep -i oracle *
grep -i apache *
grep -i tomcat *
if it list the files then you know how to check further from there.
Personally I'm quite a lazy administrator, I dun like to do double job to create scripts under /etc/init.d then again softlink(ln -s) it to /etc/rc3.d, immediately I will put my application startup script into rc3.d and be done with it.
So different administrator have different ways of doing things.
So basically you have to search for what you want. If you dunno what you looking for try to do ps -ef > /tmp/xxx then slowly sift thru the file to see what is currently running on your box