mirror of https://github.com/MISP/MISP
chg: [doc] Added ignore file mode
parent
6635471b87
commit
24b9a2ebcf
|
@ -235,13 +235,16 @@ installCoreRHEL () {
|
|||
umask 0022
|
||||
|
||||
cd $PATH_TO_MISP/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW $PATH_TO_MISP/venv/bin/pip install .
|
||||
|
||||
cd $PATH_TO_MISP/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW $PATH_TO_MISP/venv/bin/pip install .
|
||||
|
||||
# install mixbox to accommodate the new STIX dependencies:
|
||||
cd $PATH_TO_MISP/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW $PATH_TO_MISP/venv/bin/pip install .
|
||||
|
||||
# install STIX2.0 library to support STIX 2.0 export:
|
||||
|
@ -261,6 +264,7 @@ installCoreRHEL () {
|
|||
sudo yum install devtoolset-7 cmake3 cppcheck libcxx-devel -y
|
||||
|
||||
cd $PATH_TO_MISP/app/files/scripts/lief
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW mkdir build
|
||||
cd build
|
||||
$SUDO_WWW scl enable devtoolset-7 "bash -c 'cmake3 \
|
||||
|
|
|
@ -208,14 +208,17 @@ installCoreRHEL () {
|
|||
$SUDO_WWW git clone https://github.com/CybOXProject/mixbox.git
|
||||
|
||||
cd $PATH_TO_MISP/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
# If you umask is has been changed from the default, it is a good idea to reset it to 0022 before installing python modules
|
||||
UMASK=$(umask)
|
||||
umask 0022
|
||||
cd $PATH_TO_MISP/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW $PATH_TO_MISP/venv/bin/pip install .
|
||||
|
||||
# install mixbox to accommodate the new STIX dependencies:
|
||||
cd $PATH_TO_MISP/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW $PATH_TO_MISP/venv/bin/pip install .
|
||||
|
||||
# install STIX2.0 library to support STIX 2.0 export:
|
||||
|
@ -236,6 +239,7 @@ installCoreRHEL () {
|
|||
sudo yum install cmake3 -y
|
||||
|
||||
cd $PATH_TO_MISP/app/files/scripts/lief
|
||||
$SUDO_WWW git config core.filemode false
|
||||
$SUDO_WWW mkdir build
|
||||
cd build
|
||||
$SUDO_WWW cmake3 \
|
||||
|
|
|
@ -352,16 +352,20 @@ false; while [[ $? -ne 0 ]]; do ${SUDO_WWW} git clone https://github.com/MAECPro
|
|||
false; while [[ $? -ne 0 ]]; do ${SUDO_WWW} git clone https://github.com/CybOXProject/mixbox.git; done
|
||||
|
||||
cd /var/www/htdocs/MISP/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
doas /usr/local/virtualenvs/MISP/bin/python setup.py install
|
||||
|
||||
cd /var/www/htdocs/MISP/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
doas /usr/local/virtualenvs/MISP/bin/python setup.py install
|
||||
|
||||
cd /var/www/htdocs/MISP/app/files/scripts/python-maec
|
||||
$SUDO_WWW git config core.filemode false
|
||||
doas /usr/local/virtualenvs/MISP/bin/python setup.py install
|
||||
|
||||
# install mixbox to accommodate the new STIX dependencies:
|
||||
cd /var/www/htdocs/MISP/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
doas /usr/local/virtualenvs/MISP/bin/python setup.py install
|
||||
|
||||
# install PyMISP
|
||||
|
@ -611,6 +615,7 @@ cd /usr/local/src/
|
|||
doas chown ${MISP_USER} /usr/local/src
|
||||
doas -u misp git clone https://github.com/MISP/misp-modules.git
|
||||
cd misp-modules
|
||||
$SUDO_WWW git config core.filemode false
|
||||
# pip3 install
|
||||
doas /usr/local/virtualenvs/MISP/bin/pip install -I -r REQUIREMENTS
|
||||
doas /usr/local/virtualenvs/MISP/bin/pip install -I .
|
||||
|
@ -841,6 +846,7 @@ doas mkdir misp-dashboard
|
|||
doas chown www:www misp-dashboard
|
||||
${SUDO_WWW} git clone https://github.com/MISP/misp-dashboard.git
|
||||
cd misp-dashboard
|
||||
$SUDO_WWW git config core.filemode false
|
||||
#/!\ Made on Linux, the next script will fail
|
||||
#doas /var/www/misp-dashboard/install_dependencies.sh
|
||||
doas virtualenv -ppython3 /usr/local/virtualenvs/DASHENV
|
||||
|
|
|
@ -157,10 +157,12 @@ cd ${PATH_TO_MISP}/app/files/scripts
|
|||
${SUDO_WWW} git clone https://github.com/CybOXProject/python-cybox.git
|
||||
${SUDO_WWW} git clone https://github.com/STIXProject/python-stix.git
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
# If you umask is has been changed from the default, it is a good idea to reset it to 0022 before installing python modules
|
||||
UMASK=$(umask)
|
||||
umask 0022
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
||||
# install maec
|
||||
|
@ -182,6 +184,7 @@ ${SUDO_WWW} git clone --branch master --single-branch https://github.com/lief-pr
|
|||
|
||||
# TODO: Fix static path with PATH_TO_MISP
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/lief
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} mkdir build
|
||||
cd build
|
||||
${SUDO_WWW} scl enable devtoolset-7 rh-python36 'bash -c "cmake3 \
|
||||
|
|
|
@ -153,10 +153,12 @@ ${SUDO_WWW} git clone --branch master --single-branch https://github.com/lief-pr
|
|||
${SUDO_WWW} git clone https://github.com/CybOXProject/mixbox.git
|
||||
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
# If you umask is has been changed from the default, it is a good idea to reset it to 0022 before installing python modules
|
||||
UMASK=$(umask)
|
||||
umask 0022
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
||||
# install maec
|
||||
|
@ -174,6 +176,7 @@ sudo yum install devtoolset-7 cmake3 -y
|
|||
|
||||
# TODO: Fix static path with PATH_TO_MISP
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/lief
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} mkdir build
|
||||
cd build
|
||||
${SUDO_WWW} scl enable devtoolset-7 'bash -c "cmake3 \
|
||||
|
@ -194,6 +197,7 @@ ${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install lief
|
|||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install -U python-magic git+https://github.com/kbandla/pydeep.git
|
||||
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
||||
# install STIX2.0 library to support STIX 2.0 export:
|
||||
|
@ -573,6 +577,7 @@ sudo chown root:users /usr/local/src
|
|||
cd /usr/local/src/
|
||||
${SUDO_WWW} git clone https://github.com/MISP/misp-modules.git
|
||||
cd misp-modules
|
||||
$SUDO_WWW git config core.filemode false
|
||||
# pip install
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install -I -r REQUIREMENTS
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
|
|
@ -147,12 +147,16 @@ ${SUDO_WWW} git clone https://github.com/MAECProject/python-maec.git
|
|||
# install mixbox to accommodate the new STIX dependencies:
|
||||
${SUDO_WWW} git clone https://github.com/CybOXProject/mixbox.git
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-maec
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
# install STIX2.0 library to support STIX 2.0 export:
|
||||
cd ${PATH_TO_MISP}/cti-python-stix2
|
||||
|
|
|
@ -176,10 +176,13 @@ ${SUDO_WWW} git clone https://github.com/MAECProject/python-maec.git
|
|||
# install mixbox to accommodate the new STIX dependencies:
|
||||
${SUDO_WWW} git clone https://github.com/CybOXProject/mixbox.git
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-maec
|
||||
${SUDO_WWW} ${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
|
|
@ -178,16 +178,20 @@ git clone https://github.com/CybOXProject/python-cybox.git
|
|||
git clone https://github.com/STIXProject/python-stix.git
|
||||
git clone https://github.com/MAECProject/python-maec.git
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-cybox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-stix
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${PATH_TO_MISP}/venv/bin/pip install .
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/python-maec
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
||||
# install mixbox to accommodate the new STIX dependencies:
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/
|
||||
git clone https://github.com/CybOXProject/mixbox.git
|
||||
cd ${PATH_TO_MISP}/app/files/scripts/mixbox
|
||||
$SUDO_WWW git config core.filemode false
|
||||
${PATH_TO_MISP}/venv/bin/pip install .
|
||||
|
||||
# install PyMISP
|
||||
|
|
Loading…
Reference in New Issue