Installation and maintenance scripts for Nsys Platform.
# curl -sSL https://raw.githubusercontent.com/nsys-code/nsys-scripts/master/nsys/nsys-installer.sh | bash
# wget -qO- https://raw.githubusercontent.com/nsys-code/nsys-scripts/master/nsys/nsys-installer.sh | bash
# curl -o nsys-installer.sh https://raw.githubusercontent.com/nsys-code/nsys-scripts/master/nsys/nsys-installer.sh
# chmod a+x nsys-installer.sh
# ./nsys-installer.sh
# wget -O nsys-installer.sh https://raw.githubusercontent.com/nsys-code/nsys-scripts/master/nsys/nsys-installer.sh
# chmod a+x nsys-installer.sh
# ./nsys-installer.sh
# curl -o nsys-installer.sh https://raw.githubusercontent.com/nsys-code/nsys-scripts/master/nsys/nsys-installer.sh
# chmod a+x nsys-installer.sh
# ./nsys-installer.sh --nsys-user nsys --nsys-group nsys --nsys-basedir /opt/nsys --nsys-home /var/nsys/application-data
# ./nsys-installer.sh --help
Nsys Platform Installation Script
Copyright 2015, 2018 Nsys.org - Tomas Hrdlicka <tomas@hrdlicka.co.uk>
All rights reserved.
Web: code.nsys.org
Git: github.com/nsys-code/nsys-scripts
More information about installation and configuration you can find at
http://doc.nsys.org/display/NSYS/Nsys+Installation+and+Configuration
Usage: ./nsys-installer.sh [OPTIONS]
Options:
-u, --nsys-user USER Nsys Platform Control system user acount
-g, --nsys-group GROUP Nsys Platform Control system user group
-b, --nsys-basedir DIR Nsys Platform installation directory (e.g. /opt/nsys)
-h, --nsys-home DIR Nsys Platform home directory for application data
(e.g. /var/nsys/application-data)
--reinstall Uninstall the current version of Nsys Platform,
then continue with the installation of the latest
version. Backup of the previous installation
is available in folder $NSYS_BASEDIR/.backup
--force-download Download latest version of the bundle everytime
--cfg-daemon-srv Configure Nsys Daemon to run as service
--cfg-portal-srv Configure Nsys Portal to run as service
--help Show help and quit
Examples:
# ./nsys-installer.sh --nsys-user nsys --nsys-group nsys \
--nsys-basedir /opt/nsys --nsys-home /var/nsys/application-data
# ./nsys-installer.sh
# ./nsys-installer.sh --reinstall
# ./nsys-installer.sh --reinstall --force-download
# ./nsys-installer.sh --cfg-daemon-srv
# ./nsys-installer.sh --cfg-portal-srv