mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added info on using MariaDB or MySQL
This commit is contained in:
@@ -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.
|
||||
|
||||
|
@@ -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.
|
||||
|
||||
|
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user