Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tips:db:mariadb [2016/11/29 16:16] – [install] scipio | tips:db:mariadb [2016/12/17 19:41] (current) – [install] scipio | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== mariadb ====== | ====== mariadb ====== | ||
- | ===== install | + | ====== cluster ====== |
- | * https://blog.cloudandheat.com/index.php/ | + | * https://www.digitalocean.com/community/tutorials/how-to-configure-a-galera-cluster-with-mariadb-10-1-on-ubuntu-16-04-servers |
- | * https:// | + | |
- | <code bash> | + | Three Ubuntu 16.04 servers |
- | sudo apt install -y software-properties-common | + | |
- | sudo apt-key adv --recv-keys --keyserver hkp:// | + | |
- | sudo add-apt-repository -y 'deb [arch=amd64] http:// | + | |
- | sudo apt update | + | ===== install on each node ===== |
- | sudo apt install | + | |
+ | <code bash> | ||
+ | apt-key adv --recv-keys --keyserver hkp:// | ||
+ | add-apt-repository 'deb [arch=amd64] http:// | ||
+ | apt update | ||
+ | apt install mariadb-server | ||
</ | </ | ||
+ | |||
+ | |||
+ |