mirror of https://github.com/MISP/MISP
Merge pull request #7268 from SteveClement/guides
chg: [doc] Added details on MISPvarspull/7269/head
commit
74539589fc
|
@ -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
|
||||
# <snippet-begin 0_global-vars.sh>
|
||||
# $ 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
|
||||
|
|
Loading…
Reference in New Issue