Skip to content

Instantly share code, notes, and snippets.

@dilipgurung
Last active July 29, 2017 13:50
Show Gist options
  • Select an option

  • Save dilipgurung/c84b2eb835b52821b98a051d30d7a64d to your computer and use it in GitHub Desktop.

Select an option

Save dilipgurung/c84b2eb835b52821b98a051d30d7a64d to your computer and use it in GitHub Desktop.
Installing MariaDB server on Ubuntu 16.04
sudo apt-get install software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://mirrors.coreix.net/mariadb/repo/10.1/ubuntu xenial main'
sudo apt-get update
sudo apt-get install mariadb-server
sudo mysql_secure_installation
sudo systemctl status mariadb.service
sudo systemctl enable mariadb.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment