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

青灯夜游
青灯夜游Original
2022-04-18 19:44:598925browse

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.

How to detect whether apache is installed in linux

#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”

How to detect whether apache is installed in linux

How to detect whether apache is installed in linux

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

How to detect whether apache is installed in linux

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:what is linux duNext article:what is linux du