Last active
December 27, 2015 07:09
-
-
Save notmii/7287362 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install --yes python-software-properties | |
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db | |
sudo add-apt-repository 'deb http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/5.5/ubuntu precise main' | |
sudo add-apt-repository 'deb-src http://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/repo/5.5/ubuntu precise main' | |
echo "Package: * \ | |
Pin: origin ftp.yz.yamagata-u.ac.jp \ | |
Pin-Priority: 1000" > /etc/apt/preferences.d/mariadb.pref | |
sudo apt-get update | |
sudo apt-get install --yes mariadb-client mariadb-server \ | |
mariadb-client-5.5 mariadb-server-5.5 \ | |
mariadb-server-core-5.5 mariadb-client-core-5.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment