# 20191105

{% embed url="<https://www.itread01.com/content/1544615310.html>" %}

```
需要開兩台虛擬機，兩台皆需要做以下步驟:
```

```
yum groupinstall "Development Tools"
```

```
systemctl stop firewalld
systemctl disable firewalld
cat/etc/selinux/config or gedit /etc/selinux/config
check [SELINUX=disabled] and reboot
R1 terminal to do this :
mkdir ~/temp
cd ~/temp
wget http://nginx.org/download/nginx-1.9.9.tar.gz
wget https://github.com/arut/nginx-rtmp-module/archive/master.zip
yum install unzip
tar -xvf nginx-1.9.9.tar.gz
unzip master.zip
cd nginx-1.9.9
./configure --add-module=../nginx-rtmp-module-master/
make
sudo make install
```
