Technical Tip: View CentOS application versions
Description
Solution
<...>
OS Distro: CentOS Linux release 7.7.1908 (Core)
Java version: 1.8.0_242
Tomcat version: tomcat-7.0.76-11.el7_7.noarch
BIND version: bind-9.11.4-9.P2.el7.x86_64
DHCP version: dhcp-4.2.5-77.el7.centos.x86_64
SSH version: openssh-7.4p1-21.el7.x86_64
Apache version: httpd-2.4.6-90.el7.centos.x86_64
Nmap version: nmap-7.40-1.el7.bn.x86_64
MySQL version: mysql-community-server-5.6.31-2.el7.x86_64
NTP version: ntp-4.2.6p5-29.el7.centos.x86_64
Winbind version: samba-winbind-4.9.1-10.el7_7.x86_64
FreeRADIUS version: freeradius-3.0.21-1.x86_64
OpenSSL version: openssl-1.0.2k-19.el7.x86_64
This article provides instruction on how to view the appliance's CentOS application versions.
Solution
Login to the appliance CLI as root.
Most package versions can be verified by typing
sysinfo -v
sysinfo -v
Example:
Detailed Version Info
<...>
OS Distro: CentOS Linux release 7.7.1908 (Core)
Java version: 1.8.0_242
Tomcat version: tomcat-7.0.76-11.el7_7.noarch
BIND version: bind-9.11.4-9.P2.el7.x86_64
DHCP version: dhcp-4.2.5-77.el7.centos.x86_64
SSH version: openssh-7.4p1-21.el7.x86_64
Apache version: httpd-2.4.6-90.el7.centos.x86_64
Nmap version: nmap-7.40-1.el7.bn.x86_64
MySQL version: mysql-community-server-5.6.31-2.el7.x86_64
NTP version: ntp-4.2.6p5-29.el7.centos.x86_64
Winbind version: samba-winbind-4.9.1-10.el7_7.x86_64
FreeRADIUS version: freeradius-3.0.21-1.x86_64
OpenSSL version: openssl-1.0.2k-19.el7.x86_64
Packages that do not display using sysinfo can be verified individually using an rpm
command. The following example lists current sudo version:
rpm -qa | grep -i sudo
command. The following example lists current sudo version:
rpm -qa | grep -i sudo
The CVE's addressed in an update can also be verified. Example listing CVE's fixed in sudo
update:
rpm -q sudo --changelog | grep CVE
update:
rpm -q sudo --changelog | grep CVE
For details on CentOS Updates, see FortiNAC CentOS Updates in the Document Library.
