From 75f4b5d85b8774967944f21cd5e92ddf0f6eea39 Mon Sep 17 00:00:00 2001 From: baigk Date: Fri, 29 Jan 2016 04:27:42 +0800 Subject: [PATCH] bugfix: install mysql server first install mysql repo, then install mysql-server Change-Id: I4da53267973e49751c6fa4b8cd871ce2a1ea36d4 Signed-off-by: baigk --- install/dependency.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/dependency.sh b/install/dependency.sh index f3dc0544..bb0e7f4e 100755 --- a/install/dependency.sh +++ b/install/dependency.sh @@ -11,7 +11,8 @@ if [ "$tempest" == "true" ]; then fi fi -sudo yum install -y $MYSQL rsyslog logrotate ntp iproute openssh-clients python python-devel git wget syslinux amqp rabbitmq-server mod_wsgi httpd squid dhcp bind rsync yum-utils xinetd tftp-server gcc net-snmp-utils net-snmp net-snmp-python unzip openssl openssl098e ca-certificates mysql-devel mysql-server mysql MySQL-python python-virtualenv python-setuptools python-pip bc libselinux-python +sudo yum install -y $MYSQL +sudo yum install -y rsyslog logrotate ntp iproute openssh-clients python python-devel git wget syslinux amqp rabbitmq-server mod_wsgi httpd squid dhcp bind rsync yum-utils xinetd tftp-server gcc net-snmp-utils net-snmp net-snmp-python unzip openssl openssl098e ca-certificates mysql-devel mysql-server mysql MySQL-python python-virtualenv python-setuptools python-pip bc libselinux-python sudo yum --setopt=tsflags=noscripts -y remove redis sudo yum --enablerepo=remi,remi-test install -y redis