|
|
@ -61,7 +61,7 @@ Install_mysql() |
|
|
|
fi |
|
|
|
fi |
|
|
|
# ----- cpu end ------ |
|
|
|
# ----- cpu end ------ |
|
|
|
|
|
|
|
|
|
|
|
cd $serverPath/mdserver-web/plugins/mysql/lib && /bin/bash rpcgen.sh |
|
|
|
cd ${rootPath}/plugins/mysql/lib && /bin/bash rpcgen.sh |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -f ${mysqlDir}/mysql-boost-${VERSION}.tar.gz ];then |
|
|
|
if [ ! -f ${mysqlDir}/mysql-boost-${VERSION}.tar.gz ];then |
|
|
|
wget -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-${VERSION}.tar.gz |
|
|
|
wget -O ${mysqlDir}/mysql-boost-${VERSION}.tar.gz --tries=3 https://cdn.mysql.com/Downloads/MySQL-5.7/mysql-boost-${VERSION}.tar.gz |
|
|
@ -89,7 +89,7 @@ Install_mysql() |
|
|
|
OPENSSL_VERSION=`openssl version|awk '{print $2}'|awk -F '.' '{print $1}'` |
|
|
|
OPENSSL_VERSION=`openssl version|awk '{print $2}'|awk -F '.' '{print $1}'` |
|
|
|
if [ "${OPENSSL_VERSION}" -ge "3" ];then |
|
|
|
if [ "${OPENSSL_VERSION}" -ge "3" ];then |
|
|
|
#openssl version to high |
|
|
|
#openssl version to high |
|
|
|
cd $serverPath/mdserver-web/plugins/php/lib && /bin/bash openssl.sh |
|
|
|
cd ${rootPath}/plugins/php/lib && /bin/bash openssl.sh |
|
|
|
export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig |
|
|
|
export PKG_CONFIG_PATH=$serverPath/lib/openssl/lib/pkgconfig |
|
|
|
OPTIONS="-DWITH_SSL=${serverPath}/lib/openssl" |
|
|
|
OPTIONS="-DWITH_SSL=${serverPath}/lib/openssl" |
|
|
|
fi |
|
|
|
fi |
|
|
|