Nginx ("Engine X") is a high-performance Web and reverse proxy server developed by the Russian program designer Igor Sysoev and is also a IMAP/POP3/SMTP proxy server.In the case of high connection concurrency, Nginx is a good substitute for Apache
Add non-root userUnder Root permisionAddUser wedatepasswd wedate-> Input The new passwordchmod u+w/etc/sudoersvim/etc/sudoers add Wedate all= (All) A LL after root (search to root first): Wqchmod u-w/etc/sudoers
Install the necessary package
Nginx is a lightweight, high-performance HTTP and reverse proxy server. It is successfully installed on MAC today.
I installed it through brewhome, which is very simple. Brew install nginx is smooth all the way...
The following is the
First, download the library files that you need to rely on to install Nginx:1.1, select Source DirectorySelected Directory/usr/local/rtmpCd/usr/local/rtmp1.2, installing the Pcre LibraryCd/usr/local/rtmpTo www. pcre. org download pcre-8.37.tar.gz,
Analysis of Nginx Server Load balancer application cases
Lab environment 11. test hardware preparationThree virtual machines, two for load balancing, and one for RS
2. test software preparationSystem: Red Hat6.4 x86_64Software: nginx-1.8.1.tar.gz3.
Basic knowledge
CharacterPOSIX Extended Regular Expression functionsPerl-compatible Regular expression functionsFrom the message verification.
The format of the message:
Tenssun@163.com
Where Tenssun is the user name, 163.com is the server name
Nginx server configuration details
Nginx code is composed of a core and a series of modules. The core is mainly used to provide basic functions of Web Server and reverse proxy functions of Web and Mail. It is also used to enable network protocols,
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.