tripwire:install_tripwire
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tripwire:install_tripwire [2016/11/20 12:01] – peter | tripwire:install_tripwire [2019/12/04 21:53] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Tripwire - Install Tripwire ====== | ||
- | |||
- | <code bash> | ||
- | sudo apt-get update | ||
- | sudo apt-get install tripwire | ||
- | </ | ||
- | |||
- | The installation will run through quite a bit of configuration of the packages that are required. | ||
- | |||
- | First, it will configure the mail application that is being pulled in as a dependency. | ||
- | |||
- | It will ask you if you want to select passphrases during installation. | ||
- | |||
- | Next, you will be asked to choose and confirm a site key passphrase. | ||
- | |||
- | * **site key**: This key is used to secure the configuration files. | ||
- | |||
- | * **local key**: This key is used on each machine to run the binaries. | ||
- | |||
- | You will first choose and confirm a passphrase for the site key, and then for the local key. Make sure you choose strong passphrases. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Initialize the Database ===== | ||
- | |||
- | Following the installation, | ||
- | |||
- | First, if you did not choose yes to create a policy file during installation, | ||
- | |||
- | <code bash> | ||
- | sudo twadmin --create-polfile / | ||
- | </ | ||
- | |||
- | You will be prompted for the site passphrase you configured earlier. | ||
- | |||
- | This creates an encrypted policy file from the plain text one that we specified in the / | ||
- | |||
- | We can now initialize the database that tripwire will use to validate our system. | ||
- | |||
- | Because this file has not been tailored for our system yet, we will have a lot of warnings, false positives, and errors. | ||
- | |||
- | The basic way to initialize the database is by running: | ||
- | |||
- | <code bash> | ||
- | sudo tripwire --init | ||
- | </ | ||
- | |||
- | This will create our database file and complain about the things that we must adjust in the configuration. | ||
tripwire/install_tripwire.1479643267.txt.gz · Last modified: 2020/07/15 09:30 (external edit)