CentOS 7 安装/部署 ZLMediaKit 流媒体服务器
-
系统:CentOS 7.9
部署环境之前已经安装 oneinstack,仅安装了 nginx
git clone --depth 1 https://gitee.com/xia-chu/ZLMediaKit cd ZLMediaKit #千万不要忘记执行这句命令 git submodule update --init yum -y install gcc yum -y install gcc-c++ # 安装 ffmpeg sudo rpm -v --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm yum -y install ffmpeg mkdir build cd build # 先看看是否有 cmake3 cmake3 .. make -j4
编译后的目录:/data/wwwroot/ZLMediaKit/release/linux