CentOS 7 安裝 nginx-rtmp

划水的猫發表於2024-05-22

一、安裝依賴庫

1.gcc

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
......
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

# 未安裝:yum install -y gcc gcc-c++ 

2.pcre

$ rpm -qa pcre
pcre-8.32-17.el7.x86_64

# 未安裝:yum install -y pcre pcre-devel 

3.zlib

$ yum list installed | grep zlib*
zlib.x86_64                   1.2.7-21.el7_9             @updates               
zlib-devel.x86_64             1.2.7-21.el7_9             @updates

# 未安裝:yum install -y zlib zlib-devel 

4.openssl

$ rpm -qa openssl
openssl-1.0.2k-26.el7_9.x86_64

#未安裝:yum install -y openssl openssl-devel

相關文章