Browse Source

添加 'sh/install.sh'

master
xailab 1 year ago
parent
commit
7b84ad9780
1 changed files with 21 additions and 0 deletions
  1. +21
    -0
      sh/install.sh

+ 21
- 0
sh/install.sh View File

@ -0,0 +1,21 @@
sudo yum -y install git
sudo yum -y install gcc
sudo yum -y install gcc-c++
sudo yum install openssl openssl-devel
wget https://github.com/Kitware/CMake/releases/download/v3.17.0-rc3/cmake-3.17.0-rc3.tar.gz
tar -xvf cmake-3.17.0-rc3.tar.gz
cd cmake-3.17.0-rc3
./configure
make -j4
sudo make install
cd ../
git clone --depth 1 https://gitee.com/xia-chu/ZLMediaKit
cd ZLMediaKit
git submodule update --init
mkdir build
cd build
cmake ..
make -j4

Loading…
Cancel
Save