5050
6.x and 7.x support focus on major release test.
added 3 variables:
M B
6.x and 7.x support focus on major release test.
Code:
# Ensure the installer is launched and can only be launched on CentOs 6.x/ centos 7.x Supported
BITS=$(uname -m | sed 's/x86_//;s/i[3-6]86/32/')
if [ -f /etc/centos-release ]; then
OS="CentOs"
VERFULL=$(cat /etc/centos-release | sed 's/^.*release //;s/ (Fin.*$//')
VER=${VERFULL:0:1}
else
OS=$(uname -s)
VER=$(uname -r);
fi
echo "Detected : $OS $VER $BITS"
the last version of centos and 6.x
if [[ "$OS" = "CentOs" ]] && ( [[ "$VER" = "6" ]] || [[ "$VER" = "7" ]] ) ; then
echo "Ok."
if "$VER"== "7"; then
dbserver="mariadb"
fi
else
echo "Sorry, this installer only supports the installation of Sentora on CentOS 6.x./7.x"
exit 1;
fi
added 3 variables:
Code:
panelpath="/etc/zpanel"
paneldata="/var/zpanel"
dbserver="mysql"
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask
200$ free to start your VPS 60 days credit
How to ask
200$ free to start your VPS 60 days credit