Fixes #1. What a productive day!

pull/4/head
Cédric Bonhomme 2017-08-09 14:23:03 +02:00
parent 9396eedf15
commit 8e62b96b48
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ DBPASSWORD_MISP='XXXXdbpasswordhereXXXXX'
# Webserver configuration # Webserver configuration
PATH_TO_MISP='/var/www/MISP' PATH_TO_MISP='/var/www/MISP'
IP='127.0.0.1' IP='127.0.0.1'
MISP_BASEURL='http://127.0.0.1:5000'
FQDN='localhost' FQDN='localhost'
# OpenSSL configuration # OpenSSL configuration
@ -265,6 +266,8 @@ EOF
# and make sure the file permissions are still OK # and make sure the file permissions are still OK
chown -R www-data:www-data $PATH_TO_MISP/app/Config chown -R www-data:www-data $PATH_TO_MISP/app/Config
chmod -R 750 $PATH_TO_MISP/app/Config chmod -R 750 $PATH_TO_MISP/app/Config
# Set MISP.baseurl
$PATH_TO_MISP/app/Console/cake Baseurl $MISP_BASEURL
echo -e "\n--- Generating a GPG encryption key... ---\n" echo -e "\n--- Generating a GPG encryption key... ---\n"