1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 04:42:40 +01:00

Install "mysql-server" in the RHEL-derivatives script

Summary: We don't currently install this component, but should.
Test Plan: iiam
Reviewed By: codeblock
Reviewers: codeblock
CC: aran, codeblock
Differential Revision: 560
This commit is contained in:
epriestley 2011-06-30 12:10:28 -07:00
parent a46ae11030
commit f6c3a902b5

View file

@ -56,7 +56,7 @@ then
echo "ERROR: You must be able to sudo to run this script, or run it as root."; echo "ERROR: You must be able to sudo to run this script, or run it as root.";
exit 1 exit 1
fi fi
fi fi
if [[ $RHEL_MAJOR_VER == 5 ]] if [[ $RHEL_MAJOR_VER == 5 ]]
@ -65,10 +65,10 @@ then
# (it tries to pull in php 5.1 stuff) ... # (it tries to pull in php 5.1 stuff) ...
echo "Adding EPEL repo, for git." echo "Adding EPEL repo, for git."
$SUDO rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm $SUDO rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
YUMCOMMAND="$SUDO yum install httpd git php53 php53-cli php53-mysql php53-process php53-devel php53-gd gcc wget make pcre-devel" YUMCOMMAND="$SUDO yum install httpd git php53 php53-cli php53-mysql php53-process php53-devel php53-gd gcc wget make pcre-devel mysql-server"
else else
# RHEL 6+ defaults with php 5.3 # RHEL 6+ defaults with php 5.3
YUMCOMMAND="$SUDO yum install httpd git php php-cli php-mysql php-process php-devel php-gd php-pecl-apc php-pecl-json" YUMCOMMAND="$SUDO yum install httpd git php php-cli php-mysql php-process php-devel php-gd php-pecl-apc php-pecl-json mysql-server"
fi fi
echo "Dropping to yum to install dependencies..." echo "Dropping to yum to install dependencies..."