globaleaks / globaleaks-whistleblowing-software

GlobaLeaks is free, open-source whistleblowing software enabling anyone to easily set up and maintain a secure reporting platform.
https://www.globaleaks.org
Other
1.23k stars 269 forks source link

Improve new installation scripts to add resiliency checks #1062

Open fpietrosanti opened 9 years ago

fpietrosanti commented 9 years ago

This ticket is to Improve new installation scripts to add:

Each conditions required to have a successful installation must be strictly checked and every possible behavior or missing pre-conditions must be communicated to the user.

Currently missing checks from previous ubuntu installation script:

fpietrosanti commented 9 years ago

We shall bring back the old installation script structure

fpietrosanti commented 9 years ago

If we want to change the way it's done, a nice reference it's the ooni install script ooni.torproject.org/install.sh

fpietrosanti commented 9 years ago

Other reference: curl -sL https://deb.nodesource.com/setup | sudo bash -

/cc @mmaker @evilaliv3

evilaliv3 commented 9 years ago

i will work deeply on this today while travelling..

evilaliv3 commented 9 years ago

@fpietrosanti i've imported all the checks and informative messages that were present on the old init script.

few are missing because some dependencies are installed by the globaleaks package itself. i've not added the check for iptables that is already performed by the init script and in addition it should be performed only with iptables installed (so that the old init script was also buggy :P tie'!)

fpietrosanti commented 9 years ago