Home  >  Article  >  Operation and Maintenance  >  What is Apache

What is Apache

云罗郡主
云罗郡主Original
2018-12-24 15:20:579150browse


What is Apache

1: What is Apache

Apache is used all over the world Web server software (HTTP server) is a mechanism that requires Web server software to build a server. We can also understand it as a Web server and popular server software.

2: How the Web server works

Generally, on a PC or server, the software itself is useless, we also need to use it to store and move content hardware box.

1.Web server role

When you use the Internet, you need to deal with a set of boxes and contents called multiple servers. Among them, the most important one can be said to be the Web server, whose basic The function is that the user of the website displays the data stored on the Web server according to the request, enters and responds to the request between the database servers, and if necessary, protects the data stored in the Web server and restricts access, generally in order to be able to access the website , must cooperate with other dedicated servers (DNS servers).

2. Protocol (HTTP)

Used when a visitor to the Web site requests the Web server to instruct the method (process) to change to the HTTP protocol. HTTP in this case stands for Hypertext Transfer Protocol, specifically, the part of the URL address of a website that a web browser enters and references http at the beginning.

3: Install and initialize Apache

Install Apache in the Linux operating system

What is Apache

sudo apt -y Please enter the install apache2 command, and the related packages will be installed automatically.

vi /etc/apache2/conf-enabled/security.conf and then edit the file.

To ensure security, we will try to reduce the leakage of server information on the error page, changing ServerTokens from OS to Prod per line 25. Also, each line 35 changes the ServerSignature from On to Off.

At this stage, when you visit the location (URL or IP address) where Apache is installed, the test page will be displayed and you can see that Apache is now up and running. It should be noted that since this file was unnecessary for the process, it was removed before publishing on the official website.

In Apache version 2.4, more than 120 modules are provided, with many basic functions that can be expanded.

The above is a complete introduction to what Apache is. If you want to know more about operation and maintenance, please pay attention to the php Chinese website.



The above is the detailed content of What is Apache. 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 a cloud serverNext article:What is a cloud server