安装依赖
yum -y install gcc automake autoconf libtool makeyum -y install pcre-devel openssl openssl-devel gd-devel gcc gcc-c++
yasm-1.3.0 安装
cd yasm-1.3.0
./configure make && make install
安装ffmpeg
cd ffmpeg-xxx ./configure --prefix=/usr/local/ffmpeg make && make install
ln /usr/local/ffmpeg/bin/ffmpeg /usr/bin/ffmpeg
ln /usr/local/ffmpeg/bin/ffprobe /usr/bin/ffprobe
nginx安装
yum -y install openssl openssl-devel #若没有安装依赖执行此步
./configure --prefix=/usr/local/nginx --add-module=/root/nginx-rtmp-module
如果启动失败尝试下面命令 yum install compat-openssl10
# systemctl stop firewalld
# systemctl disable firewalld
标签:bin,minum,necessary,ffmpeg,make,usr,install,installation,local From: https://www.cnblogs.com/seven397873274/p/18357511