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)






nmtui : Configurer une adresse IP sous Linux
Empêcher les utilisateurs sudoers d’exécuter des cmds sudo
Résoudre l’erreur : WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
9 outils de Troubleshooting réseau qu’un administrateur réseau doit connaitre
Fail2Ban : How to protect Linux services