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.