How To install Nginx-rtmp on my vps

Posted November 27, 2018 6.1k views
NginxUbuntu 16.04


I want to Install Nginx rtmp. Please Tell Me How to setup nginx server rtmp for streaming.

Thank you.

edited by bobbyiliev

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


I would recommend going through the official documentation on GitHub on how to install and configure Nginx RTMP:


  • He says to go to “nginx source directory” and run “./configure” but I ran this and got nothing:

    sudo find / -maxdepth 7 -wholename '*nginx/configure*'

    any idea which directory is the source dir ?

    • Hi there @kerryoco,

      As described in the GitHub page you need to first download the Nginx source files:

      Download & unpack nginx (you can also use svn)

      sudo wget
      sudo tar xzf nginx-1.14.2.tar.gz
      cd nginx-1.14.2

      Then inside the Nginx folder, you would be able to run the ./configure command.