aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/librenms/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/librenms/files/pkg-message.in')
-rw-r--r--net-mgmt/librenms/files/pkg-message.in25
1 files changed, 24 insertions, 1 deletions
diff --git a/net-mgmt/librenms/files/pkg-message.in b/net-mgmt/librenms/files/pkg-message.in
index 5324410d4682..a4f944dacd35 100644
--- a/net-mgmt/librenms/files/pkg-message.in
+++ b/net-mgmt/librenms/files/pkg-message.in
@@ -1,5 +1,5 @@
=== Configuration details ===
-The following is recommended for /var/db/mysql/my.cnf
+The following is recommended for /usr/local/etc/mysql/my.cnf
NOTE: these are global settings. Please read this first:
@@ -26,3 +26,26 @@ PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
01 * * * * www %%PHP%% %%WWWDIR%%/billing-calculate.php >> /dev/null 2>&1
*/5 * * * * www %%PHP%% %%WWWDIR%%/check-services.php >> /dev/null 2>&1
+For a fresh install, you need to create an APP_KEY:
+
+cd %%WWWDIR%%
+cp -i .env.sample .env
+
+You might need to set your database details in that file
+Then run:
+
+php artisan key:generate
+
+The output should look something like this:
+
+**************************************
+* Application In Production! *
+**************************************
+
+ Do you really wish to run this command? (yes/no) [no]:
+ > y
+
+Application key [base64:P62La9V........qw=] set successfully.
+
+After that, follow the LibreNMS documentation for configuration.
+