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:
@@ -120,14 +120,12 @@ Install_mysql()
|
||||
if [ "$OSNAME" == "centos" ] && [ "$VERSION_ID" == "7" ];then
|
||||
yum install centos-release-scl -y
|
||||
yum install devtoolset-9 -y
|
||||
scl enable devtoolset-9 bash
|
||||
# scl enable devtoolset-9 bash
|
||||
gcc --version
|
||||
|
||||
WHERE_DIR_GCC=`which gcc`
|
||||
WHERE_DIR_GPP=`which g++`
|
||||
WHERE_DIR_GCC=/opt/rh/devtoolset-9/root/usr/bin/gcc
|
||||
WHERE_DIR_GPP=/opt/rh/devtoolset-9/root/usr/bin/g++
|
||||
echo $WHERE_DIR_GCC
|
||||
echo $WHERE_DIR_GPP
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d $serverPath/mysql ];then
|
||||
|
||||
Reference in New Issue
Block a user