mirror of https://github.com/MISP/misp-packer
- Fixed dependencies for pdfexport
parent
f2691ac626
commit
59caafc78f
|
@ -109,7 +109,7 @@ sudo apt-get -y upgrade
|
||||||
sudo apt-get -y autoremove
|
sudo apt-get -y autoremove
|
||||||
|
|
||||||
echo "--- Install base packages ---"
|
echo "--- Install base packages ---"
|
||||||
sudo apt-get -y install curl net-tools gcc git gnupg-agent make python openssl redis-server sudo tmux vim virtualenvwrapper zip python3-pythonmagick tesseract-ocr htop imagemagick > /dev/null 2>&1
|
sudo apt-get -y install curl net-tools gcc git gnupg-agent make python openssl redis-server sudo tmux vim virtualenvwrapper zip python3-pythonmagick tesseract-ocr htop imagemagick asciidoctor > /dev/null 2>&1
|
||||||
|
|
||||||
|
|
||||||
echo "--- Installing and configuring Postfix ---"
|
echo "--- Installing and configuring Postfix ---"
|
||||||
|
@ -668,6 +668,10 @@ echo "--- Configuring mail2misp ---"
|
||||||
sudo sed -i "s/^misp_url\ =\ 'YOUR_MISP_URL'/misp_url\ =\ 'http:\/\/localhost'/g" /usr/local/src/mail_to_misp/mail_to_misp_config.py
|
sudo sed -i "s/^misp_url\ =\ 'YOUR_MISP_URL'/misp_url\ =\ 'http:\/\/localhost'/g" /usr/local/src/mail_to_misp/mail_to_misp_config.py
|
||||||
sudo sed -i "s/^misp_key\ =\ 'YOUR_KEY_HERE'/misp_key\ =\ '$AUTH_KEY'/g" /usr/local/src/mail_to_misp/mail_to_misp_config.py
|
sudo sed -i "s/^misp_key\ =\ 'YOUR_KEY_HERE'/misp_key\ =\ '$AUTH_KEY'/g" /usr/local/src/mail_to_misp/mail_to_misp_config.py
|
||||||
|
|
||||||
|
echo "--- Installing asciidoctor-pdf ---"
|
||||||
|
gem install asciidoctor-pdf
|
||||||
|
gem install pygments.rb
|
||||||
|
|
||||||
echo "--- Setting the permissions… ---"
|
echo "--- Setting the permissions… ---"
|
||||||
sudo chown -R www-data:www-data $PATH_TO_MISP
|
sudo chown -R www-data:www-data $PATH_TO_MISP
|
||||||
sudo chmod -R 750 $PATH_TO_MISP
|
sudo chmod -R 750 $PATH_TO_MISP
|
||||||
|
|
Loading…
Reference in New Issue