1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-24 12:31:00 +02:00

CentOS 7 setup updated

This commit is contained in:
Oleg Moskalenko 2016-08-20 23:34:42 -07:00
parent 73f891f666
commit 1c802bf49a
3 changed files with 4 additions and 34 deletions

View File

@ -1,6 +1,7 @@
08/20/2016 Oleg Moskalenko <mom040267@gmail.com>
Version 4.5.0.4 'dan Eider':
- OpenSSL 1.1.0 support added.
- CentOS 7 installation updated.
- hiredis and mongo compilation configuration fixed
(fix provided by Harsha Bellur).
- RPM: Systemd optimization.

View File

@ -26,7 +26,7 @@ cd ${CPWD}
# Platform file
echo "CentOS7.1" > ${BUILDDIR}/platform
echo "CentOS7.2" > ${BUILDDIR}/platform
cp ${CPWD}/epel7.install.sh ${BUILDDIR}/install.sh

View File

@ -1,39 +1,8 @@
#!/bin/bash
CPWD=`pwd`
# Epel installation script
EPEL=epel-release-7-6.noarch
EPELRPM=${EPEL}.rpm
BUILDDIR=~/rpmbuild
WGETOPTIONS="--no-check-certificate"
RPMOPTIONS="-ivh --force"
mkdir -p ${BUILDDIR}
mkdir -p ${BUILDDIR}/RPMS
sudo yum -y install wget
cd ${BUILDDIR}/RPMS
if ! [ -f ${EPELRPM} ] ; then
wget ${WGETOPTIONS} http://download.fedoraproject.org/pub/epel/7/x86_64/e/${EPELRPM}
ER=$?
if ! [ ${ER} -eq 0 ] ; then
cd ${CPWD}
exit -1
fi
fi
PACK=${EPELRPM}
sudo rpm ${RPMOPTIONS} ${PACK}
ER=$?
if ! [ ${ER} -eq 0 ] ; then
echo "Cannot install package ${PACK}"
cd ${CPWD}
exit -1
fi
cd ${CPWD}
sudo yum -y install epel-release