A bash script that installs NGINX with RTMP module.
Installs NGINX and dependencies: Current dependencies:
build-essential
libpcre3
libpcre3-dev
libssl-dev
unzip
zlib1g
zlib1g-dev
ufw
(Optional for firewall)
- Put file onto target machine. e.g:
wget https://raw.githubusercontent.com/YeloPartyHat/QuickRTMP/master/install.sh
- Navigate to the location you put the files using
cd
- Run file using
sudo bash install.sh
- Follow in-console prompts
- You may notice you can't immediately run the file when you place it. This is because you don't have the adequate permissions. To fix this, use:
chmod +x file.sh
RTMP by default uses port 1935.
All NGINX files are located in /usr/local/nginx
. This means the config file is located at /usr/local/nginx/conf/nginx.conf
Use with caution!
I am not responsible if you accidentally destroy your server or remove something important!