How can I check what software is present on a linux server? This is a default configuration and I want to check if it has apache, php, mysql on it.
|
feedback
|
|
Depends on the distribution. For Red Hat, derivatives and other RPM-based distro's, you can type:
For Debian and derivatives, you can type:
Both will show a list of all installed packages on the machine. Specifically for you requirements, I'd do the appropriate one and grep -i on httpd (Red Hat) or apache (Debian et al.), php and mysql. | |||||||
feedback
|
|
Perhaps you'd like to know which software was installed lately. If so, then run | |||
|
feedback
|
|
If you have a GUI installed on a Debian box, you can use synaptic. There is a preconfigured filter to show all installed packages. | |||
|
feedback
|
|
there is one more way at /root/install.log will have all rpm install in redhat and centos /fedora server | |||
|
feedback
|
|
For Red Hat-derived distributions: | |||
|
feedback
|