When using Alibaba Cloud Server, we found it to be very clean and clean until almost nothing was installed. So we need to make some preparations when installing Nginx.
Installing Nginx requires SSL support and support for pcre
Support for installing pcre requires a C++ environment.
So, we need to install the C++ environment first.
This step is very simple. We directly input the command
yum install -y gcc gcc-c++
Car, OK.
If the installation fails, it is yum not installed or not found related files, or installed under Baidu, or configure other sites, not much to say here, baidu.
Then we started to install pcre support
I installed pcre-8.34
tar -zxvf pcre-8.34.tar.gz
cd pcre -8.34/
./configure --enable-utf8
make && make install
Next we start to install ssl
tar - Ixvf openssl-1.0.0l.tar.gz
cd openssl-1.0.0l
./configure
make && make install
Finally, install Nginx
Select the version you want to download
My current nginx-1.5.10
tar zxvf nginx-1.5.10.tar.gz
cd nginx-1.5.10
./configure --prefix=/usr/local/nginx --with-pcre=/usr/local/pcre-8.34 --with-http_ssl_module --with- Openssl=/usr/local/openssl-1.0.0l
make && make install
Here, your Nginx has been installed
1. Man I started with the man option because it is the most basic one in many ways. This command is
Compiled linux kernel has been 3 times, each compilation needs to go online to find the compilation
Install TOMCAT and JDK under Linux Step 1: Create a new boss user, username: boss, password
Linux ping external network packet loss solution
CentOS6.4 yum command to install php5.2.17
Performance query command under linux
Linux vi editor command Daquan
Linux copy and paste shortcuts
/etc/fstab file error, unable to enter Linux system
Configuring rdate time server tutorial under Linux
Nginx cross-city agent Internet access
Ghost creates an internal error solution
What should I do if the Win7 system IE10 browser cannot be uninstalled?
How to add HyperTerminal to Windows 7 system?
Virtual machine Linux shared host Windows folder
Release hidden network speed in windows xp [map]
Want to have a computer, the other party gives this price, a total of about 6,500; can you accept?
Win8 can not open this application how to do