I. Process of dependence
1. Gzip module requires zlib library
2. Rewrite module requires Pcre library
3. SSL support requires OpenSSL library
Second, the CentOS Platform compilation Environment uses the following instructions, if CentOS is not
This article describes the Linux environment installation Nginx, the Linux system used here is CentOS 7.2.1. Download Nginx from Nginx website. The version used here is: 1.13.6.2. Upload the downloaded nginx to Linux, take the/opt/nginx directory as
One, download Apache 2.4 and dependent packagesApache website Download: http://apache.fayea.com/apache-mirror/httpd/Because Apache relies on APR, Apr-util, and pcre, it needs to be downloaded:APR + apr-util:http://mirror.bjtu.edu.cn/apache//apr/PCRE:
CentOS6.6 32-bit Minimal version: Install Nginx Mysql PHP Memcached and centos6.6nginx
CentOS is a free and stable Linux version released by Red Hat. Minimal is used in enterprise server applications, because Minimal is the CentOS "Purest" server
First, install the compilation tools and library filesYum-y install make zlib zlib-devel gcc-c++ libtool OpenSSL openssl-develSecond, first to install PCREPCRE function is to let Ngnix support Rewrite function.1, download PCRE installation package,:
1. Download Nginx, currently download the latest version can beOfficial website: http://nginx.org/en/download.html2. Compilation option Description, this part is very boring, but it is recommended to see, the new version adds a lot of new features# .
Generally we need to first install Pcre, Zlib, the former in order to rewrite rewrite, the latter in order to gzip compression.1. Select the source directoryCan be any directory, this article is selected/USR/LOCAL/SRCCd/usr/local/src2. Installing
First, install MySQL
At present, the Web server has rarely run static pages, if you want to run a dynamic site that of course, can not be separated from the database, although in the previous article has written how to install MySQL, but feel for a
Linux system CentOS7 first download the software that Apache needs to rely on1, Aprhttp://apr.apache.org/download.cgiwget Download Path http://mirror.bit.edu.cn/apache//apr/apr-1.5.2.tar.gzthe APR is used here.-1.5.2.tar.GZ2, apr-util same as Apr
Linux/centos installation of Nginx (RPM installation and source installation) detailed steps to install nginx RPM Package 1 on the Nginx official website to download an RPM package, is: Http://nginx.org/en/download.htmlwget http
Install nginx rpm package under CentOS www.169it.com 1 Download an RPM package on the Nginx official website, yes: http://nginx.org/en/download.htmlwget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm2
can provide a variety of service-side Management Toolkit geek, please contact me, will give FTP upload permission, wall too pit Download gzip module requires zlib library Embarrassing host zlib: wget
1.nginx Reverse proxy server commonly known as "static and dynamic Separation" (I have a simple installation here)First step: Install Apache
wget http://mirrors.hust.edu.cn/apache//httpd/httpd-2.4.25.tar.bz2
Tar jxf httpd-2.4.25.tar.bz2CD httpd-2.4.2
Have not written a blog for a long time, today, the impulse to record the source of the installation of httpd process, if there is a mistake hope everyone put forward, or improve, thank you Bo friends 650) this.width=650; "alt=" J_0058.gif
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.