admin 评论(0) 2021-08-17 系统



空白机器需要安装的工具:

yum install zip

yum install unzip

yum install -y git

yum -y install wget

yum install -y redhat-lsb

yum -y install bzip2

yum install gcc


# wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz

# tar zxvf yasm-1.3.0.tar.gz

# cd yasm-1.3.0

# ./configure

# make && make install 

下载SRS:

wget http://www.ossrs.net/releases/files/SRS-CentOS7-x86_64-3.0.168.zip

安装SRS:

echo "For CentOS7" &&

    unzip -q SRS-CentOS7-x86_64-3.0.168.zip && cd SRS-CentOS7-x86_64-3.0.168 && sudo bash INSTALL &&

    sudo systemctl start srs


输入A,回车


sudo systemctl start srs


安装ffmpeg:

wget http://www.ffmpeg.org/releases/ffmpeg-4.4.tar.gz

tar -zxvf ffmpeg-4.4.tar.gz

cd ffmpeg-4.4

./configure --enable-shared --prefix=/usr/local/ffmpeg./configure

make && make install



参考文档:

https://www.cnblogs.com/wangrong1/p/11951856.html

SRS下载地址:

http://www.ossrs.net/releases/download.html

评论
    你来打破0评论