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
Install 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 process. The red part is the
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,
Resources to use:
Nginx Primary server One, Nginx standby server, use keepalived for downtime switching.
Tomcat server two, by Nginx reverse proxy and load balancing, here can build server cluster.
Redis server, used for session separation and
System based onubuntu server 14.04.4 amd64
Install the first step download and unzip the Nginx compressed packageDownload Nginx from Nginx website, or perform wget http://nginx.org/download/nginx-1.10.1.tar.gz direct download on LinuxUnzip the
Nginx (pronounced "engine X") is a free open source Web server software developed by Russian software engineer Igor Sysoev. Nginx was released in 2004, focusing on high performance, high concurrency, and low memory consumption issues. And with a
"Ready to Work"#在编译安装lnmp之前, first uninstall the existing RPM package.
The code is as follows
Copy Code
RPM-E httpdRPM-E MySQLRpm-e PHPYum-y Remove httpdyum-y Remove Mysql-server MySQLYum-y Remove PHPYum-y Remove
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.