Complete steps for Nginx installation on Linux servers

Source: Internet
Author: User
Tags install openssl openssl automake

1. Environment Preparation:

Server System version: CentOS 6.5

Nginx software version: nginx-1.13.9

2. Resource Preparation:

Nginx:http://nginx.org/download/nginx-1.13.9.tar.gz

3. Installation steps:

You can perform an installation of all missing dependency packages:

Yum Install GCC GCC  make Libtool zlib zlib-devel OpenSSL openssl-devel pcre pcre-devel

can also be installed separately, the details are as follows:

3.1. Install Pcre Library

Yum Install Pcre

Yum Install Pcre-devel

3.2. Install zlib Library

Yum Install zlib

Yum Install Zlib-devel

3.3. Installation of GCC, gcc-c++

Yum Install GCC

Yum Install gcc-c++

3.4. Installing OpenSSL

Yum Install OpenSSL

Yum Install Openssl-devel

3.5, install Automake, autoconf, Libtool, make

Yum Install Automake

Yum Install autoconf

Yum Install Libtool

Yum Install make

4, enter the/opt directory, download Nginx

[Email protected] ~]# cd/opt/wget http://nginx.org/download/nginx-1.13.9.tar.gz 

Unpacking the Nginx installation package

tar -zxvf nginx-1.13. 9. Tar

Installing Nginx

[[email protected] doc]#./configure--prefix=/opt/nginx--with-http_ssl_module--with- make makeInstall

5. Start Nginx

[Email protected] nginx-1.13. 9

Browser input IP Address: http://192.168.168.134

Complete steps for Nginx installation on Linux servers

Related Article

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.