教程:
wget
出错:
1,wget
无法下载,百度之:
2,wget
无法下载,再百度(hoho,百度真是好东西~~)
or wget
源代码找齐了,go on!
#tar zxvf tripwire-2.3.1-2.tar.gz
#cd tripwire-2.3.1-2
#cp tw-20030919.patch.gz到tripwire-2.3.1-2目录
#gunzip tw-20030919.patch.gz
#patch -p1 < tw-20030919.patch
#chmod 755 configure
#./configure --sysconfdir=/etc/tripwire
出错
1,autoheader' is missing on your system安装gcc c++2,No package Autoconf available.安装 autoconf继续ing
#Make
出错:1,警告 有虚函数却没有虚析构函数。2,错误1不懂,找不到答案~~放弃!编译不成转去寻找rpm,嗯,虽然不咋喜欢老外,但他们的共享精神还是值得肯定的!下载之。(这个网站上还有更高点的版本,只是没经过测试,偶没敢下)#rpm -ivh tripwire-2.4.0-1.i386.rpm
出错:Failed dependencies:libcrypto.so.4 is needed不明白,继续百度,老外给的答案:libcrypto.so.4 and libssl.so.4 were provided by the package openssl097a,
while libdb-4.2.so is provided by db4. Check carefully the
library versions inside the packages because they are updated
frequently.嗯,晓得啦~~#yum install openssl097a db4
#rpm -ivh tripwire-2.4.0-1.i386.rpm
ok!终于装上了。验证一下:
#rpm -qa|grep tripwire
tripwire-2.4.0-1
hoho,大功告成,小菜菜自己散花啦~~P.S.百度哥,牛
阅读(1843) | 评论(0) | 转发(0) |