Skip to content

Commit

Permalink
Added minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hanserasmus committed Jun 8, 2020
1 parent 9a16bc4 commit 71050ed
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions doc/Installation/Install-LibreNMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@ you select the same option when they are presented.
apt install software-properties-common
add-apt-repository universe
apt update
apt install acl curl composer fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php7.4-cli php7.4-curl php7.4-fpm php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-snmp php7.4-xml php7.4-zip rrdtool snmp snmpd whois unzip python3-pymysql python3-dotenv python3-redis python3-setuptools
apt install acl curl composer fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php7.4-cli php7.4-curl php7.4-fpm php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-snmp php7.4-xml php7.4-zip rrdtool snmp snmpd whois unzip python3-pymysql python3-dotenv python3-redis python3-setuptools python3-pip
```

=== "Apache"
```
apt install software-properties-common
add-apt-repository universe
apt update
apt install acl curl apache2 composer fping git graphviz imagemagick libapache2-mod-fcgid mariadb-client mariadb-server mtr-tiny nmap php7.4-cli php7.4-curl php7.4-fpm php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-snmp php7.4-xml php7.4-zip rrdtool snmp snmpd whois python3-pymysql python3-dotenv python3-redis python3-setuptools
apt install acl curl apache2 composer fping git graphviz imagemagick libapache2-mod-fcgid mariadb-client mariadb-server mtr-tiny nmap php7.4-cli php7.4-curl php7.4-fpm php7.4-gd php7.4-json php7.4-mbstring php7.4-mysql php7.4-snmp php7.4-xml php7.4-zip rrdtool snmp snmpd whois python3-pymysql python3-dotenv python3-redis python3-setuptools python3-pip
```

=== "CentOS 8"
=== "NGINX"
```
dnf install epel-release
dnf install bash-completion cronie fping git ImageMagick mariadb-server mtr net-snmp net-snmp-utils nginx nmap php-fpm php-cli php-common php-curl php-gd php-json php-mbstring php-process php-snmp php-xml php-zip php-mysqlnd python3 python3-PyMySQL python3-redis python3-memcached rrdtool
dnf install bash-completion cronie fping git nginx ImageMagick mariadb-server mtr net-snmp net-snmp-utils nmap php-fpm php-cli php-common php-curl php-gd php-json php-mbstring php-process php-snmp php-xml php-zip php-mysqlnd python3 python3-PyMySQL python3-redis python3-memcached python3-pip rrdtool
```

=== "Apache"
```
dnf install epel-release
dnf install bash-completion cronie fping git httpd ImageMagick mariadb-server mtr net-snmp net-snmp-utils nmap php-fpm php-cli php-common php-curl php-gd php-json php-mbstring php-process php-snmp php-xml php-zip php-mysqlnd python3 python3-PyMySQL python3-redis python3-memcached rrdtool unzip
dnf install bash-completion cronie fping git httpd ImageMagick mariadb-server mtr net-snmp net-snmp-utils nmap php-fpm php-cli php-common php-curl php-gd php-json php-mbstring php-process php-snmp php-xml php-zip php-mysqlnd python3 python3-PyMySQL python3-redis python3-memcached python3-pip rrdtool unzip
```

=== "Debian 10"
Expand Down Expand Up @@ -394,11 +394,6 @@ listen = /run/php-fpm-librenms.sock;
SELinux not enabled by default

=== "CentOS 8"
Install the policy tool for SELinux:

```
dnf install policycoreutils-python-utils
```

## Configure the contexts needed by LibreNMS:

Expand Down Expand Up @@ -457,7 +452,10 @@ listen = /run/php-fpm-librenms.sock;
firewall-cmd --permanent --zone public --add-service http --add-service https
```

# Enable lnms command completion
# Enable lnms command auto-completion

This feature grants you the opportunity to use tab for completion on lnms commands as you would
for normal linux commands.

```
ln -s /opt/librenms/lnms /usr/local/bin/lnms
Expand Down Expand Up @@ -523,6 +521,24 @@ to the file. Run:
chown librenms:librenms /opt/librenms/config.php
```

# Set location to fping6

On the validate screen, <http://librenms.example.com/validate>
you might get a message like this:

```
fping6 location is incorrect or bin not installed.
```

=== "Ubuntu 20.04 / Debian 10"
This is not a known problem in this distro.
=== "CentOS 8"
To fix this: copy the following line to `config.php`:

```
$config['fping6'] = '/usr/sbin/fping';
```

# Final steps

That's it! You now should be able to log in to
Expand Down

0 comments on commit 71050ed

Please sign in to comment.