From e57826c084ea52d89a42725733f3f37906d71e44 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Tue, 30 Mar 2021 10:42:06 +0900 Subject: [PATCH] chg: [doc] Added details on MISPvars --- docs/generic/globalVariables.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/generic/globalVariables.md b/docs/generic/globalVariables.md index 4a374746c..823eda93c 100644 --- a/docs/generic/globalVariables.md +++ b/docs/generic/globalVariables.md @@ -1,5 +1,16 @@ #### MISP configuration variables +If you are doing a manual install, copy and pasting from this document, please do the following before starting: + +```bash +eval "$(curl -fsSL https://raw.githubusercontent.com/MISP/MISP/2.4/docs/generic/globalVariables.md | grep -v \`\`\`)" +MISPvars +``` + +!!! notice + Do NOT leave your session after this mid-install as some initial passwords have been generated and thus would be lost. + Consider using a mux like [screen or tmux](https://superuser.com/questions/423310/byobu-vs-gnu-screen-vs-tmux-usefulness-and-transferability-of-skills). + ```bash # # $ eval "$(curl -fsSL https://raw.githubusercontent.com/MISP/MISP/2.4/docs/generic/globalVariables.md | grep -v \`\`\`)" @@ -19,6 +30,7 @@ MISPvars () { # The web server user # RHEL/CentOS if [[ -f "/etc/redhat-release" ]]; then + SE_LINUX=$(sestatus -v -b |grep "^SELinux status"| grep enabled ; echo $?) WWW_USER="apache" SUDO_WWW="sudo -H -u ${WWW_USER} " # Debian flavoured