Created
June 21, 2020 13:41
-
-
Save shivasiddharth/5da06159026cacc18c28a0b077500272 to your computer and use it in GitHub Desktop.
Script to compile Nginx with RTMP module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git | |
sudo apt-get -y install build-essential libpcre3 libpcre3-dev libssl-dev | |
wget http://nginx.org/download/nginx-1.18.0.tar.gz | |
tar -xf nginx-1.18.0.tar.gz | |
cd nginx-1.18.0 | |
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module | |
make -j 1 | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment