diff --git a/sh/install.sh b/sh/install.sh new file mode 100644 index 0000000..7959649 --- /dev/null +++ b/sh/install.sh @@ -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 \ No newline at end of file