作者:手机用户2502925683 | 来源:互联网 | 2014-05-29 08:43
一、添加repo文件$vim/etc/yum.repos.d/MariaDB.repo加入以下内容:#MariaDB5.5CentOSrepositorylist-created2013-03-2614:33UTC#http://mariadb.org/mariadb/repositories/[mariadb]nam
一、添加repo文件
$ vim /etc/yum.repos.d/MariaDB.repo
加入以下内容:
#MariaDB 5.5 CentOS repository list - created 2013-03-26 14:33
UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/
centos5-x86
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
保存退出
二、通过YUM来安装
$ sudo yum install MariaDB-server MariaDB-client