Nginx package rpm, nginxrpmInstall rpmbuild, generate a directory, and write a spec file with your own spec file. Due to the company's needs, nginx needs to add lua and other dependent packages, and then packages the rpm through the compilation
Case 1: Building an Nginx serverCase 2: User authenticationCase 3: Domain-based virtual hostCase 4:SSL Virtual Host1 Case 1: Building Nginx Server1.1 QuestionsInstall the Nginx service on the host with IP address 192.168.4.5 and the Nginx server,
Nginx compilation and Installation
Nginx is a high-performance Web and reverse proxy server with many excellent features:
As a Web server: Compared with Apache, Nginx uses less resources and supports more concurrent connections, reflecting higher
First, IntroductionNginx is a very lightweight HTTP server written by the Russians, Nginx, which is pronounced "engine X" and is a high-performance HTTP and reverse proxy server, as well as a IMAP/POP3/SMTP proxy server. Nginx was developed by the
1. Install nginx1.1 select stable versionWe compile and install nginx to customize our own modules. The machine CentOS 6.2 x86_64. First install the missing dependency package:# Yum-y install gcc-c ++ make libtool zlib-devel openssl-devel
Description
Operating system: CentOS 5.X 64-bit
Web server: 192.168.21.127, 192.168.21.128
Sites: Bbs.111cn.net and Sns.111cn.net deployed on two Web servers
To achieve the purpose:
Add two servers (main
1. Install pcre-devel
Yum-y install gcc-c ++ rpm-build mysql * php * automake autoconf libtool make -- skip-broken
Pcre is the pcre-devel library required by Nginx. The pcre Library is installed to enable Nginx to support the HTTPRewrite module.
PC:
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.