Apache version can be checked easily from the command line, the command used depends on the Linux distribution. In this guide we will check the apache version on CentOS and on Ubuntu.
Apache version on CentOS :
On CentOS we use the command below :
[root@srvCentOS ~]# httpd -v Server version: Apache/2.4.6 (CentOS) Server built: Apr 2 2020 13:13:23
Apache version on Ubuntu :
You can use the following command :
[root@srvUbuntu~]# apache2ctl -v Server version: Apache/2.2.16 (Ubuntu) Server built: May 12 2020 13:58:20
Or for more information :
[root@srvUbuntu~]# apachectl -V Server version: Apache/2.2.16 (Ubuntu) Server built: May 12 2020 13:59:20 Server's Module Magic Number: 20200213:24 Server loaded: APR 1.4.8, APR-UTIL 1.5.3 Compiled using: APR 1.4.8, APR-UTIL 1.5.2 Architecture: 32-bit Server MPM: prefork threaded: no forked: yes (variable process count)
Installation d’un certificat SSL sur un serveur Nginx
Configure chrony as an NTP client or server in Linux
Kubernetes : Le Scheduler ( Partie 2)
Mis en place d’un cluster kubernetes avec kubeadm
Fail2Ban : How to protect Linux services