nginx
環(huán)境:Ubuntu18.04
報(bào)錯(cuò):cannot open /etc/nginx/nginx.conf (No such file or directory)
解決方法:
sudo apt-get --purge remove nginx-common
sudo apt-get --purge remove nginx*
sudo apt-get autoremove
sudo apt-get install nginx
簡易安裝Nginx-rtmp-module
sudo apt-get install libnginx-mod-rtmp
ffmpeg
報(bào)錯(cuò):[tcp @ 0x357230] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
解決方法:
/etc/ffserver.conf 里
添加
ACL allow 127.0.0.1
ACL allow localhost
ACL allow 192.168.0.0 192.168.255.255