Skip to content

Instantly share code, notes, and snippets.

@mokoshalb
Created January 18, 2023 16:30
Show Gist options
  • Save mokoshalb/81377988f2e2f0b4d18964d801267963 to your computer and use it in GitHub Desktop.
Save mokoshalb/81377988f2e2f0b4d18964d801267963 to your computer and use it in GitHub Desktop.
Installation guide for Nginx with RTMP module on Ubuntu Server
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