From 25f9843cac0a8e93b625e73bc6e29ecbb833ee11 Mon Sep 17 00:00:00 2001 From: laf Date: Sat, 1 Aug 2015 19:15:40 +0000 Subject: [PATCH] Added info on using MariaDB or MySQL --- .../Installation-(Debian-Ubuntu).md | 15 +++++++-- .../Installation-(RHEL-CentOS).md | 32 +++++++++++++++---- .../Installation-Lighttpd-(Debian-Ubuntu).md | 15 +++++++-- 3 files changed, 51 insertions(+), 11 deletions(-) diff --git a/doc/Installation/Installation-(Debian-Ubuntu).md b/doc/Installation/Installation-(Debian-Ubuntu).md index 201c7e08c..a0777fe2e 100644 --- a/doc/Installation/Installation-(Debian-Ubuntu).md +++ b/doc/Installation/Installation-(Debian-Ubuntu).md @@ -7,8 +7,19 @@ This host is where the MySQL database runs. It could be the same machine as your network management server (this is the most common initial deployment scenario). - apt-get install mysql-server mysql-client - mysql -uroot -p +You are free to chose between using MySQL or MariaDB: + +**MySQL** +```bash +apt-get install mysql-server mysql-client +mysql -uroot -p +``` + +**MariaDB** +```bash +apt-get install mariadb-server mariadb-client +mysql -uroot -p +``` Input the MySQL root password to enter the MySQL command-line interface. diff --git a/doc/Installation/Installation-(RHEL-CentOS).md b/doc/Installation/Installation-(RHEL-CentOS).md index 5968dacbb..23cbc8dd8 100644 --- a/doc/Installation/Installation-(RHEL-CentOS).md +++ b/doc/Installation/Installation-(RHEL-CentOS).md @@ -4,13 +4,31 @@ NOTE: These instructions assume you are the root user. If you are not, prepend ### On the DB Server ### - yum install net-snmp mysql-server - service snmpd start - service mysqld start - chkconfig mysqld on - chkconfig snmpd on - mysql_secure_installation - mysql -uroot -p +You are free to chose between using MySQL or MariaDB: + +**MySQL** +```bash +yum install net-snmp mysql-server mysql-client +chkconfig mysqld on +service mysqld start +``` + +**MariaDB** +```bash +yum install net-snmp mariadb-server mariadb-client +chkconfig mariadb on +service mariadb start +``` + +Now continue with the installation: + +```bash +yum install net-snmp mysql-server +service snmpd start +chkconfig snmpd on +mysql_secure_installation +mysql -uroot -p +``` Enter the MySQL root password to enter the MySQL command-line interface. diff --git a/doc/Installation/Installation-Lighttpd-(Debian-Ubuntu).md b/doc/Installation/Installation-Lighttpd-(Debian-Ubuntu).md index 4bf0895fd..ead95e504 100644 --- a/doc/Installation/Installation-Lighttpd-(Debian-Ubuntu).md +++ b/doc/Installation/Installation-Lighttpd-(Debian-Ubuntu).md @@ -4,8 +4,19 @@ ### On the DB Server ### - apt-get install mysql-server mysql-client snmpd - mysql -uroot -p +You are free to chose between using MySQL or MariaDB: + +**MySQL** +```bash +apt-get install mysql-server mysql-client +mysql -uroot -p +``` + +**MariaDB** +```bash +apt-get install mariadb-server mariadb-client +mysql -uroot -p +``` Enter the MySQL root password to enter the MySQL command-line interface.