DirectAdmin panel mariadb instead of MySQL configuration steps

Source: Internet
Author: User
Tags gpg

DirectAdmin is the most common and many host operators are using the control Panel, cheap, simple, easy to use

Custombuild has even provided a LAMPN environment at the moment, but MySQL's efficiency is still a criticism. I am also used for the DirectAdmin Control Panel, I installed the time has been to avoid the installation of MySQL, for this, you and I have the same children's shoes can be installed in accordance with the following way mariadb.

First, the source

Join the official source first

The code is as follows Copy Code
Vim/etc/yum.repos.d/mariadb.repo

Add the following content

32bit:

The code is as follows Copy Code

[MARIADB]
Name = MARIADB
BaseURL = http://yum.mariadb.org/5.5/centos6-x86
Gpgkey=https://yum.mariadb.org/rpm-gpg-key-mariadb
Gpgcheck=1
64bit:

[MARIADB]
Name = MARIADB
BaseURL = Http://yum.mariadb.org/5.5/centos6-amd64
Gpgkey=https://yum.mariadb.org/rpm-gpg-key-mariadb
Gpgcheck=1

After editing, execute Yum update-y, and if there is a problem, change DNS or:

The code is as follows Copy Code

Yum Clean All
Yum Makecache

Second, the installation

The official installation now begins:

The code is as follows Copy Code
Yum Install Mariadb-server mariadb-client mariadb-devel-y

Waiting for installation can be completed, if the domestic machine installed errors on the DNS to try to change.

Third, the completion

When the installation is complete, it can be started.

The code is as follows Copy Code
Cp/etc/my.cnf.rpmsave/etc/my.cnf
Service MySQL Restart

Executive Mysql-v | grep mariadb can be viewed, and there is no problem with the output.

Related Article

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.