bugfix: install mysql server

first install mysql repo, then install mysql-server

Change-Id: I4da53267973e49751c6fa4b8cd871ce2a1ea36d4
Signed-off-by: baigk <baiguoku@huawei.com>
This commit is contained in:
baigk 2016-01-29 04:27:42 +08:00
parent a5e0055399
commit 75f4b5d85b
1 changed files with 2 additions and 1 deletions

View File

@ -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