* Extend Debian instructions with Raspberry Pi OS
The Debian 10 part of the install instructions for LibreNMS just need a different bash location to be compatible on Raspberry Pi OS, formerly known as Raspbian which is based on Debian 10 Buster.
* Update Install-LibreNMS.md
Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
Change the symbol for comments from # to ;
This threw an error for me while following the steps and had to google to fix the issue. Changing to ; might help people like me who are new to php. Not sure if it would affect any older versions.
* Accommodate upcoming php 7.3 change
An announcement on Twitter as well as [this](https://github.com/librenms/librenms/pull/12118) says future release will depend on PHP7.3 minimum. CentOS 8 ships with 7.2 by default. Also, the composer package's availability via `dnf` was dropped somewhere by CentOS project, so one needs to install it "manually" nowadays. I have yet to find a different solution than the one showed here. Any inputs welcome.
* Removed the dnf list command
* Made manual composer install the fallback method
* Fixed minimum PHP version.
* add package acl to required list
There are ways to install debian without the acl package. Add it to the
required list
* replace systemctl with more generic service
Debian does not require systemd. This makes calling systemctl to restart
processes a problem. The more generic way in Debian is to call service
* rm command allows multiple parameters
* use nginx config in a more Debian way
In Debian webservers are configured using -available and -enabled
directories. Make better use of this stucture.
* better snmpd.conf handling
Instead of overwriting snmpd.conf inform Debian of the change.
Because snmpd.conf contains sensitive info make it only user accessible
* replace nano with users preferred editor
* revert back to nano as editor
* remove dpkg-divert as per PR discussion
* Add missing python3 modules from repo, remove pip
Added missing python3 modules from official debian repos and thus removing the need for pip
* Add python3-setuptools
I personally have no problem with them, but after a recent discussion in discord about a user asking which Repo, it got me thinking that maybe we should also stick to what the OS providers have to say? I see that (obviously) SCL and remi is on the trusted list, so shouldn't the install docs rather stick with them?
https://wiki.centos.org/AdditionalResources/Repositories
Hello,
If you follow the original Rumi config, the path to the binaries are not changed, so you cannot do php -v after the yum install line.
If you install the yum-package-manager then apply the repo, all php packages become rumi php packages.
I hope the yum install line is correct, as i've tried to edit it and i hope i didnt miss any packages.