MariaDB Software Source Configuration
Note
The MariaDB software source of SurferCloud Cloud Platform is currently only applicable to CentOS6.x 64-bit and Redhat6.x 64-bit operating systems.
MariaDB 5.5
Create a new mariadb.repo file in /etc/yum.repos.d/ and add the following content:
[mariadb5]
name=mariadb5 Repository
baseurl=http://mariadb5.mirror.surfercloud.com
gpgcheck=0
enabled=1
After creating the repo file, execute yum clean all && yum makecache to activate the new repository.
Note
The repository domain name differs for each data center, see the table below for details.
Data Center | Repository url |
---|---|
Beijing Availability Zone A | mariadb5.mirror.surfercloud.com or mariadb5.mirrors.surfercloud.com |
North China Availability Zone B | mariadb5.mirror.cs.surfercloud.com or mariadb5.mirrors.cs.surfercloud.com |
North China Availability Zone C | mariadb5.mirror.yg.surfercloud.com or mariadb5.mirrors.yg.surfercloud.com |
South China Dual Line | mariadb5.mirror.gz.surfercloud.com or mariadb5.mirrors.gz.surfercloud.com |
Asia-Pacific | mariadb5.mirror.hk.surfercloud.com or mariadb5.mirrors.hk.surfercloud.com |
North America | mariadb5.mirror.la.surfercloud.com or mariadb5.mirrors.la.surfercloud.com |
MariaDB 10.0
Create a new mariadb.repo file in /etc/yum.repos.d/ and add the following content:
[mariadb100]
name=mariadb100 Repository
baseurl=http://mariadb100.mirror.surfercloud.com
gpgcheck=0
enabled=1
After creating the repo file, execute yum clean all && yum makecache to activate the new repository.
Note
The repository domain name differs for each data center, see the table below for details.
Data Center | Repository url |
---|---|
Beijing Availability Zone A | mariadb100.mirror.surfercloud.com or mariadb100.mirrors.surfercloud.com |
North China Availability Zone B | mariadb100.mirror.cs.surfercloud.com or mariadb100.mirrors.cs.surfercloud.com |
North China Availability Zone C | mariadb100.mirror.yg.surfercloud.com or mariadb100.mirrors.yg.surfercloud.com |
South China Dual Line | mariadb100.mirror.gz.surfercloud.com or mariadb100.mirrors.gz.surfercloud.com |
Asia-Pacific | mariadb100.mirror.hk.surfercloud.com or mariadb100.mirrors.hk.surfercloud.com |
North America | mariadb100.mirror.la.surfercloud.com or mariadb100.mirrors.la.surfercloud.com |
MariaDB 10.1
Create a new mariadb.repo file in /etc/yum.repos.d/ and add the following content:
[mariadb101]
name=mariadb101 Repository
baseurl=http://mariadb101.mirror.surfercloud.com
gpgcheck=0
enabled=1
After creating the repo file, execute yum clean all && yum makecache to activate the new repository.
Note
The repository domain name differs for each data center, see the table below for details.
Data Center | Repository url |
---|---|
Beijing Availability Zone A | mariadb101.mirror.surfercloud.com or mariadb101.mirrors.surfercloud.com |
North China Availability Zone B | mariadb101.mirror.cs.surfercloud.com or mariadb101.mirrors.cs.surfercloud.com |
North China Availability Zone C | mariadb101.mirror.yg.surfercloud.com or mariadb101.mirrors.yg.surfercloud.com |
South China Dual Line | mariadb101.mirror.gz.surfercloud.com or mariadb101.mirrors.gz.surfercloud.com |
Asia-Pacific | mariadb101.mirror.hk.surfercloud.com or mariadb101.mirrors.hk.surfercloud.com |
North America | mariadb101.mirror.la.surfercloud.com or mariadb101.mirrors.la.surfercloud.com |