docs
uhost
Linux Service Configuration Guide
MariaDB Software Source Configuration

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 CenterRepository url
Beijing Availability Zone Amariadb5.mirror.surfercloud.com or mariadb5.mirrors.surfercloud.com
North China Availability Zone Bmariadb5.mirror.cs.surfercloud.com or mariadb5.mirrors.cs.surfercloud.com
North China Availability Zone Cmariadb5.mirror.yg.surfercloud.com or mariadb5.mirrors.yg.surfercloud.com
South China Dual Linemariadb5.mirror.gz.surfercloud.com or mariadb5.mirrors.gz.surfercloud.com
Asia-Pacificmariadb5.mirror.hk.surfercloud.com or mariadb5.mirrors.hk.surfercloud.com
North Americamariadb5.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 CenterRepository url
Beijing Availability Zone Amariadb100.mirror.surfercloud.com or mariadb100.mirrors.surfercloud.com
North China Availability Zone Bmariadb100.mirror.cs.surfercloud.com or mariadb100.mirrors.cs.surfercloud.com
North China Availability Zone Cmariadb100.mirror.yg.surfercloud.com or mariadb100.mirrors.yg.surfercloud.com
South China Dual Linemariadb100.mirror.gz.surfercloud.com or mariadb100.mirrors.gz.surfercloud.com
Asia-Pacificmariadb100.mirror.hk.surfercloud.com or mariadb100.mirrors.hk.surfercloud.com
North Americamariadb100.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 CenterRepository url
Beijing Availability Zone Amariadb101.mirror.surfercloud.com or mariadb101.mirrors.surfercloud.com
North China Availability Zone Bmariadb101.mirror.cs.surfercloud.com or mariadb101.mirrors.cs.surfercloud.com
North China Availability Zone Cmariadb101.mirror.yg.surfercloud.com or mariadb101.mirrors.yg.surfercloud.com
South China Dual Linemariadb101.mirror.gz.surfercloud.com or mariadb101.mirrors.gz.surfercloud.com
Asia-Pacificmariadb101.mirror.hk.surfercloud.com or mariadb101.mirrors.hk.surfercloud.com
North Americamariadb101.mirror.la.surfercloud.com or mariadb101.mirrors.la.surfercloud.com
  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved