さくらVPSにTripwireをインストールする

2018年4月5日

http://sourceforge.net/projects/tripwire/?source=dlp

上記よりダウンロード。

そのままサーバーにアップロード。アップロード先はどこでも良いので、今回はrootディレクトリに展開します。

# bunzip2 tripwire-2.4.2.2-src.tar.bz2# tar xvf tripwire-2.4.2.2-src.tar

これで解凍まで完了。
tripwireのディレクトリまで移動します。

# cd /root/tripwire-2.4.2.2-src# ./configurechecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnu…

次はmake

# makemake all-recursivemake[1]: Entering directory `/root/tripwire-2.4.2.2-src'Making all in manmake[2]: Entering directory `/root/tripwire-2.4.2.2-src/man'Making all in man4make[3]: Entering directory `/root/tripwire-2.4.2.2-src/man/man4'…

そしてmake install

# make installMaking install in manmake[1]: Entering directory `/root/tripwire-2.4.2.2-src/man'Making install in man4make[2]: Entering directory `/root/tripwire-2.4.2.2-src/man/man4'make[3]: Entering directory `/root/tripwire-2.4.2.2-src/man/man4'…

途中でライセンスが表示されます。

enterでざっと見ていきます。

GNU GENERAL PUBLIC LICENSEVersion 2, June 1991Copyright (C) 1989, 1991 Free Software Foundation, Inc.59 Temple Place, Suite 330, Boston, MA 02111-1307 USAEveryone is permitted to copy and distribute verbatim copiesof this license document, but changing it is not allowed.…Please type "accept" to indicate your acceptance of thislicense agreement. [do not accept]accept ←と入力Using configuration file ./install/install.cfgChecking for programs specified in install configuration file..../usr/sbin/sendmail -oi -t exists. Continuing installation./bin/vi exists. Continuing installation.----------------------------------------------Verifying existence of binaries..../bin/siggen found./bin/tripwire found./bin/twprint found./bin/twadmin foundThis program will copy Tripwire files to the following directories:TWBIN: /usr/local/sbinTWMAN: /usr/local/manTWPOLICY: /usr/local/etcTWREPORT: /usr/local/lib/tripwire/reportTWDB: /usr/local/lib/tripwireTWSITEKEYDIR: /usr/local/etcTWLOCALKEYDIR: /usr/local/etcCLOBBER is false.Continue with installation? [y/n] y ←と入力Creating key files...(When selecting a passphrase, keep in mind that good passphrases typicallyhave upper and lower case letters, digits and punctuation marks, and areat least 8 characters in length.)Enter the site keyfile passphrase:任意の英数字を入力Verify the site keyfile passphrase:上で入力したパスフレーズを再入力Generating key (this may take several minutes)...Key generation complete.(When selecting a passphrase, keep in mind that good passphrases typicallyhave upper and lower case letters, digits and punctuation marks, and areat least 8 characters in length.)Enter the local keyfile passphrase:任意の英数字を入力Verify the local keyfile passphrase:上で入力したパスフレーズを再入力

最後に、site passphraseの入力も2回求められるのでこれも入力しておきます。
すると…

The installation succeeded.Please refer to for release information and to the printed user documentation for further instructions on using Tripwire 2.4 Open Source.make[3]: Leaving directory `/root/tripwire-2.4.2.2-src'make[2]: Leaving directory `/root/tripwire-2.4.2.2-src'make[1]: Leaving directory `/root/tripwire-2.4.2.2-src'

これでインストール完了です。


カテゴリ:
タグ:




関連するほかの記事