Home >Operation and Maintenance >Linux Operation and Maintenance >How to detect whether apache is installed in linux
How to detect whether apache is installed in Linux: 1. Log in to the system, click "Activities" on the desktop, and click "Terminal" in the sidebar; 2. In the open terminal, execute "apachectl" -v" or "httpd -v" command, if the version information is displayed, it means it is installed. If it is not displayed, it is not installed.
#The operating environment of this tutorial: centos 8 system, Dell G3 computer.
linux detects whether apache is installed
1. Log in to the system, click "Activities" on the desktop, and click " Terminal”
2. In the opened terminal, execute the following command to check whether apache is installed
apachectl -v //或 httpd -v
Note: These two commands have the same effect. If the version number of apache is displayed, it means
Related recommendations: "Linux Video tutorial》
The above is the detailed content of How to detect whether apache is installed in linux. For more information, please follow other related articles on the PHP Chinese website!