chg: [doc] adde --no-cache to wget to make sure we always have the latest checksums

chg: [installer] Updated installer
pull/4648/head
Steve Clement 2019-05-17 22:26:57 +09:00
parent 1aef957d5f
commit 5ed1feb640
14 changed files with 35 additions and 29 deletions

View File

@ -24,11 +24,11 @@
# 1/ For other Debian based Linux distributions, download script and run as **unprivileged** user |
#-------------------------------------------------------------------------------------------------|
#
# The following installs only MISP-core:
# $ wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c
# The following installs only MISP Core:
# $ wget --no-cache -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c
#
# This will install MISP Core and misp-modules (recommended)
# $ wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c -M
# This will install MISP Core and misp-modules
# $ wget --no-cache -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c -M
#
#
#-------------------------------------------------------|
@ -36,7 +36,7 @@
#-------------------------------------------------------|
#
# To install MISP on Kali copy paste the following to your r00t shell:
# # wget -O /tmp/misp-kali.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh && bash /tmp/misp-kali.sh
# # wget --no-cache -O /tmp/misp-kali.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh && bash /tmp/misp-kali.sh
# /!\ Please read the installer script before randomly doing the above.
# The script is tested on a plain vanilla Kali Linux Boot CD and installs quite a few dependencies.
#
@ -276,7 +276,7 @@ checkInstaller () {
# SHAsums to be computed, not the -- notatiation is for ease of use with rhash
SHA_SUMS="--sha1 --sha256 --sha384 --sha512"
for sum in $(echo ${SHA_SUMS} |sed 's/--sha//g'); do
/usr/bin/wget -q -O /tmp/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha${sum}
/usr/bin/wget --no-cache -q -O /tmp/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha${sum}
INSTsum=$(shasum -a ${sum} ${0} | cut -f1 -d\ )
chsum=$(cat /tmp/INSTALL.sh.sha${sum} | cut -f1 -d\ )
@ -1268,6 +1268,9 @@ coreCAKE () {
# The default install is Python >=3.6 in a virtualenv, setting accordingly
$SUDO_WWW $RUN_PHP -- $CAKE Admin setSetting "MISP.python_bin" "${PATH_TO_MISP}/venv/bin/python"
# Set default role
$SUDO_WWW $RUN_PHP -- $CAKE setDefaultRole 3
# Tune global time outs
$SUDO_WWW $RUN_PHP -- $CAKE Admin setSetting "Session.autoRegenerate" 0
$SUDO_WWW $RUN_PHP -- $CAKE Admin setSetting "Session.timeout" 600

View File

@ -1,5 +1,5 @@
; Generated by RHash v1.3.8 on 2019-05-17 at 14:34.56
; Generated by RHash v1.3.8 on 2019-05-17 at 22:26.35
; Written by Kravchenko Aleksey (Akademgorodok) - http://rhash.sf.net/
;
; 93836 14:34.56 2019-05-17 INSTALL.sh
INSTALL.sh 8A07C25FD7A1A7F15C3390CEA9C6E76E87B76DF4 4295487DA17C0876211E1919F17DDA5ABBBB882BE3C2767B080ADE285181979A 53749E778BF6B1578B07F88AE9D47125F2F9D52F2B31000ECDAF661B8584E0B0A9BC32B6F674DB2D3C7B33C65A0C506C E3F3282C6657F6C81B6E9AE353BDA50BB99EB10703912890C30C82D90B4696A3FC7B15EAB607AEB1DC8968A12DBEE45DDB49189A3E572BAD653130C35B0A1FEA
; 93935 22:26.35 2019-05-17 INSTALL.sh
INSTALL.sh 1216CA60A1AB9E707AA49F77BD051E4E8752B04B 0398A7D6FDF7DFD42A1B36A421E7CDEBA0C46003818D30AA3B8A0E5F35C50C03 BAD8D7E89F36F56CDE426A2760C574802AB35ADD6E80D7AA3455470F34D15AFAB76B81E75557DFFCEBA36E0B0BD01D9E EE707168D3AA604EE27F237F5D7F3E2DA7B7571ABCEC555E4D366FBA22675D6BC6C057A4B770870C06AD462EF00377AF743AB5F27FDC5B92F1D1F5E2C8AE9109

View File

@ -1 +1 @@
8a07c25fd7a1a7f15c3390cea9c6e76e87b76df4 INSTALL.sh
1216ca60a1ab9e707aa49f77bd051e4e8752b04b INSTALL.sh

View File

@ -1 +1 @@
4295487da17c0876211e1919f17dda5abbbb882be3c2767b080ade285181979a INSTALL.sh
0398a7d6fdf7dfd42a1b36a421e7cdeba0c46003818d30aa3b8a0e5f35c50c03 INSTALL.sh

View File

@ -1 +1 @@
53749e778bf6b1578b07f88ae9d47125f2f9d52f2b31000ecdaf661b8584e0b0a9bc32b6f674db2d3c7b33c65a0c506c INSTALL.sh
bad8d7e89f36f56cde426a2760c574802ab35add6e80d7aa3455470f34d15afab76b81e75557dffceba36e0b0bd01d9e INSTALL.sh

View File

@ -1 +1 @@
e3f3282c6657f6c81b6e9ae353bda50bb99eb10703912890c30c82d90b4696a3fc7b15eab607aeb1dc8968a12dbee45ddb49189a3e572bad653130c35b0a1fea INSTALL.sh
ee707168d3aa604ee27f237f5d7f3e2da7b7571abcec555e4d366fba22675d6bc6c057a4b770870c06ad462ef00377af743ab5f27fdc5b92f1d1f5e2c8ae9109 INSTALL.sh

View File

@ -24,11 +24,11 @@
# 1/ For other Debian based Linux distributions, download script and run as **unprivileged** user |
#-------------------------------------------------------------------------------------------------|
#
# The following installs only MISP-core:
# $ wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c
# The following installs only MISP Core:
# $ wget --no-cache -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c
#
# This will install MISP Core and misp-modules (recommended)
# $ wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c -M
# This will install MISP Core and misp-modules
# $ wget --no-cache -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh ; bash /tmp/INSTALL.sh -c -M
#
#
#-------------------------------------------------------|
@ -36,7 +36,7 @@
#-------------------------------------------------------|
#
# To install MISP on Kali copy paste the following to your r00t shell:
# # wget -O /tmp/misp-kali.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh && bash /tmp/misp-kali.sh
# # wget --no-cache -O /tmp/misp-kali.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh && bash /tmp/misp-kali.sh
# /!\ Please read the installer script before randomly doing the above.
# The script is tested on a plain vanilla Kali Linux Boot CD and installs quite a few dependencies.
#

View File

@ -13,9 +13,9 @@ Make sure you are reading the parsed version of this Document. When in doubt [cl
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh
# This will install MISP Core and misp-modules (recommended)
# This will install MISP Core
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh -c -M
bash /tmp/INSTALL.sh -c
```
**The above does NOT work yet**

View File

@ -13,9 +13,9 @@ Make sure you are reading the parsed version of this Document. When in doubt [cl
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh
# This will install MISP Core and misp-modules (recommended)
# This will install MISP Core
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh -c -M
bash /tmp/INSTALL.sh -c
```
**The above does NOT work yet**

View File

@ -12,9 +12,9 @@ To install MISP on a fresh Ubuntu install all you need to do is:
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh
# This will install MISP Core and misp-modules (recommended)
# This will install MISP Core
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh -c -M
bash /tmp/INSTALL.sh -c
```
### 0/ MISP Ubuntu 18.04-server install - status

View File

@ -17,6 +17,9 @@ coreCAKE () {
# The default install is Python >=3.6 in a virtualenv, setting accordingly
$SUDO_WWW $RUN_PHP -- $CAKE Admin setSetting "MISP.python_bin" "${PATH_TO_MISP}/venv/bin/python"
# Set default role
$SUDO_WWW $RUN_PHP -- $CAKE setDefaultRole 3
# Tune global time outs
$SUDO_WWW $RUN_PHP -- $CAKE Admin setSetting "Session.autoRegenerate" 0
$SUDO_WWW $RUN_PHP -- $CAKE Admin setSetting "Session.timeout" 600

View File

@ -124,7 +124,7 @@ checkInstaller () {
# SHAsums to be computed, not the -- notatiation is for ease of use with rhash
SHA_SUMS="--sha1 --sha256 --sha384 --sha512"
for sum in $(echo ${SHA_SUMS} |sed 's/--sha//g'); do
/usr/bin/wget -q -O /tmp/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha${sum}
/usr/bin/wget --no-cache -q -O /tmp/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha${sum}
INSTsum=$(shasum -a ${sum} ${0} | cut -f1 -d\ )
chsum=$(cat /tmp/INSTALL.sh.sha${sum} | cut -f1 -d\ )

View File

@ -13,9 +13,9 @@ Make sure you are reading the parsed version of this Document. When in doubt [cl
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh
# This will install MISP Core and misp-modules (recommended)
# This will install MISP Core
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh -c -M
bash /tmp/INSTALL.sh -c
```
**The above does NOT work yet**

View File

@ -16,9 +16,9 @@ Make sure you are reading the parsed version of this Document. When in doubt [cl
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh
# This will install MISP Core and misp-modules (recommended)
# This will install MISP Core
wget -O /tmp/INSTALL.sh https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh
bash /tmp/INSTALL.sh -c -M
bash /tmp/INSTALL.sh -c
```
**The above does NOT work yet**