Linux Install MariaDB 最新 10.1 10.2

Linux Install MariaDB 最新 10.1 10.2

Here are the commands to run to add MariaDB to your system:

  1. sudo apt-get install software-properties-common
  2. sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
  3. sudo add-apt-repository ‘deb [arch=amd64,i386,ppc64el] http://mirrors.accretive-networks.net/mariadb/repo/10.1/debian jessie main’

Once the key is imported and the repository added you can install MariaDB with:

  1. sudo apt-get update
  2. sudo apt-get install mariadb-server

See Installing MariaDB .deb Files for more information.

You can also create a custom MariaDB sources.list file. To do so, copy and paste the following into a file under /etc/apt/sources.list.d/ (we suggest naming the file MariaDB.list or something similar), or add it to the bottom of your /etc/apt/sources.list file.

  1. # MariaDB 10.1 repository list – created 2017-02-15 01:19 UTC
  2. # http://downloads.mariadb.org/mariadb/repositories/
  3. deb [arch=amd64,i386] http://mirrors.accretive-networks.net/mariadb/repo/10.1/debian jessie main
  4. deb-src http://mirrors.accretive-networks.net/mariadb/repo/10.1/debian jessie main

原文 https://downloads.mariadb.org/mariadb/repositories/#mirror=babylon-ca&distro=Debian&distro_release=jessie–jessie&version=10.1

————————————————————————————————————————————————————————————————————————————————————————————————————————————

Here are the commands to run to install MariaDB on your Ubuntu system:

  1. sudo apt-get install software-properties-common
  2. sudo apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
  3. sudo add-apt-repository ‘deb [arch=amd64,i386,ppc64el] http://mirrors.neusoft.edu.cn/mariadb/repo/10.2/ubuntu xenial main’

Once the key is imported and the repository added you can install MariaDB with:

  1. sudo apt update
  2. sudo apt install mariadb-server

See Installing MariaDB .deb Files for more information and for instructions on installing MariaDB Galera Cluster.

You can also create a custom MariaDB sources.list file. To do so, after importing the signing key as outlined above, copy and paste the following into a file under /etc/apt/sources.list.d/(we suggest naming the file MariaDB.list or something similar), or add it to the bottom of your /etc/apt/sources.list file.

  1. # MariaDB 10.2 repository list – created 2017-06-19 09:38 UTC
  2. # http://downloads.mariadb.org/mariadb/repositories/
  3. deb [arch=amd64,i386] http://mirrors.neusoft.edu.cn/mariadb/repo/10.2/ubuntu xenial main
  4. deb-src http://mirrors.neusoft.edu.cn/mariadb/repo/10.2/ubuntu xenial main

原文 : https://downloads.mariadb.org/mariadb/repositories/#mirror=neusoft&distro=Ubuntu&distro_release=xenial–ubuntu_xenial&version=10.2

发表回复

*您的电子邮件地址不会被公开。必填项已标记为 。

*
*