Install Maraidb in yum under CentOS6.x

Source: Internet
Author: User

Install Maraidb in yum under CentOS6.x

I use yum for installation in some unimportant scenarios. However, for project reasons, a higher version of mysql is required. The mysql version that comes with centos is too low. Now we use yum to install mariadb.

  1. Create MariaDB yum installation Source

[root@Node1~] #vim/etc/yum.repos.d/MariaDB.repo #MariaDB10.0CentOSrepositorylist-created2013-08-2313:08UTC #http://mariadb.org/mariadb/repositories/ [mariadb] name=MariaDB baseurl=http: //yum .mariadb.org /10 .0 /centos6-amd64 gpgkey=https: //yum .mariadb.org /RPM-GPG-KEY-MariaDB gpgcheck=1

2. Clear yum Cache

[root@Node1~] #yumcleanall Loadedplugins:fastestmirror Cleaningrepos:baseextrasmariadbupdates CleaningupEverything Cleaninguplistoffastestmirrors

3. Install mariadb in yum

[root@Node1~] #yum-yinstallMariaDB-clientMariaDB-serverMariaDB-devel

Success

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.