It seems that this open-source project is not well maintained and has not been updated for a long time, and there may be problems with the installation of the new version of linux. It seems that the gcc version is a problem and a good solution cannot be found, so I gave up the tarball installation and used the rpm method. Later I found that the rpm package provided by the official website does not work properly under my as4. I had to download src. rpm for Fedora. # Wgethttp: // download. fedora. us/fedora/1/i386/SRP
It seems that this open-source project is not well maintained and has not been updated for a long time, and there may be problems with the installation of the new version of linux. It seems that the gcc version is a problem and a good solution cannot be found, so I gave up the tarball installation and used the rpm method. Later I found that the rpm package provided by the official website does not work properly under my as4. I had to download src. rpm for Fedora.
# Wget http://download.fedora.us/fedora/fedora/1/i386/SRPMS.testing/tripwire-2.3.1-20.fdr.1.1.src.rpm
# Rpmbuild -- rebuild tripwire-2.3.1-20.fdr.1.1.src.rpm
# Cd/usr/src/RedHat/RPMS/i386/
# Rpm-ivh tripwire-2.3.1-20.fdr.1.1.i386.rpm
This version does not contain the twinstall. sh file, so you have to use the following command to complete this task.
# Tripwire-setup-keyfiles
During installation, you will be prompted to enter site keyfile passphrase and local keyfile passphrase.
Then initialize the database
# Tripwire -- init