chg: [installer] Updated installer

pull/4577/head
Steve Clement 2019-05-06 15:30:59 +09:00
parent 54ed2b1cc6
commit 1cc5f61473
5 changed files with 6 additions and 7 deletions

View File

@ -1360,15 +1360,14 @@ mispmodules () {
$SUDO_USER git clone https://github.com/MISP/misp-modules.git
cd misp-modules
# some misp-modules dependencies
sudo apt-get install python3-dev python3-pip libpq5 libjpeg-dev tesseract-ocr libpoppler-cpp-dev imagemagick virtualenv libopencv-dev zbar-tools libzbar0 libzbar-dev libfuzzy-dev -y
sudo apt install libpq5 libjpeg-dev tesseract-ocr libpoppler-cpp-dev imagemagick libopencv-dev zbar-tools libzbar0 libzbar-dev libfuzzy-dev -y
# If you build an egg, the user you build it as need write permissions in the CWD
sudo chgrp $WWW_USER .
sudo chmod g+w .
$SUDO_WWW ${PATH_TO_MISP}/venv/bin/pip install -I -r REQUIREMENTS
sudo chgrp staff .
$SUDO_WWW ${PATH_TO_MISP}/venv/bin/pip install -I .
sudo apt install ruby-pygments.rb libopencv-dev zbar-tools -y
sudo gem install asciidoctor-pdf --pre
## sudo gem install asciidoctor-pdf --pre
# Start misp-modules as a service
sudo cp etc/systemd/system/misp-modules.service /etc/systemd/system/

View File

@ -1 +1 @@
eaf31965e51c8fc7a6202d7896aa0e9b0b3ecb3d INSTALL.sh
1fb2fda7c7678d8363f1055e79e0281dabd5dee8 INSTALL.sh

View File

@ -1 +1 @@
4544798f992578aaffa28ba816591ba2dbf38c18824c4df0a901f13dd7ded714 INSTALL.sh
6bc4f6788b227cd1df8e0670411e10cf3f47c37d5335e0c80246753bb6a5cb5f INSTALL.sh

View File

@ -1 +1 @@
2930fa3ddeccc2753ad91ef4869dc43357093d24c33b8e01fa5c3218922ecf3855b7cb05bb5a60da1d4f9050ad1bbeef INSTALL.sh
236b691ff80c32c450d9967eab4c5ce9a2575ee103ee19fd9c0c7aa1223886dfe230db27eb596ffe925052759351f8b1 INSTALL.sh

View File

@ -1 +1 @@
54ba106074b191d85102b86da534a7ea5327ac208d6f3551b262b6daee6e8a289f3fe97b323a7ada4242b0a5580d8600f5caf8d2e4244b07a57a54f54cd8f426 INSTALL.sh
37cc12ee5664b561f13faac1b3aaac4cb103d58fce613f15d7e2f03e84a84299b7cdc112bf469e5e03881c55cbe79c04e9f8bf5868f4aabd2f4c9601d5756d2d INSTALL.sh