mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -40,6 +40,9 @@ bash ${rootPath}/scripts/getos.sh
|
||||
OSNAME=`cat ${rootPath}/data/osname.pl`
|
||||
VERSION_ID=`cat /etc/*-release | grep VERSION_ID | awk -F = '{print $2}' | awk -F "\"" '{print $2}'`
|
||||
|
||||
if [ "$OSNAME" == "alma" ];then
|
||||
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-${VERSION_ID}.rpm
|
||||
fi
|
||||
|
||||
if [ "$OSNAME" == "centos" ];then
|
||||
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-${VERSION_ID}.rpm
|
||||
@@ -82,6 +85,7 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install exif
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install intl
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install mcrypt
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install bcmath
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install openssl
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install gettext
|
||||
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install redis
|
||||
|
||||
Reference in New Issue
Block a user