parent
e099cc4915
commit
1944b43e8a
@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# forksand-mariadb-setup
|
||||
#
|
||||
# Script template for setting up MySQL compatible MariaDB Cluster
|
||||
# on four nodes: sql1 sql2 sql3 sql4
|
||||
#
|
||||
# https://mariadb.com/kb/en/library/getting-started-with-mariadb-galera-cluster/
|
||||
#
|
||||
# Get repo mirror:
|
||||
# https://downloads.mariadb.org/mariadb/repositories
|
||||
|
||||
exit 0
|
||||
|
||||
# As root
|
||||
apt-get install software-properties-common dirmngr
|
||||
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
|
||||
add-apt-repository 'deb [arch=amd64] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.3/debian stretch main'
|
||||
apt-get update
|
||||
apt-get install mariadb-server
|
||||
apt-get clean
|
||||
|
||||
#
|
Binary file not shown.
Loading…
Reference in new issue