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://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

echo '# MariaDB 10.1 repository list - created 2015-11-30 10:41 UTC
# http://mariadb.org/mariadb/repositories/
deb [arch=amd64,i386] http://lon1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main
deb-src http://lon1.mirrors.digitalocean.com/mariadb/repo/10.1/ubuntu trusty main' \
| sudo tee /etc/apt/sources.list.d/MariaDB.list

sudo apt-get update
sudo apt-get install mariadb-server -y



Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites. More info.