Centos7 definition mariadb Source Yum Install the latest version of MARIADB

Source: Internet
Author: User
Tags aliyun

Centos7 definition mariadb Source Yum Install the latest version of MARIADB

There are generally several ways to install software services under CentOS (yum, rpm IVH xxx, make Make&&install compile and install, etc.), but relative to Yum is the simplest and easiest. We mainly introduce today, under the Centos7.3 how to use the Yum way to install the latest version or the implementation of the version of MARADB, we all know, from the beginning of the CENTOS7 from MySQL has become mariadb, specifically not introduced, estimated that many students have tried, If you use Yum install Mariadb-server to install the Mariadb-server 5.5 version, but for this version is a bit low, many service application version is relatively high, and the database version is low, there will be some problems, So we need to upgrade or install MARIADB to the same high version, if we want to install the latest version of MARIADB with Yum, we need to specify the Yum source. specifically see below:

We'll look at the current version first:

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/8F/3F/wKioL1jYxPGBYuYcAABjz9Zl5UM622.png "height="/>

Then start installing Mariadb-server

Yum Install–y mariadb-server

We found that the download installation was Mariadb-server 5.5, so we will cancel the installation.

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M01/8F/41/wKiom1jYxPLgFCepAADWi6FERUg655.png "height=" 197 "/>

We still want to install the latest version of MARIADB with Yum, we need to define the Yum source

Let's start by looking at the latest version of MARIADB information

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/8F/41/wKiom1jYxPSQZYY0AAGA6Letof0786.png "height=" 348 "/>

Next we define an installation source

Cd/etc/yum.repos.d/vim Mariadb.repo

Add the following content:

[MARIADB] name = mariadb BaseURL = Http://yum.mariadb.org/10.2.1/centos7-amd64/gpgkey=https://yum.mariadb.org/RPM-GP G-key-mariadbgpgcheck=1

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/8F/3F/wKioL1jYxPXDQm3LAABn-zENCVc080.png "height=" 189 "/>

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M00/8F/3F/wKioL1jYxPahIJ7VAABFmAmrwxo186.png "height="/>

Next we try to install again

Yum Install–y mariadb-server mariadb-client

650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0 px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt=" image "src=" Http://s3.51cto.com/wyfs02/M02/8F/41/wKiom1jYxPewphpdAAFXwLZkZhU696.png "height=" 321 "/>

Of course when it comes to sources, we generally configure the installation of other services:

Here are our most common sources of Yum for Ali

http://mirrors.aliyun.com/epel/7Server/x86_64/p/pptpd-1.4.0-2.el7.x86_64.rpm

Vi/etc/yum.repo/epel.repo[epel]name=aliyun epelbaseurl=http://mirrors.aliyun.com/epel/7server/x86_64/gpgcheck=0

This article from "Gao Wenrong" blog, declined reprint!

Centos7 definition mariadb Source Yum Install the latest version of MARIADB

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.