0% found this document useful (0 votes)
272 views21 pages

How To Install Nginx With RTMP Module On CentOS 8

This document provides instructions on how to install Nginx with the RTMP module on CentOS 8. It requires compiling Nginx after installing dependencies and downloading required components like OpenSSL and the RTMP module code. The compilation process configures and builds Nginx with RTMP support.

Copyright:

© All Rights Reserved

Available Formats

Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
272 views21 pages

How To Install Nginx With RTMP Module On CentOS 8

This document provides instructions on how to install Nginx with the RTMP module on CentOS 8. It requires compiling Nginx after installing dependencies and downloading required components like OpenSSL and the RTMP module code. The compilation process configures and builds Nginx with RTMP support.

Copyright:

© All Rights Reserved

Available Formats

Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 21

17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.

Net

Atlantic.Net Blog

How to Install Nginx with RTMP Module on


CentOS 8
November 20, 2020 by Hitesh Jethva (https://www.atlantic.net/author/hitesh-jethva/)

(179posts) under VPS Hosting (https://www.atlantic.net/category/vps-hosting/)

0 Comments (https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-

module-on-centos-8/#disqus_thread)

(https://facebook.com/sharer/sharer.php?

display=popup&u=https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-

rtmp-module-on-centos-8/)

(https://twitter.com/intent/tweet/?text=How to Install Nginx with RTMP Module

on CentOS 8&url=https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-

rtmp-module-on-centos-8/)

(mailto:?subject=How to Install Nginx with RTMP Module on CentOS

8&body=https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-

module-on-centos-8/)

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 1/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

(https://www.linkedin.com/sharing/share-offsite/?url=https://www.atlantic.net/vps-

hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/)

(https://reddit.com/submit/?url=https://www.atlantic.net/vps-hosting/how-to-

install-nginx-with-rtmp-module-on-centos-8/&resubmit=true&title=How to Install

Nginx with RTMP Module on CentOS 8)

(https://news.ycombinator.com/submitlink?u=https://www.atlantic.net/vps-

hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/&t=How to Install

Nginx with RTMP Module on CentOS 8)

RTMP is a Real-Time Messaging Protocol developed by Macromedia that can be used

to stream audio, video, and data over the Internet. Nginx RTMP is an Nginx-based

media streamer that comes with a lot of features including H264/AAC support, online

transcoding with FFmpeg, HTTP callback support, and an HTTP control module for

recording the audio/video.

In this tutorial, we will show you how to compile Nginx with the RTMP module and

create an RTMP live stream on CentOS 8.

Prerequisites
A fresh CentOS 8 VPS (/vps-hosting/) on the Atlantic.Net Cloud Platform

A root password configured on your server

Step 1 – Create an Atlantic.Net Cloud Server

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 2/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

First, log in to your Atlantic.Net Cloud Server (https://cloud.atlantic.net/?

page=userlogin). Create a new server (/cloud-hosting/how-to-create-new-atlantic-net-

cloud-server/), choosing CentOS 8 as the operating system with at least 2 GB RAM.

Connect to your Cloud Server via SSH and log in using the credentials highlighted at

the top of the page.

Once you are logged in to your CentOS 8 server, run the following command to update

your base system with the latest available packages.

yum update -y

Step 2 – Install Required Dependencies


Before starting, you will need to install the dependencies required to compile Nginx

with RTMP support. First, install the Development Tool group package with the

following command:

yum groupinstall 'Development Tools' -y

Next, install the EPEL repository with the following command:

yum install epel-release -y

Once installed, install other required dependencies using the following command:

yum install wget git unzip perl perl-devel perl-ExtUtils-Embed libxslt libxslt-devel libxml2
libxml2-devel gd gd-devel pcre-devel GeoIP GeoIP-devel -y

Once all the packages are installed, you can proceed to compile Nginx.

Step 3 – Download Required Components


First, you will need to download the required components to compile Nginx with

RTMP support.

First, download the latest stable version of Nginx with the following command:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 3/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

wget http://nginx.org/download/nginx-1.18.0.tar.gz (http://nginx.org/download/nginx-1.18.0.tar

Once downloaded, extract it using the following command:

tar -xvzf nginx-1.18.0.tar.gz

Next, download PCRE and Zlib with the following command:

wget https://ftp.pcre.org/pub/pcre/pcre-8.42.zip (https://ftp.pcre.org/pub/pcre/pcre-8.42.zip)


wget https://www.zlib.net/zlib-1.2.11.tar.gz (https://www.zlib.net/zlib-1.2.11.tar.gz)

Once downloaded, extract them with the following command:

unzip pcre-8.42.zip
tar -xvzf zlib-1.2.11.tar.gz

Once both are extracted, download OpenSSL with the following command:

wget https://www.openssl.org/source/openssl-1.1.0h.tar.gz (https://www.openssl.org/source/open

Next, extract the downloaded package with the following command:

tar -xzvf openssl-1.1.0h.tar.gz

Next, download the latest version of the Nginx RTMP Module from the Git repository

using the following command:

git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git (https://github.com/serg

Once all the components are downloaded, you can proceed to the next step.

Step 4 – Install Nginx with RTMP Support


First, change the directory to the Nginx with the following command:

cd nginx-1.18.0/

Next, configure Nginx with RTMP support using the following command:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 4/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

./configure --prefix=/etc/nginx \
--sbin-path=/usr/sbin/nginx \
--modules-path=/usr/lib64/nginx/modules \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/run/nginx.lock \
--user=nginx \
--group=nginx \
--build=CentOS \
--builddir=nginx-1.18.0 \
--with-select_module \
--with-poll_module \
--with-threads \
--with-file-aio \
--with-http_ssl_module \
--with-http_v2_module \
--with-http_realip_module \
--with-http_addition_module \
--with-http_xslt_module=dynamic \
--with-http_image_filter_module=dynamic \
--with-http_geoip_module=dynamic \
--with-http_sub_module \
--with-http_dav_module \
--with-http_flv_module \
--with-http_mp4_module \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_auth_request_module \
--with-http_random_index_module \
--with-http_secure_link_module \
--with-http_degradation_module \
--with-http_slice_module \
--with-http_stub_status_module \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/cache/nginx/client_temp \
--http-proxy-temp-path=/var/cache/nginx/proxy_temp \
--http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp \
--http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp \
--http-scgi-temp-path=/var/cache/nginx/scgi_temp \
--with-mail=dynamic \
--with-mail_ssl_module \
--with-stream=dynamic \
--with-stream_ssl_module \
--with-stream_realip_module \
--with-stream_geoip_module=dynamic \
--with-stream_ssl_preread_module \
--with-compat \
--with-pcre=../pcre-8.42 \
--with-pcre-jit \
--with-zlib=../zlib-1.2.11 \
--with-openssl=../openssl-1.1.0h \
--with-openssl-opt=no-nextprotoneg \
--add-module=../nginx-rtmp-module \
--with-debug

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 5/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Once the configuration process has been completed, you should get the following

output:

Configuration summary
+ using threads
+ using PCRE library: ../pcre-8.42
+ using OpenSSL library: ../openssl-1.1.0h
+ using zlib library: ../zlib-1.2.11

nginx path prefix: "/etc/nginx"


nginx binary file: "/usr/sbin/nginx"
nginx modules path: "/usr/lib64/nginx/modules"
nginx configuration prefix: "/etc/nginx"
nginx configuration file: "/etc/nginx/nginx.conf"
nginx pid file: "/var/run/nginx.pid"
nginx error log file: "/var/log/nginx/error.log"
nginx http access log file: "/var/log/nginx/access.log"
nginx http client request body temporary files: "/var/cache/nginx/client_temp"
nginx http proxy temporary files: "/var/cache/nginx/proxy_temp"
nginx http fastcgi temporary files: "/var/cache/nginx/fastcgi_temp"
nginx http uwsgi temporary files: "/var/cache/nginx/uwsgi_temp"
nginx http scgi temporary files: "/var/cache/nginx/scgi_temp"

Next, install Nginx with the following command:

make
make install

After installing Nginx, verify the installed version of Nginx with the following

command:

nginx -V

You should get the following output:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 6/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

nginx version: nginx/1.18.0 (CentOS)


built by gcc 8.3.1 20191121 (Red Hat 8.3.1-5) (GCC)
built with OpenSSL 1.1.0h 27 Mar 2018
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-
path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-
path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --
user=nginx --group=nginx --build=CentOS --builddir=nginx-1.14.0 --with-select_module --with-
poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with
http_realip_module --with-http_addition_module --with-http_xslt_module=dynamic --with-
http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_sub_module --
with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-
http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-
http_random_index_module --with-http_secure_link_module --with-http_degradation_module --
with-http_slice_module --with-http_stub_status_module --http-log-path=/var/log/nginx/access.lo
-http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-
path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http
uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp
--with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --
with-stream_realip_module --with-stream_geoip_module=dynamic --with-
stream_ssl_preread_module --with-compat --with-pcre=../pcre-8.42 --with-pcre-jit --with-
zlib=../zlib-1.2.11 --with-openssl=../openssl-1.1.0h --with-openssl-opt=no-nextprotoneg --add-
module=../nginx-rtmp-module --with-debug

Step 5 – Create a Systemd Service File for Nginx


Next, you will need to create an Nginx service file to manage the Nginx service. You can

create it with the following command:

nano /lib/systemd/system/nginx.service

Add the following lines:

[Unit]
Description=nginx - high performance web server
Documentation=https://nginx.org/en/docs/ (https://nginx.org/en/docs/)
After=network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/var/run/nginx.pid
ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID

[Install]
WantedBy=multi-user.target

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 7/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Save and close the file when you are finished, then reload the systemd daemon with the

following command:

systemctl daemon-reload

Next, start Nginx and enable it to start at system reboot with the following command:

systemctl start nginx


systemctl enable nginx

Step 6 – Configure Nginx to Use RTMP


First, create a backup copy of the Nginx main configuration file with the following command:

mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.bak

Next, create a new Nginx configuration file using the following command:

nano /etc/nginx/nginx.conf

Add the following lines:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 8/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

worker_processes auto;
events {
worker_connections 1024;
}

# RTMP configuration
rtmp {
server {
listen 1935; # Listen on standard RTMP port
chunk_size 4000;

# Define the Application


application show {
live on;
# Turn on HLS
hls on;
hls_path /mnt/hls/;
hls_fragment 3;
hls_playlist_length 60;
# disable consuming the stream from nginx as rtmp
deny play all;
}

}
}

http {
sendfile off;
tcp_nopush on;
aio on;
directio 512;
default_type application/octet-stream;

server {
listen 8080;

location / {
# Disable cache
add_header 'Cache-Control' 'no-cache';

# CORS setup
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length';

# allow CORS preflight requests


if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Max-Age' 1728000;
add_header 'Content-Type' 'text/plain charset=UTF-8';
add_header 'Content-Length' 0;
return 204;
}

types {
application/dash+xml mpd;
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 9/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net
}

root /mnt/;
}
}
}

Save and close the file, then create a new directory for the HLS configuration and give

proper ownership:

mkdir -p /mnt/hls
chown -R nginx:nginx /mnt/hls

Save and close the file when you are finished.

Step 7 – Create RTMP Live Stream


Next, you will need to create a RTMP stream video and create a new live RTMP stream.

You can do this by editing Nginx main configuration file:

nano /etc/nginx/nginx.conf

Find the following lines:

hls_playlist_length 60;
# disable consuming the stream from nginx as rtmp
deny play all;
}

Add the following lines exactly below the above line:

application vod {
play /mnt/mp4s;
}

# RTMP stream using OBS


application stream {
live on;
}

Save and close the file, then restart the Nginx service with the following command:

systemctl restart nginx

Next, create a directory to store MP4 video:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 10/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

mkdir -p /mnt/mp4s

Next, download the sample video using the following command:

cd /mnt/mp4s
wget https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4 (https
myfile.mp4

Next, give proper ownership to the /mnt/mp4s directory:

chown -R nginx:nginx /mnt/mp4s

Step 8 – Install FFmpeg and Start Streaming Server


First, you will need to install FFmpeg in your server. By default, it is not installed in the

CentOS 8 default repository, so you will need to enable the Powertool repo in your

system. You can enable it with the following command:

yum install epel-release dnf-utils


yum-config-manager --set-enabled PowerTools
yum-config-manager --add-repo=https://negativo17.org/repos/epel-multimedia.repo (https://negat

Next, install the FFmpeg with the following command:

yum install ffmpeg -y

Once the FFmpeg is installed, start the streaming server with the following command:

ffmpeg -re -i /mnt/mp4s/myfile.mp4 -vcodec libx264 -vprofile baseline -g 30 -acodec aac -strict
f flv rtmp://your-server-ip:1935/show/vod

Step 9 – Test RTMP Streaming


Next, you will need to test the RTMP vod stream with VLC media player.

Once the client system, open the VLS media player, go to VLC Media => Open Network

Stream. You should see the following screen:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 11/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Provide your RTMP streaming server URL and click on the Play button.

Once you are connected successfully, you should see your MP4 video in the following

screen:

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 12/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Conclusion
In the above tutorial, you learned how to install Nginx with RTMP support. You also

learned how to configure Nginx to stream MP4 video and play it with VLC media player

from the remote system. Try installing Nginx with RTMP support on VPS Hosting

(/vps-hosting/) from Atlantic.Net today!

< Older post (https://www.atlantic.net/vps-hosting/how-to-allow-remote-

connection-to-mysql-database-server/)

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 13/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Newer post > (https://www.atlantic.net/dedicated-server-hosting/top-ps-

command-examples-to-monitor-your-linux-processes/)

Get A Free To Use Cloud VPS (/cloud-hosting/)

Free Tier Includes:

G3.2GB Cloud VPS Free to Use for One Year


50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

Looking for a Hosting Solution?

We Provide Cloud, Dedicated, & Colocation.

Seven Global Data Center Locations.

Flexible Private, Public, & Hybrid Hosting.

24x7x365 Security, Support, & Monitoring.

Contact Us Now! (/cloud-platform/#GetStarted)

(/press-releases/atlantic-net-attains-ssae-18-certification-compliance-

aicpa-standard-principles/) (/press-releases/atlantic-net-

offers-hipaa-audited-hosting-solution-to-give-medical-

companies-and-patients-protection/) (/press-

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 14/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

releases/atlantic-net-offers-hipaa-audited-hosting-solution-to-give-

medical-companies-and-patients-protection/)

Recent Posts

Creating a Cloud Server from an ISO (https://www.atlantic.net/vps-hosting/creating-

a-cloud-server-from-an-iso/)

Top 5 HIPAA-Compliant CRM Software Tools (https://www.atlantic.net/hipaa-

compliant-hosting/top-5-hipaa-compliant-crm-software-tools/)

How to Install Talkyard Forum with Nginx on Ubuntu 18.04

(https://www.atlantic.net/?p=33486)

How to Set Up a Mail server with Modoboa on Ubuntu 20.04

(https://www.atlantic.net/?p=33567)

How to install Socioboard on Ubuntu 20.04 (https://www.atlantic.net/?p=33549)

Get started with 12 months of free cloud VPS hosting


Free Tier includes:

G3.2GB Cloud VPS Server Free to Use for One Year

50 GB of Block Storage Free to Use for One Year

50 GB of Snapshots Free to Use for One Year

Get a free To Use Cloud VPS (/vps-hosting/)

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 15/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

ALSO ON ATLANTIC.NET

Set Up a Mail Server How to Add an What Linux Distro How to


with Postfix, … Additional IP to Your … Should You Use? … Rsync

a year ago • 4 comments a year ago • 1 comment 2 years ago • 1 comment 2 years a
In this tutorial, we will show Ubuntu allows you to add Let’s look at four Linux This tuto
you how to set up a full- multiple virtual IP addresses distributions that we feel are setting u
featured Mail server with … on a single network … the best available for … on a Linu

0 Comments Atlantic.Net 🔒 Disqus' Privacy Policy 


1 Login

 Recommend t Tweet f Share Sort by Best

Start the discussion…

LOG IN WITH
OR SIGN UP WITH DISQUS ?

Name

Be the first to comment.

✉ Subscribe d Add Disqus to your siteAdd DisqusAdd ⚠ Do Not Sell My Data

CLOUD PLATFORM (/CLOUD-PLATFORM/)


Virtual Cloud Servers (https://www.atlantic.net/vps-hosting/)
VPS Pricing & Plans (https://www.atlantic.net/vps-hosting/pricing/)
Secure Block Storage (https://www.atlantic.net/cloud-platform/block-storage/)
VoIP Cloud Servers (https://www.atlantic.net/voip-cloud-servers/)
Managed Private Cloud (https://www.atlantic.net/managed-private-cloud/)
Backup & Replication (https://www.atlantic.net/cloud-platform/backups/)
Cloud Containers (https://www.atlantic.net/cloud-containers/)

DEDICATED HOSTING (/DEDICATED-SERVER-HOSTING/)


Dedicated Server Hosting (https://www.atlantic.net/dedicated-server-hosting/)
Managed Private Cloud (https://www.atlantic.net/managed-private-cloud/)

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 16/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Virtual Private Cloud (https://www.atlantic.net/virtual-private-cloud/)


Colocation Hosting (https://www.atlantic.net/orlando-colocation-hosting-data-center/)
Disaster Recovery (https://www.atlantic.net/disaster-recovery/)
Managed Services (https://www.atlantic.net/managed-services/)

COMPLIANCE & SOLUTIONS (/COMPLIANCE-HOSTING/)


HIPAA Compliant Hosting (https://www.atlantic.net/hipaa-compliant-hosting/)
HIPAA WordPress (https://www.atlantic.net/hipaa-compliant-wordpress-hosting/)
Pharma & BioTech Solutions (https://www.atlantic.net/life-sciences-pharma-biotech/)
PCI Compliant Hosting (https://www.atlantic.net/pci-compliant-hosting/)
Digital Advertising (https://www.atlantic.net/digital-advertising/)

ABOUT US (/ABOUT-US/)
Why Atlantic.Net (https://www.atlantic.net/hosting-services-provider/)
Our Certifications (https://www.atlantic.net/hosting-services-provider/certifications-and-partnerships/)
Our Data Centers (https://www.atlantic.net/hipaa-data-centers/)
Media Press Room (https://www.atlantic.net/press-room/)
Partner Program (https://www.atlantic.net/partners/)
Career Opportunities (/careers/)
Contact Us (https://www.atlantic.net/about-us/corporate-contact/)

SUPPORT (/SUPPORT/)
Always Available Support (https://www.atlantic.net/hosting-services-provider/support-team/)
100% Uptime SLA (https://www.atlantic.net/hosting-services-provider/100-uptime-sla/)
Network Status (https://status.atlantic.net/)
Speed Test (https://www.atlantic.net/speed-test/)
Service Policies (https://www.atlantic.net/service-policies/)
Privacy Policy (https://www.atlantic.net/service-policies/privacy-policy/)
Cookie Settings

NEW YORK, NY (/HIPAA-DATA-CENTERS/NEW-YORK-HOSTING/)


100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

SAN FRANCISCO, CA (/HIPAA-DATA-CENTERS/SAN-FRANCISCO-CALIFORNIA-HOSTING/)


2820 Northwestern Pkwy,

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 17/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

Santa Clara, CA 95051

United States

DALLAS, TX (/HIPAA-DATA-CENTERS/DALLAS-TEXAS-HOSTING/)
2323 Bryan Street,

Dallas, Texas 75201

United States

ASHBURN, VA (/HIPAA-DATA-CENTERS/ASHBURN-VIRGINIA-HOSTING/)
1807 Michael Faraday Ct,

Reston, VA 20190

United States

ORLANDO, FL (/ORLANDO-COLOCATION-HOSTING-DATA-CENTER/)
440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

TORONTO, CANADA (/HIPAA-DATA-CENTERS/TORONTO-CANADA-HOSTING/)


20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

LONDON, UK (/HIPAA-DATA-CENTERS/LONDON-UK-HOSTING/)
14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

SALES: 888-618-3282
 INTL: +1-321-206-3734

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 18/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

(http

s://

ww

w.fa

cebo

ok.c

om/

Atla

ntic

Net)

RESOURCES

How to Make Storage HIPAA Compliant (/hipaa-compliant-hosting/top-10-considerations-for-hipaa-compliant-file-


storage/)
How to Make WordPress HIPAA Compliant (/hipaa-compliant-wordpress-hosting/#Make-WordPress-HIPAA-
Compliant)
How to Make File Sharing HIPAA Compliant (/hipaa-compliant-hosting/hipaa-compliant-file-sharing/)
How to Make a Database HIPAA Compliant (/hipaa-compliant-hosting/top-10-considerations-for-a-hipaa-
compliant-database/)
How to Make a Website HIPAA Compliant (/hipaa-compliant-hosting/how-to-make-website-hipaa-compliant/)
How to Become HIPAA Compliant (/hipaa-compliant-hosting/how-to-become-hipaa-compliant/)

What is HIPAA Compliant Hosting? (/hipaa-compliant-hosting/#what-is-hipaa-compliant-hosting)


What is HIPAA Cloud Hosting? (/hipaa-compliant-hosting/what-is-hipaa-cloud/)
What is HIPAA Compliance? (/hipaa-compliant-hosting/hipaa-compliance-guide-what-is-hipaa/)
What is Healthcare Hosting? (/hipaa-compliant-hosting/what-is-healthcare-hosting-hipaa/)
What is the HIPAA Security Rule? (/hipaa-compliant-hosting/what-is-the-hipaa-security-rule-safeguard-checklist)
What is a HIPAA BAA? (/what-is-baa-hipaa-business-associate-agreement/)

What is VPS Hosting? (/vps-hosting/#WhatisVPSHosting)


What is Cloud Hosting? (/vps-hosting/what-is-cloud-hosting/)

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 19/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

What is Colocation Hosting? (/orlando-colocation-hosting-data-center/what-is-colocation-hosting/)


What is VMWare? (/dedicated-server-hosting/what-is-vmware/)
What is Server Virtualization? (/vps-hosting/what-is-server-virtualization/)

What is an IIS Server? (/vps-hosting/what-is-an-iis-server/)


What is an Apache Server? (/vps-hosting/what-is-an-apache-server/)
What is MSSQL? (/vps-hosting/what-is-mssql/)
What is Database Hosting? (/dedicated-server-hosting/what-is-database-hosting/)
What is Block Storage? (/dedicated-server-hosting/what-is-block-storage/)

© 2021 Atlantic.Net, All Rights Reserved.

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 20/21
17/3/2021 How to Install Nginx with RTMP Module on CentOS 8 | Atlantic.Net

https://www.atlantic.net/vps-hosting/how-to-install-nginx-with-rtmp-module-on-centos-8/ 21/21

You might also like