Merge pull request #6660 from SteveClement/guides

chg: [doc] The installer takes certain env_vars into account
pull/6662/head
Steve Clement 2020-11-27 20:38:09 +09:00 committed by GitHub
commit a58680768e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -44,6 +44,19 @@ usage () {
echo -e "Recommended is either a barebone MISP install (ideal for syncing from other instances) or"
echo -e "MISP + modules - ${SCRIPT_NAME} -c -M"
space
space
echo -e "Interesting environment variables that get considered are:"
space
echo -e "MISP_USER/MISP_PASSWORD # Local username on machine, default: misp/opensslGeneratedPassword"
space
echo -e "PATH_TO_MISP # Where MISP will be installed, default: /var/www/MISP (recommended)"
space
echo -e "DBHOST/DBNAME # database hostname, MISP database name, default: localhost/misp
echo -e "DBUSER_ADMIN/DBPASSWORD_ADMIN # MySQL admin user, default: root/opensslGeneratedPassword"
echo -e "DBUSER_MISP/DBPASSWORD_MISP # MISP database user, default: misp/opensslGeneratedPassword"
space
echo -e "You need to export the variable(s) to be taken into account. (or specified in-line when invoking INSTALL.sh)"
space
}
# Check if element is contained in array