Here are the commands to run to install MariaDB on your Ubuntu system:
Once the key is imported and the repository added you can install MariaDB with:
sudo apt updatesudo apt install mariadb-serverSee 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.listfile.
# MariaDB 10.0 repository list - created 2016-08-17 13:43 UTC# http://downloads.mariadb.org/mariadb/repositories/deb [arch=amd64,i386] http://mirrors.neusoft.edu.cn/mariadb/repo/10.0/ubuntu xenial maindeb-src http://mirrors.neusoft.edu.cn/mariadb/repo/10.0/ubuntu xenial main欢迎光临 MariaDB社区 (http://123.56.88.72/) | Powered by Discuz! X3.2 |