1. Install nginx1.1 Nginx Package and its dependent package download for module dependencies, Nginx relies on the following three packages:
Gzip module requires zlib library (http://www.zlib.net/);
Rewrite module requires Pcre library
Requirements: Use a different domain name. Access the same IP, get to a different port server(Linux server)
Installation of Nginx required environment (may be installed)650) this.width=650; "src="
Nginx (pronounced with engine x) is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy server that is released under a bsd-like protocol. Developed by Russian program designer Igor Sysoev, originally used by Russia's large
1: Operating system environment is as follows[Email protected] ~]# Cat/etc/issuecentos release 6.4 (Final) Kernel \ r on an \m[[email protected] ~]# uname-r2.6.32-358 . El6.x86_64[[email Protected] ~]#2:nginx Package Version[email protected] src]#
First, Nginx Introduction: Nginx is a free, open source, high performance and lightweight HTTP server and reverse proxy server. Nginx is known for its high-performance, stable, feature-rich, simple configuration and low system resource utilization.
Nginx Web server is currently the most widely used in it enterprises, why it is so people love it, because of its high performance, stability, and more and more development, that nginx in the enterprise how to apply it? How to configure Nginx static
Nginx Configuration Installation Tutorial
Nginx ("Engine x") is a high- performance HTTP and reverse proxy Server, also a imap/pop3/smtp proxy Server. Nginx was developed by Igor Sysoev for the second rambler.ru site of Russian traffic, the
1) Download Nginx
Java code
wget http://nginx.org/download/nginx-0.8.54.tar.gz
The default is downloaded to the current directory, which is the PWD directory
2) Unzip
Java code
Tar zxvf nginx-0.8. tar.gz.
Enter Nginx
1. Select the source directory
Selected Directory/usr/local/
cd/usr/local/
2. Install the Pcre library (prepare the installation package Pcre-8.36.zip to the local directory)
cd/usr/local/
Zip Pcre-8.36.zip
CD pcre-8.36
./configure (Compilation)
In the previous period, the lamp environment was installed under Ubuntu, recording the installation process for easy access later.
Install lamp Environment
① Installing
Apache
sudo Install apache2
The system will pop up prompt, at
: This article mainly introduces the installation of nginx-180 under linux, for PHP tutorials interested in students can refer. 1. download URL: http://nginx.org/en/download.html
Select nginx-1.8.0
2. Installation
Tar zxvf nginx-1.8.0.tar.gzCd
: This article mainly introduces nginx Study Notes 1 using nginx to build a simple HTTP server. if you are interested in PHP tutorials, refer to it. As a lightweight http server, nginx can handle highly concurrent http requests. It can also be
Regular matching using Pcre library functions in PHP
Preg_match () commonly used to determine whether a class of character patterns exist
If the pattern contains delimiters, the delimiter needs to be escaped with a backslash (\)
/http:\/\//
1> Install
I use VirtualBox + Ubuntu to install Nginx.
First make sure that the following libraries are installed.
a.gcc
B. pcre Regular Expression Library
C.zlib
D.openssl
I just installed the Pcre library manually.
sudo apt-get update sudo
PHP5.4.14andPHP5.3.24released! The & nbsp; PHP & nbsp; development & nbsp; team & nbsp; announces & nbsp; the & nbsp; immediate & nbsp; av PHP 5.4.14 and PHP 5.3.24 released!
The PHP development team announces the immediate availability of PHP 5.4.14
: This article describes how to install the Nginx compiling and deployment environment. if you are interested in the PHP Tutorial, refer to it. Nginx can be installed using the default packages on various platforms. This article describes how to use
: This article describes how to install nginx in linux. For more information about PHP tutorials, see. Because nginx installation depends on other libraries, you must first install the dependent libraries. The following are detailed
Because Nginx installation relies on other libraries, it is necessary to install the dependent libraries first. Here are the concrete steps
Http://nginx.org/download/nginx-1.2.8.tar.gz1. Installing the Pcre Library
cd/usr/local/
wget
Nginx is a high-performance HTTP and reverse proxy server, also a IMAP/POP3/SMTP server. In the case of high connection concurrency, Nginx is a good alternative to Apache server: Nginx in the United States is a virtual hosting business owners often
Introduction: This paper briefly introduces the installation and startup process of Nginx under Linux platform.
Note: Because Nginx on the Windows platform is not as good as the Linux platform in terms of performance and usage, this tutorial
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.