HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to build Nginx from Source Code | How to add module in Nginx after building from Source

7,268 views February 26, 2020 13:23

Watch on YouTube
ChannelServer Gyan

Description from the creator

In this video, I am going to explain how to build and install the Nginx from source code?
Steps:
Download Nginx tarball from nginx.org.
wget nginx.org/download/nginx-1.16.1.tar.gz
tar -xf nginx-1.16.1.tar.gz
cd nginx-1.16.1/
apt-get install build-essential
./configure
apt-get install zlib* gzip* libssl-dev
./configure --sbin-path=/usr/bin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-pcre --pid-path=/var/run/nginx.pid
make
make install
nginx -V

Nginx Play List:
youtube.com/watch?v=1fIN_clMig8&list=PL10Ao…

About this tutorial

Server Gyan published this 13:23 video tutorial on February 26, 2020. It has been watched 7,268 times on YouTube.

Category
Education
Duration
13:23
Published
February 26, 2020
Views
7,268
Likes
89

Tags

Share

Further reading

  • NGINX Docs | Installing NGINX Open Source docs.nginx.com

    Module Name Description--with-select_module, --without-select_module: Enables or disables building a module that enable NGINX to work with the select() method. The modules is built automatically if the platform does not…

  • Building nginx from Sources nginx.org

    --with-google_perftools_module enables building the ngx_google_perftools_module module that enables profiling of nginx worker processes using Google Performance Tools. The module is intended for nginx developers and is…

  • How to Build NGINX from source on Ubuntu 18.04 LTS howtoforge.com

    Build NGINX from source. NGINX is a program written in C, so you will first need to install a compiler tools. Install build-essential, git and tree packages: sudo apt install -y build-essential git tree. Download latest…

This tutorial in other languages