mirror of
https://github.com/coturn/coturn.git
synced 2025-10-25 04:51:04 +02:00
CentOS 7 setup updated
This commit is contained in:
parent
73f891f666
commit
1c802bf49a
@ -1,6 +1,7 @@
|
|||||||
08/20/2016 Oleg Moskalenko <mom040267@gmail.com>
|
08/20/2016 Oleg Moskalenko <mom040267@gmail.com>
|
||||||
Version 4.5.0.4 'dan Eider':
|
Version 4.5.0.4 'dan Eider':
|
||||||
- OpenSSL 1.1.0 support added.
|
- OpenSSL 1.1.0 support added.
|
||||||
|
- CentOS 7 installation updated.
|
||||||
- hiredis and mongo compilation configuration fixed
|
- hiredis and mongo compilation configuration fixed
|
||||||
(fix provided by Harsha Bellur).
|
(fix provided by Harsha Bellur).
|
||||||
- RPM: Systemd optimization.
|
- RPM: Systemd optimization.
|
||||||
|
|||||||
@ -26,7 +26,7 @@ cd ${CPWD}
|
|||||||
|
|
||||||
# Platform file
|
# Platform file
|
||||||
|
|
||||||
echo "CentOS7.1" > ${BUILDDIR}/platform
|
echo "CentOS7.2" > ${BUILDDIR}/platform
|
||||||
|
|
||||||
cp ${CPWD}/epel7.install.sh ${BUILDDIR}/install.sh
|
cp ${CPWD}/epel7.install.sh ${BUILDDIR}/install.sh
|
||||||
|
|
||||||
|
|||||||
@ -1,39 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CPWD=`pwd`
|
|
||||||
|
|
||||||
# Epel installation script
|
# Epel installation script
|
||||||
|
|
||||||
EPEL=epel-release-7-6.noarch
|
sudo yum -y install epel-release
|
||||||
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}
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user