Created
January 18, 2023 16:30
-
-
Save mokoshalb/81377988f2e2f0b4d18964d801267963 to your computer and use it in GitHub Desktop.
Installation guide for Nginx with RTMP module on Ubuntu Server
This file contains 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
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install -y git build-essential ffmpeg libpcre3 libpcre3-dev libssl-dev zlib1g-dev | |
git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git | |
wget https://nginx.org/download/nginx-1.18.0.tar.gz | |
tar -xf nginx-1.18.0.tar.gz | |
cd nginx-1.18.0 | |
sudo ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module | |
make -j 1 | |
sudo make install | |
/usr/local/nginx/sbin/nginx | |
/usr/local/nginx/sbin/nginx -s stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment