CentOS installation Nginx-1.6.2 + Security Configuration, centosnginx-1.6.2
Note: All of the following operations are performed in the CentOS 6.5 x86_64-bit system.
# Preparations #
Before installing Nginx, make sure that pcre and other basic
Install Nginx in the Linuxtar package
1. First install the dependency package (there are a lot of dependency packages. We use yum to install them)
yum -y install zlib zlib-devel openssl openssl-devel pcre pcre-devel
2.upload nginx-1.7.6.tar.gz to/
Install FastDFS + nginx module on Centos71. About FastDFS
From: http://www.oschina.net/p/fastdfsFastDFS is an open-source distributed file system that manages files, including file storage, file synchronization, and file access (File Upload and file
Nginx is installed today. refer to the following two articles.Article. This is the first article, but note that-Prefix =/usr/webserver/nginx/is followed by "/" to indicate a directory. Otherwise, you will be prompted that the parameter is invalid.
Solve the HTTP rewrite module requires the PCRE library.Installation Process
Download the nginxpackage (or wgethttp: // nginx.org/download/nginx-1.9.15.tar.gz) from http://nginx.org/download/nginx-1.9.15.tar.gzdirectly on the linux System)
Compile nginx and tung.pdf in ubuntu
One-click compilation and installation of nginx
# Nginx address official website installation cd/opt/& wget http://nginx.org/download/nginx-1.7.9.tar.gz & tar xvf nginx-1.7.9.tar.gz & cd nginx-1.7.9 & sudo
[Nginx] install lnmp environment in centos6.5, nginxlnmp
This article is an original CSDN blog from a bit drizzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.Preface
I haven't written a blog for a long time.
[Nginx] install the lnmp environment in centos6.5
Preface
I haven't written a blog for a long time. It's really bad. I feel more and more things are coming into contact. If I don't record them, I will slowly forget them. Because of service
Directory operation:
Rm-rf mydir/* Delete the mydir directory */
Mkdir dirname/* create a directory named dirname */
Cd mydir/* enter the mydir directory */
Cd-/* Go back to the upper-level directory */
Cd ../* back to the parent directory
Installation and configuration of Nginx on Linux
Installation and configuration of Nginx on Linux
1. Download nginx and dependent LibrariesNginx:Http://nginx.org/Pcre (Perl Compatible Regular Expressions ):Http://www.pcre.org/Https://sourceforge.net/
Nginx Reverse Proxy Server Load balancer page cache URL rewriting and read/write splitting
Outline
I. Preface
II. Environment preparation
3. install and configure Nginx
Iv. reverse proxy for Nginx
5. Load Balancing for Nginx
Vi. Nginx page
Use the YUM source on the official Nginx website to install Nginx
The first method is simple, that is, to use the official nginx yum source. We use cat to view the nginx. repo file. The command is as follows:
Cat/etc/yum. repos. d/nginx. repo
The
This article by show according to Lin Feng to provide friendship sponsorship, starting in the mud row world. Previous articles, we use Nginx are all in the Linux environment, today due to the needs of the work. You need to use Nginx to build a Web
The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-sized Web applications, such as the daily PV less than 10
[Email protected] nginx]# vim/etc/nginx/nginx.confUser Nginx Nginx; #nginx启动的用户Worker_processes 6; #如果负载以cpu密集型应用为主, such as SSL or compression applications, the number of workers should be the same as the number of
The general use of load balancing is to use different technologies depending on the stage of the site's ascent. Specific application needs to be specific analysis, if it is small and medium-sized Web applications, such as the daily PV less than 10
Installation of 1.nginx1.1 Extracting Nginx Files1.2 Nginx File Description3. Start Nginx4. Verify that the startup is successful2 configuration file (description)User Nginx; Nginx Operating account (RPM installation will automatically create this
1, http://nginx.org/download/nginx-1.6.3.tar.gz2.[Email protected] nginx-1.6.3]#./configure--prefix=/usr/local/nginx-------------------------------------------- ----------./configure:error:the HTTP Rewrite module requires the PCRE library. You can
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.