Debian9安装MariaDB
一:导入密钥并添加了存储库
sudo apt-get install software-properties-common dirmngr sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8 sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.3/debian stretch main'
注:
清华大学TUNA协会镜像源:http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.3/debian
大连东软信息学院镜像源:http://mirrors.tuna.tsinghua.edu.cn/mariadb/repo/10.3/debian
上海大学镜像源:https://mirrors.shu.edu.cn/mariadb/repo/10.3/debian
二:安装MariaDB
sudo apt-get update sudo apt-get install mariadb-server
参考资料:
安装MariaDB.deb文件:
https://mariadb.com/kb/en/library/installing-mariadb-deb-files/
设置MariaDB存储库:
https://downloads.mariadb.org/mariadb/repositories/#mirror=tuna