Setting up a Galera Mariadb Cluster

Remove any existing mariadb: yum remove maria* Update: yum update Add the official repo for MariaDB by creating the file /etc/yum.repos.d/MariaDB.repo [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 Now install MariaDB: yum install -y MariaDB-server MariaDB-client MariaDB-compat galera socat jemalloc Setup MariaDB: systemctl start mariadb mysql_secure_installation systemctl stop mariadb Edit the file: /etc/my.cnf.d/server.cnf […]

Continue reading


Update MediWiki

Put wiki into readonly mode by editing the LocalSettings.php file and adding the line:

Backup the SQL database, e.g. mysqldump -h host -u wiki -p wiki > wiki.sql Backup the entire wiki folder:

Download latest version of MediaWiki from www.mediawiki.org/wiki/Download e.g.

Unpack the file over the existing installation:

Now run the […]

Continue reading