DEB Installation
Main Page - Overview - Installation - Configuration - Usage - Contributing - Doxygen - Links
DEB Installation
Download the openhip_0.5_i386.deb if you have a recent Debian-based system and just want to install pre-compiled binaries for the Userspace implementation.
Dependencies
You should have the latest libxml2 and openssl packages already installed. The binary DEB package was generated using a Ubuntu 6.10 (Edgy Eft) system with the latest updates at the date and time the DEB was built. Please back up any existing configuration files you may have.
Install
To install the HIP binaries, use this command:
> sudo dpkg -i openhip_0.5_i386.deb Selecting previously deselected package openhip. (Reading database ... 123624 files and directories currently installed.) Unpacking openhip (from openhip_0.5_i386.deb) ... Setting up openhip (0.5) ... Saving default configuration to '/usr/local/etc/hip/hip.conf'... hitgen v0.50 This utility will generate Host Identities for this machine. Checking if /usr/local/etc/hip/my_host_identities.xml already exists... I/O warning : failed to load external entity "/usr/local/etc/hip/my_host_identities.xml" Using /dev/urandom to seed the random number generator. Generating a 1024-bit RSA key Generating RSA keys for HI... Generating RSA keys for HI... Storing results to file '/usr/local/etc/hip/my_host_identities.xml'. chmod 600 /usr/local/etc/hip/my_host_identities.xml
The Debian package installs the following files:
> sudo dpkg -L openhip /. /usr /usr/local /usr/local/sbin /usr/local/sbin/hip /usr/local/sbin/hitgen /usr/local/etc /usr/local/etc/hip /usr/local/etc/hip/known_host_identities.xml /usr/share /usr/share/doc /usr/share/doc/openhip-0.5 /usr/share/doc/openhip-0.5/AUTHORS /usr/share/doc/openhip-0.5/README /usr/share/doc/openhip-0.5/COPYING
Now you can run HIP with:
> cd /usr/local/sbin > sudo ./hip -v
Uninstall
To uninstall the HIP binaries, use this command:
sudo apt-get remove openhip
You should manually remove your configuration files from /usr/local/etc/hip if you no longer need them.