Installing nging,php

Source: Internet
Author: User

Http://www.zihou.me/html/2010/11/14/2658.html

Http://www.linuxidc.com/Linux/2011-04/34964p4.htm

Http://www.cnblogs.com/jsckdao/archive/2011/05/05/2038265.html

1. Download pcre-8.10.tar.gz (http://sourceforge.net/projects/pcre/files/pcre/)

#unzip Pcre-8.10.zip

#cd pcre-8.10

#./configure

#make && make Install

2. Download Nginx

# CD nginx-1.1.1

#./configure--prefix=/usr/local/nginx--with-http_stub_status_module

# Make && make install

Check if the installation is successful

Cd/usr/local/nginx/sbin

./nginx-t

The results show:

Nginx:the configuration file/usr/local/nginx/conf/nginx.conf syntax is OK

Nginx:configuration file/usr/local/nginx/conf/nginx.conf Test is successful

Start Nginx

Enter the Cd/usr/local/nginx/sbin directory below./nginx start Nginx

Check whether the start is successful

Enter http://192.168.15.132 in IE browser

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.