Kako videti verzije raznih SW na RHEL 6/CentOS 6 serverima

Kernel
# uname -a
Linux mail-2012.moj.domen 2.6.32-358.0.1.el6.i686 #1 SMP Wed Feb 20 11:05:00 EST 2013 i686 i686 i386 GNU/Linux
BIOS
# dmidecode |more
# dmidecode 2.11
SMBIOS 2.4 present.
364 structures occupying 17090 bytes.
Table at 0x000E0010.
…..
OS
# less /etc/redhat-release
Dovecot
# dovecot –version
2.0.9
Paziti, dva znaka “-” ispred reči “version”.
Sendmail
# rpm -qa|grep sendmail
sendmail-milter-8.14.4-8.el6.i686
sendmail-cf-8.14.4-8.el6.noarch
sendmail-8.14.4-8.el6.i686
Ili
# telnet localhost 25
Trying ::1…
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
220 mail-2012.moj.domen ESMTP Sendmail 8.14.4/8.14.4; Mon, 12 May 2014 12:03:12 +0200
MailScanner
# MailScanner -v| more
Running on
Linux mail-2012.moj.domen 2.6.32-358.0.1.el6.i686 #1 SMP Wed Feb 20 11:05:00 EST 20
13 i686 i686 i386 GNU/Linux
This is Red Hat Enterprise Linux Server release 6.4 (Santiago)
This is Perl version 5.010001 (5.10.1)

This is MailScanner version 4.84.5
Module versions are:
1.00 AnyDBM_File
1.30 Archive::Zip
0.23 bignum
1.11 Carp
…..
ClamAV
# rpm -qa|grep clam
clamav-0.97.6-1.el6.rf.i686
clamav-db-0.97.6-1.el6.rf.i686
Ili
# freshclam
ClamAV update process started at Mon May 12 14:31:12 2014
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.97.6 Recommended version: 0.98.3
DON’T PANIC! Read http://www.clamav.net/support/faq
main.cld is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
daily.cld is up to date (version: 18969, sigs: 946940, f-level: 63, builder: neo)
bytecode.cld is up to date (version: 236, sigs: 43, f-level: 63, builder: dgoddard)
RoundCubeMail
Videti na početku fajla :
# vi /usr/share/squirrelmail/roundcubemail/index.php
Gde je /usr/share/squirrelmail/roundcubemail lokacija na kojoj je stavljen RoundCubeMail.
MySQL
# mysql -V
mysql Ver 14.14 Distrib 5.1.67, for redhat-linux-gnu (i686) using readline 5.1
Paziti, tu je veliko slovo “V”.
IPtables
# rpm -qa|grep iptables
iptables-ipv6-1.4.7-9.el6.i686
iptables-1.4.7-9.el6.i686
SquirrelMail
Pogledati u fajl /usr/share/squirrelmail/config/@config.php
Apache
# httpd -V
Server version: Apache/2.2.15 (Unix)
Server built: Dec 5 2012 04:03:05
Server’s Module Magic Number: 20051115:25
Server loaded: APR 1.3.9, APR-Util 1.3.9
Compiled using: APR 1.3.9, APR-Util 1.3.9
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with….
-D APACHE_MPM_DIR=”server/mpm/prefork”
…..
Fail2ban
# rpm -qa|grep fail2ban
fail2ban-0.8.4-28.el6.noarch
VMWare-tools
# vmtoolsd -v
VMware Tools daemon, version 9.4.0.27746 (build-1399439)
Milter-greylist
# rpm -qa|grep greyl
milter-greylist-4.2.7-1.el6.rf.i686
Ili
# milter-greylist -r
milter-greylist-4.2.7 @lisse.hasselt.wieers.com:/dar/build/milter-greylist-4.2.7 Fri Jun 8 11:17:34 EDT 2012
Python
# python -V
Python 2.6.6
SSH
# ssh -V
OpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010
Saslauthd
# saslauthd -v
saslauthd 2.1.23
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap
Cron
# rpm -qa|grep cron
crontabs-1.10-33.el6.noarch
cronie-1.4.4-7.el6.i686
cronie-anacron-1.4.4-7.el6.i686
NTP
# ntpd –version
ntpd – NTP daemon program – Ver. 4.2.4p8