Tuesday, 14 August 2018

Start Wowza in Centos7

iptables -I INPUT -p tcp --dport 80 -j ACCEPT
iptables -I INPUT -p tcp --dport 443 -j ACCEPT
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT
iptables -I INPUT -p tcp --dport 1935 -j ACCEPT
iptables -I OUTPUT -p tcp --dport 8080 -j ACCEPT
iptables -I INPUT -p tcp --dport 8087 -j ACCEPT
iptables -I INPUT -p tcp --dport 8083 -j ACCEPT
iptables -I INPUT -p tcp --dport 8084 -j ACCEPT
iptables -I INPUT -p tcp --dport 8086 -j ACCEPT
iptables -I INPUT -p tcp --dport 8088 -j ACCEPT
/etc/init.d/WowzaStreamingEngine restart
iptables -I INPUT -p tcp --dport 8087:8088 -j ACCEPT
iptables -I INPUT -p udp -m udp --dport 6970:9999 -j ACCEPT
chkconfig --level 345 WowzaStreamingEngine on
sudo service WowzaStreamingEngine start
sudo service WowzaStreamingEngineManager start
/etc/init.d/WowzaStreamingEngine start
/etc/init.d/WowzaStreamingEngineManager start
sudo /usr/local/WowzaStreamingEngine/bin/installsystemd.sh
sudo /usr/local/WowzaStreamingEngine/bin/installupstart.sh
systemctl daemon-reload
systemctl enable WowzaStreamingEngine.service
systemctl enable WowzaStreamingEngineManager.service
systemctl start WowzaStreamingEngine.service
systemctl start WowzaStreamingEngineManager.service