From 71050edfd19018b849978080c96e032200abf95f Mon Sep 17 00:00:00 2001 From: Hans Erasmus Date: Mon, 8 Jun 2020 16:22:35 +0200 Subject: [PATCH] Added minor changes --- doc/Installation/Install-LibreNMS.md | 36 ++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/doc/Installation/Install-LibreNMS.md b/doc/Installation/Install-LibreNMS.md index 041446285479..c42a730523ba 100644 --- a/doc/Installation/Install-LibreNMS.md +++ b/doc/Installation/Install-LibreNMS.md @@ -19,7 +19,7 @@ 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" @@ -27,20 +27,20 @@ you select the same option when they are presented. 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" @@ -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: @@ -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 @@ -523,6 +521,24 @@ to the file. Run: chown librenms:librenms /opt/librenms/config.php ``` +# Set location to fping6 + +On the validate screen, +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