nmsg
,sie-nmsg
, and wdns
) from source after satisfying the build dependencies from the main EL6 and EPEL
("Extra Packages for Enterprise Linux") package repositories. The instructions below assume the x86_64
architecture is in use and that the user is running as root.
/usr/local
directory. This allows software to be easily installed into and uninstalled from the /usr/local
directory hierarchy. See the Stow manual for details. GNU Stow is not required to install our software, but simplifies the management of the /usr/local
directory.
--libdir='${exec_prefix}/lib64'
to the configure
script. See Red Hat bug 772997 for details. The instructions below assume a 64-bit system.
/usr/local
. See Red Hat bug 144967 for details. The setup instructions below fix this problem.
/usr/local
.
echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf
echo /usr/local/lib64 >> /etc/ld.so.conf.d/local.conf
Install the "Development Tools" package group.
yum groupinstall 'Development Tools'
Install the libpcap-devel
and zlib-devel
packages.
yum install libpcap-devel zlib-devel
Enable the Extra Packages for Enterprise Linux package repository.
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
protobuf-c
from https://github.com/protobuf-c/protobuf-c/releases. (NOTE: In the "Latest release" section, click the green protobuf-c-X.Y.Z.tar.gz
download button, not the "Source code (zip)" or "Source code (tar.gz)" buttons.) Build and install it.
./configure --prefix=/usr/local/stow/protobuf-c --libdir='${exec_prefix}/lib64' PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && make && make install && stow -v -d /usr/local/stow protobuf-c && ldconfig
Download the latest release of Farsight wdns
from https://dl.farsightsecurity.com/dist/wdns/. Build and install it.
./configure --prefix=/usr/local/stow/wdns --libdir='${exec_prefix}/lib64' PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && make && make install && stow -v -d /usr/local/stow wdns && ldconfig
Download the latest release of Farsight nmsg
from https://dl.farsightsecurity.com/dist/nmsg. Build and install it.
./configure --prefix=/usr/local/stow/nmsg --without-libxs --sysconfdir=/etc --with-plugindir=/usr/local/lib64/nmsg --libdir='${exec_prefix}/lib64' PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && make && make install && stow -v -d /usr/local/stow nmsg && ldconfig
Download the latest release of Farsight sie-nmsg
from https://dl.farsightsecurity.com/dist/sie-nmsg. Build and install it.
./configure --prefix=/usr/local/stow/sie-nmsg --libdir='${exec_prefix}/lib64' PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && make && make install && stow -v -d /usr/local/stow sie-nmsg
If SRA or AXA is going to be utilized, download the latest release of Farsight axa
from https://dl.farsightsecurity.com/dist/axa. Build and install it.
./configure --prefix=/usr/local/stow/axa --libdir='${exec_prefix}/lib64' PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig && make && make install && stow -v -d /usr/local/stow axa
nmsg
, sie-nmsg
, wdns
and axa
from /usr/local
.
stow -v -d /usr/local/axa -D wdns
rm -rf /usr/local/stow/axa
stow -v -d /usr/local/stow -D sie-nmsg
rm -rf /usr/local/stow/sie-nmsg
stow -v -d /usr/local/stow -D nmsg
rm -rf /usr/local/stow/nmsg
stow -v -d /usr/local/stow -D wdns
rm -rf /usr/local/stow/wdns