Commit Graph

54 Commits

Author SHA1 Message Date
brointhemix
1feabc04f5 Add unzip to all install docs dependencies (#15354)
* Update Install-LibreNMS.md

Composer complains that neither unzip nor 7z is installed so it would unzip using PHP which may or may not corrupt the results file. This has always worked fine for me but I guess it might be a better idea to use the "real" unzipper.

```
librenms@librenms1:~$ ./scripts/composer_wrapper.php install --no-dev
Could not scan for classes inside "vendor/dapphp/radius" which does not appear to be a file nor a folder
> LibreNMS\ComposerHelper::preInstall
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 118 installs, 0 updates, 0 removals
As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' or '7z' (21.01+) may remediate them.
```

* Update Install-LibreNMS.md

Sorted 'unzip' package alphabetically in Debian, Ubuntu and CentOS installation steps.
2023-09-27 13:11:26 -05:00
Tony Murray
74ed7aa703 Fix typo in install docs 2023-09-08 16:48:27 -05:00
Arjen Zonneveld
d02cb1bb5b Update Install-LibreNMS.md (#15152)
Fix spelling of URL anchor
2023-07-20 08:45:13 -05:00
Jellyfrog
f271019f6c Add a validation for checking if the scheduler is running (#14987) 2023-04-24 10:04:50 +02:00
Michał Margula
4465de874d Update Install-LibreNMS.md (#14949)
Added two lines clarifying what needs to be run and what needs to be added to config file as it  might confuses people. Removed FLUSH PRIVILEGES which is unnecessary when using GRANT. It would be required when updating privileges directly -- https://dev.mysql.com/doc/refman/8.0/en/privilege-changes.html
2023-04-07 13:04:47 -05:00
Hans Erasmus
8fb908eb15 Fix possible confusion around php-fpm settings (#14844)
* Fix possible confusion around php-fpm settings

From the discord channel there seemed to be some confusion regarding the socket location setting for php-fpm.

* Update Install-LibreNMS.md

Updated with new suggestions
2023-02-14 07:35:09 -06:00
Tim de Boer
aa336f98cc Updated Install-LibreNMS.md (#14798)
Default PHP version of Debian 11 (following this documentation) is 8.2 currently, instead of 8.1
2023-01-24 11:29:33 -06:00
angeletdemon
47cc169f4b Update Install-LibreNMS.md (#14722) 2022-12-12 09:02:49 +01:00
Jellyfrog
b706211b77 Docs: Add instructions for PHP 8.1 and Ubuntu 22.04 (#14166) 2022-08-04 17:58:03 -05:00
Félix Bouynot
a0e263295d Update php installation instruction for CentOS 8 to reflect the minimum php version now being 8.1 (#14159) 2022-07-29 08:48:49 -05:00
Félix Bouynot
49a42c2dd6 Change SELinux context for logs (#14128)
Change SELinux context for logs from httpd_sys_rw_content_t to httpd_log_t so logrotate is not blocked by SELinux with this blocking: `logrotate_t httpd_sys_rw_content_t:file open;`
2022-07-22 08:32:37 -05:00
Jellyfrog
8f474dd4d4 Rework documentation (#13709)
* Rework documentation

* Slightly adjust theme

* wip

* fixes

* Remove unneeded header

* Re-added Acknowledgement.md file

* Added Acknowledgement.md to mkdocs.yml

Co-authored-by: Neil Lathwood <gh+n@laf.io>
2022-02-08 23:02:28 +00:00
Simon Smith
b2f8a53cab Update install instructions to add pip3 package (#13746)
* Update Install-LibreNMS.md

include pip3

* Update Install-LibreNMS.md
2022-02-07 22:17:51 +00:00
Matt Peterson
e8497cdfc6 Debian missing pip3 install (#13721) 2022-01-28 10:21:52 +01:00
SourceDoctor
d211944f4e Debian 11 Install Docs (#13430) 2021-10-26 23:15:44 +02:00
Tony Murray
0b8b97bb68 Push Notifications (Mobile and PC) (#13277)
* Update manifest and add service worker
cleanup icons a bit

* Push notifications WIP

* navigate working

* cleanup

* acknowledge wired up

* Set VAPID keys on composer install

* Component to control notification permissions.

* Allow all user option to validate

* Enable on browser load if transport exists.

* Check for transport before showing user permissions
translations

* Documentation

* style fixes

* access via the attribute model

* fix alerting test

* update schema

* cleanup subscription on disable

* non-configurable db and table for webpush subscriptions (respect system connection)

* revert AlertTransport change
hopefully phpstan can figure it out

* phpstan fixes

* Support custom details display

* Match transport names to brand's preferred display

* less duplicate id errors

* Tests are done in Laravel code now so
remove legacy function usage... could be better, but ok

* Style fixes

* Style fixes 2

* Fix alert test

* Doc updates requires HTTPS and GMP

* unregister subscription when permission is set to denied

* cleanup after user deletion

* delete the right thing

* fix whitespace

* update install docs to include php-gmp

* suggest ext-gmp

* update javascript

* Update functions.php

Co-authored-by: Jellyfrog <Jellyfrog@users.noreply.github.com>
2021-10-06 07:29:47 -05:00
Orsiris de Jong
d42444b4ae Add security context service (#13218)
* Make sure we add bin_t type to service for restricted SELinux policies

* Make sure we add bin_t type to service for restricted SELinux policies
2021-09-10 08:19:35 -05:00
rhinoau
fbf653f02e Documentation cleanup of General, Install, Getting Started sections (#13013)
* doc cleanup of general, install, getting started sections

* force tests re-run

Just to force tests re-run

Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
2021-07-08 23:10:05 +02:00
Jellyfrog
f06e81b357 Switch to utf8mb4 (#12580)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-28 16:23:08 +02:00
Anthony F. McInerney
a625faaa1b service watchdog - add systemd watchdog for resiliency (#12188)
* Add systemd watchdog service

* Add systemd watchdog service

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - add try

* Add systemd watchdog service - update docs for python3-systemd

* systemd-watchdog - move to 10 second alert frequency

* systemd-watchdog - move to 10 second alert frequency

* systemd-watchdog - move to 30 second restart, 10 second delay between restarts

* systemd-watchdog - safely integrate changes

* systemd-watchdog - safely integrate changes

* systemd-watchdog - revert old doc changes

* systemd-watchdog -  doc typo fix
2021-03-22 10:34:45 -05:00
Tony Murray
f5a0959181 Revert "Switch to utf8mb4 (#12501)" (#12578)
This reverts commit 8e2e67d0ee.
2021-03-01 14:59:06 -06:00
Jellyfrog
8e2e67d0ee Switch to utf8mb4 (#12501)
* Switch to utf8mb4

This allows emojis to function correctly

* Update URLs
2021-03-01 08:02:26 -06:00
Jellyfrog
20b4215204 Swich links to https (#12511)
* Switch librenms links to https

* Convert librenms links in comments

* Switch gnu.org url to https

* switch php urls to https
2021-02-09 00:29:04 +01:00
Tony Murray
43e323bb02 lnms link in /usr/bin (#12446)
* lnms link in /usr/bin

Just put the lnms link in /usr/bin.

Fairly odd that distros don't have /usr/local/bin in PATH

* Update System.php
2021-01-20 03:37:28 +01:00
CrazyMax
a0062aa633 Remove hardcoded URLs to doc (#12364)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-11-27 23:34:58 +01:00
Walter Sonius
ee739e21fe Extend Debian instructions with Raspberry Pi OS (#12302)
* 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>
2020-11-07 02:01:56 +01:00
Jellyfrog
bd81f76caa Use variable for PHP min version in docs (#12256)
* Use variable for PHP min version in docs

* Bump mkdocs deps
2020-10-24 11:19:45 +02:00
Jellyfrog
bbf394362e Add table of content to installation guide (#12202) 2020-10-09 07:52:02 -05:00
mjeffin
90483b8cfa Update Install-LibreNMS.md (#12201)
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.
2020-10-08 15:32:33 +02:00
Hans Erasmus
2bd4f146b5 Accommodate upcoming php 7.3 change (#12180)
* 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.
2020-10-04 23:46:29 +02:00
Jarod2801
2c90169156 Update Install-LibreNMS.md (#12001)
Composer missing in Centos 7 and 8 docs
2020-08-06 18:09:25 +02:00
Tony Murray
71d5d29dbb Automatically change all tabs in install docs
Reduced the likelihood of a user viewing info for the wrong os.
2020-06-29 16:17:07 -05:00
Tony Murray
19402c5f66 acl is needed 2020-06-29 00:35:53 -05:00
Tony Murray
37f5541b83 don't need python2 packages 2020-06-29 00:06:34 -05:00
Tony Murray
ea26f32d3e remove errant semicolin 2020-06-28 23:53:03 -05:00
Tony Murray
0df6a13755 better heading 2020-06-28 20:24:39 -05:00
Tony Murray
31d6ec4a07 more refinement 2020-06-28 20:05:04 -05:00
Tony Murray
114379dd8e allow .env to be written for install 2020-06-27 11:22:01 -05:00
Tony Murray
9364e4ec31 updates and install url 2020-06-27 11:13:32 -05:00
Tony Murray
1b822d8ea3 pip3 is required on centos
session is no longer required by install
2020-06-27 09:10:47 -05:00
Tony Murray
78969c0181 don't need the api location anymore (all 3) 2020-06-25 11:24:18 -05:00
Tony Murray
65ffcd6deb don't need the api location anymore 2020-06-25 11:18:26 -05:00
Tony Murray
b4e35bcc65 whitespace 2020-06-14 16:19:58 -05:00
Tony Murray
b2eadb3ba2 Update Install-LibreNMS.md
restore alphabetical package list and more pip3 removals
2020-06-14 16:18:58 -05:00
Tony Murray
bde2ad0069 Remove pip3 2020-06-14 16:14:15 -05:00
Hans Erasmus
71050edfd1 Added minor changes 2020-06-08 16:22:35 +02:00
Tony Murray
9a16bc4f7a Merge branch 'consolidate-install-doc' of https://github.com/murrant/librenms into consolidate-install-doc 2020-06-04 08:32:27 -05:00
Tony Murray
9ab49bf81c missing bash-completion 2020-06-03 09:53:07 -05:00
Tony Murray
abcfb0a98e CentOS 8
lnms auto-complete
some reorganization (timezone before mysqld start)
selinux and firewald simplifications
use dnf
2020-06-03 02:24:38 -05:00
Tony Murray
d09d0ab5f8 CentOS security streamline 2020-06-01 13:52:32 -05:00