nginx
环境:Ubuntu18.04
报错: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
报错:[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