mirror of https://github.com/MISP/misp-dashboard
fix: make GeoLite City downloaded by default
parent
179fe0032c
commit
87c7fda4e4
|
@ -38,7 +38,7 @@ zmq_url=tcp://192.168.56.50:50000
|
||||||
db=1
|
db=1
|
||||||
channelProc=CoordToProcess
|
channelProc=CoordToProcess
|
||||||
channelDisp=PicToDisplay
|
channelDisp=PicToDisplay
|
||||||
pathMaxMindDB=/home/sami/Downloads/GeoLite2-City_20171003/GeoLite2-City.mmdb
|
pathMaxMindDB=./data/GeoLite2-City_20171003/GeoLite2-City.mmdb
|
||||||
|
|
||||||
[RedisDB]
|
[RedisDB]
|
||||||
db=2
|
db=2
|
||||||
|
|
|
@ -72,4 +72,9 @@ mv temp/jquery-jvectormap-2.0.3.css ./static/css
|
||||||
mv temp/jquery-jvectormap-2.0.3.min.js ./static/js
|
mv temp/jquery-jvectormap-2.0.3.min.js ./static/js
|
||||||
wget http://jvectormap.com/js/jquery-jvectormap-world-mill.js -O ./static/js/jquery-jvectormap-world-mill.js
|
wget http://jvectormap.com/js/jquery-jvectormap-world-mill.js -O ./static/js/jquery-jvectormap-world-mill.js
|
||||||
|
|
||||||
|
mkdir data
|
||||||
|
pushd data
|
||||||
|
wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -O GeoLite2-City.tar.gz
|
||||||
|
tar xvfz GeoLite2-City.tar.gz
|
||||||
|
rm -rf GeoLite2-City.tar.gz
|
||||||
rm -rf ./temp
|
rm -rf ./temp
|
||||||
|
|
Loading…
Reference in New Issue