Tripwire Installation and Configuration

Source: Internet
Author: User

One: Installation

[Email protected] tool]# wget http://nchc.dl.sourceforge.net/project/tripwire/tripwire-src/tripwire-2.4.2.2/ tripwire-2.4.2.2-src.tar.bz2

[Email protected] tool]#

[[email protected] tool]# ls
tripwire-2.4.2.2-src.tar.bz2
[Email protected] tool]# TAR-JXF tripwire-2.4.2.2-src.tar.bz2

#解压缩

[[email protected] tool]# ls
TRIPWIRE-2.4.2.2-SRC tripwire-2.4.2.2-src.tar.bz2

[Email protected] tool]# RM tripwire-2.4.2.2-src.tar.bz2
Rm:remove regular file ' tripwire-2.4.2.2-src.tar.bz2 '? Y

[Email protected] tool]# CD tripwire-2.4.2.2-src/

[Email protected] tripwire-2.4.2.2-src]# mkdir. /tripwire

[Email protected] tripwire-2.4.2.2-src]#/configure--prefix=/home/lemon/disktop/tool/tripwire

#--prefix= specifies that the path can be specified or not specified primarily for later removal.

#然后就是make咯

#如执行时make报错的话 may be your system does not have C C + + compiler yum Install a OK

[[email protected] tripwire-2.4.2.2-src]# make

[[email protected] tripwire-2.4.2.2-src]# make install


650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/9D/wKiom1SH0xmRUSruAAHNxHwxHuc510.jpg "title=" 2014-12-10_125838.png "alt=" Wkiom1sh0xmrusruaahnxhwxhuc510.jpg "/>



#这里俺回车键 space Bar can not understand English words to take to translate

#其实就是叫你阅读协议


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/9D/wKiom1SH1JnQ2yNxAAHGRFYmMGE969.jpg "title=" 2.png " alt= "Wkiom1sh1jnq2ynxaahgrfymmge969.jpg"/>


#这里就是问是否同意协议

Of course #同意就输入accept agreed.


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/9E/wKiom1SH1XWw2TP2AAGdRVYttlM975.jpg "title=" 3.png " alt= "Wkiom1sh1xww2tp2aagdrvyttlm975.jpg"/>


#确定继续安装 of course continue to install ... Y can


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/9C/wKioL1SH1mOCvyrYAADdkjYC9B8116.jpg "title=" 4.png " alt= "Wkiol1sh1mocvyryaaddkjyc9b8116.jpg"/>


#进入的密钥自己设置 ...

#然后重复输入一遍


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/9E/wKiom1SH1pzALbXGAAFQlduDSh0054.jpg "title=" 5.png " alt= "Wkiom1sh1pzalbxgaafqldudsh0054.jpg"/>


#设置进入本地密钥文件的密码

#然后重复一遍


Please enter your site passphrase:


#然后输入加密站点密码 (Set yourself)


Please enter your site passphrase:


#再输入一次加密站点密码


Then the installation ends



II: Generate Baseline Database (Initialize database)


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/9C/wKioL1SH2XeTirZhAAFw9iHnyAI927.jpg "title=" 6.png " alt= "Wkiol1sh2xetirzhaafw9ihnyai927.jpg"/>


-rw-r-----. 1 root root 931 Dec 08:16 Localhost.localdomain-local.key
-rw-r-----. 1 root root 931 Dec 08:14 Site.key
-rw-r-----. 1 root root 4586 Dec 08:16 tw.cfg
-rw-r-----. 1 root root 654 Dec 08:16 twcfg.txt
-rw-r-----. 1 root root 4159 Dec 08:17 Tw.pol
-rw-r-----. 1 root root 13876 Dec 08:16 twpol.txt



#localhost. Localdomain-local.key encrypting local key file

#site. Key encryption Site key text

#tw. CFG encryption Configuration variable file

#twcfg. txt define the location of the database, policy files, and tripwire executables

#tw. POL Encryption policy File

#twpol. txt defines the objects to be detected and the behavior to be taken when violating them


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/9E/wKiom1SH2z7yzVN2AADg1cFUOBY653.jpg "title=" 7.png " alt= "Wkiom1sh2z7yzvn2aadg1cfuoby653.jpg"/>


#此时执行了./sbin/tripwire--init

#会提示输入密码 Enter your password


650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/9F/wKiom1SH5E2SPqjeAACLqXyWHMg168.jpg "title=" 1.png " alt= "Wkiom1sh5e2spqjeaaclqxywhmg168.jpg"/>


#初始化数据库成功



Three: Testing



This article is from the "Champion Small Lemon" blog, please make sure to keep this source http://lemonit.blog.51cto.com/6043645/1588273

Tripwire Installation and configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.