Chapter 1501 Section Apache service introduction, installation and troubleshooting

Chapter 15 Apache service ·

 

15.1Apache Introduction

Is an Apache Web server software, there are a variety of products that can support SSL technology to support multiple virtual hosts. It is fast, reliable, and can be expanded through a simple API, the Perl / Python, etc. interpreter built into the server.

Apache is characterized by simple, fast, stable performance, and may make the proxy server to use. It can run on most computer operating system, due to its cross-platform security and is widely used.

HTTP Apache  Server (referred to as Apache ) is an Apache Software Foundation is an open source web server that can run on most computer operating systems, because of its multi-platform security and is widely used, is the most popular Web server software of One. It is fast, reliable, and can be extended through a simple API, the Perl / Python interpreter like compiled into the server.  [2] 

Apache HTTP Server is a modular server, from NCSAhttpd server, after several revisions, the world's number one use of Web server software.

It can run on almost all widely used computer platform on.

Apache server from NCSAhttpd, after several revisions, the world's most popular Web server software one. Apache is taken from "a patchy server" pronunciation, meaning full patch server, because it is free software , so people keep coming for it to develop new features, new features, modify the original defect. Apache is characterized by simple, fast, stable performance, and may make the proxy server to use.

Originally only for small or pilot Internet network, then gradually expanded to a variety of Unix systems, particularly Linux support for quite perfect. Apache has a variety of products that can support SSL technology to support multiple virtual hosts . Apache is a process for the structural basis of the process than the thread consumes more system costs, less suitable for multi-processor environment, therefore, when a Apache Web site expansion, usually increase server or cluster node expansion rather than increasing processor . Apache is still by far the most used Web server in the world, the market share of around 60%. Many of the world famous sites such as Amazon , Yahoo!, W3 Consortium, are Apache's Financial Times and other products, its success is based on its source code is open, there is an open development team to support cross-platform applications ( It can run on almost all Unix, Windows, Linux system platform) and its portability and so on.

Apache born very dramatic. When NCSAWWW server project stalled, those who use NCSAWWW servers begin to exchange them for a patch for the server, they soon realize that it is necessary to set up the forum to manage these patches. In this way, the birth of the Apache Group, the group later in the NCSA created based on Apache.

The Apache Web server software has the following features:

Apache Server configuration interface

1. Support for the latest HTTP /1.1 protocol

2. have a simple and powerful file-based configuration

3. Supports the Common Gateway Interface

4. Support for IP-based and name-based virtual hosting

5. Support a variety of ways of HTTP authentication

6. Integrated Perl processing module

7. Integrated proxy server module

8. Supports real-time monitoring server status and custom server logs

9. support server-side include directives (SSI)

10. Support Security Socket Layer (SSL)

11. provide tracking of user session

12. Support FastCGI

13. Adoption of the third party can support modules the Java Servlets 

15.2 Installation Apche

Thinking

1, wget http package
2, the installation dependencies, PCRE PCRE devel zlib-devel-GCC-GCC C ++ On Apr-util
. 3, extract the httpd package, the tar, the unzip
. 4,. / = Configure --prefix path --user = --group = user group, - with additional components name
5.echo $?
6.make the make install &&
7. into your directory httpd, apachectl join the environmental variables and starts
8, shut down the firewall and selinux
9, testing, host to access, or curl 127.0.0.1: port

Installation process:

  1. Install httpd

[root@httpd ~]# yum install httpd -y

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

 * base: mirror.jdcloud.com

 * extras: mirrors.aliyun.com

 * updates: mirrors.aliyun.com

Packages httpd-2.4.6-90.el7.centos.x86_64 installed and the latest version

Without any treatment

[root@httpd ~]# rpm  -qa httpd

httpd-2.4.6-90.el7.centos.x86_64

 

  1.   Uninstall command

[root@httpd ~]# rpm  -e(--nodebse) httpd

[root@httpd ~]# rpm  -qa httpd

  1. [root@httpd ~]# wget http://www.apache.org./dist/httpd/httpd-2.4.39.tar.gz

 

Guess you like

Origin www.cnblogs.com/hanjiali/p/11726375.html