mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated install docs
This commit is contained in:
@@ -21,7 +21,7 @@ FLUSH PRIVILEGES;
|
||||
exit
|
||||
```
|
||||
|
||||
`vim /etc/my.cnf`
|
||||
`vim /etc/my.cnf.d/server.cnf`
|
||||
|
||||
Within the [mysqld] section please add:
|
||||
|
||||
|
||||
@@ -50,15 +50,14 @@ pear install Net_IPv6-1.2.2b2
|
||||
In `/etc/php.ini` ensure date.timezone is set to your preferred time zone. See http://php.net/manual/en/timezones.php for a list of supported timezones. Valid examples are: "America/New York", "Australia/Brisbane", "Etc/UTC".
|
||||
|
||||
```bash
|
||||
service php7.0-fpm restart
|
||||
phpenmod mcrypt
|
||||
service php-fpm restart
|
||||
```
|
||||
|
||||
#### Add librenms user
|
||||
|
||||
```bash
|
||||
useradd librenms -d /opt/librenms -M -r
|
||||
usermod -a -G librenms apache
|
||||
usermod -a -G librenms nginx
|
||||
```
|
||||
|
||||
#### Clone repo
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#### Install / Configure MySQL
|
||||
```bash
|
||||
apt-get install mariadb-server mariadb-client
|
||||
service mariadb restart
|
||||
service mysql restart
|
||||
mysql -uroot -p
|
||||
```
|
||||
|
||||
@@ -30,7 +30,7 @@ innodb_file_per_table=1
|
||||
sql-mode=""
|
||||
```
|
||||
|
||||
```service mariadb restart```
|
||||
```service mysql restart```
|
||||
|
||||
### Web Server ###
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#### Install / Configure MySQL
|
||||
```bash
|
||||
apt-get install mariadb-server mariadb-client
|
||||
service mariadb restart
|
||||
service mysql restart
|
||||
mysql -uroot -p
|
||||
```
|
||||
|
||||
@@ -30,7 +30,7 @@ innodb_file_per_table=1
|
||||
sql-mode=""
|
||||
```
|
||||
|
||||
```service mariadb restart```
|
||||
```service mysql restart```
|
||||
|
||||
### Web Server ###
|
||||
|
||||
|
||||
Reference in New Issue
Block a user