-
Notifications
You must be signed in to change notification settings - Fork 17
Install Bootstrapping
Since release 3.4.0, Taranis will install under a username, by default taranis. You may already have an older version of Taranis
On a freshly installed host, you need to start with a Taranis distribution package. A Taranis distribution package is named as taranis-$version.tar.gz.
If you have not received the bootstrap script separately, you can collect extract it from the package:
root# tar xzf taranis-$version.tar.gz taranis-$version/taranis-bootstrap
root# mv taranis-$version/taranis-bootstraptara$ taranis install --version 3.4 # Newest version in 3.4With a recent bootstrap script, you run:
root# ./taranis-bootstrap taranis-$version.tar.gzThe bootstrap script will start with creating the user ‘taranis’ (if the name doesn’t already exist). It will unpack the sources (if not unpacked already) into ~taranis/sources/taranis-$version. Then it starts the install scripts which are contained in the package.
The more popular options of the taranis-bootstrap commands are:
-u --user USERNAME (default 'taranis') -g --group GROUPNAME (default 'taranis') -m --migrate DIR (default '/opt/taranis')
Install the software under this username. You can safely run very distinct releases of Taranis under different usernames on the same server.
During installation, you will get some questions. These values will get stored in ~taranis/etc/setup-generic or ~taranis/etc/setup-$version may change them later, by hand in that file, but need to rerun taranis install to effectuate them.
Also, you may get some questions from the Perl modules during the installation. You can simply accept the defaults.
Please, read the release notes for 3.4.0.
When you wish to upgrade to a newer release, you have the following options:
- Bootstrap with a new username: read the taranis bootstrap procedure.
- Share an installation under an existing username: become that user and run
taranis install taranis-$new_version.tar.gz - Install from GIT under the existing username
When you create a new username to install a parallel instance (or same username on a different server), you need the content of ~/var, ~/local*, and the database from your older installation.
Example: upgrading a minor release
tara$ taranis install --version 3.4.1-rc2 # Explicit version
tara$ taranis install --version 3.4 # Newest version in 3.4If you have GIT configured:
tara$ cd ~/sources/taranis-3.4.1
tara$ taranis install –--git # Reinstall from GITOnce you have bootstrapped a Taranis user, you probably do not need to check for missing perl or distributions modules anymore. You may skip these checks via:
tara$ taranis install --no-internet # Skip external checksimages/taranis-logo-medium.png ©NCSC-NL, License: EUPL-1.2