Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu 14.04 - Install MariaDB 10.1

The following script will install MariaDB as an apt repository (for automatic updates), using DigitalOcean UK as a mirror. Go here if you want to use a different mirror.

sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver \
hkp:// 0xcbcb082a1bb943db

echo '# MariaDB 10.1 repository list - created 2015-11-30 10:41 UTC
deb [arch=amd64,i386] trusty main
deb-src trusty main' \
| sudo tee /etc/apt/sources.list.d/MariaDB.list

sudo apt-get update
sudo apt-get install mariadb-server -y
Last updated: 16th August 2018
First published: 16th August 2018