HOWTO Install n2n supernode under CentOS

sudo su - root
mkdir tmp
cd tmp
yum install rpm-build
svn co https://svn.ntop.org/svn/ntop/trunk/n2n 
pushd cd n2n/n2n_v1
scripts/mk_SRPM.sh
mv /usr/src/redhat/SRPMS/n2n.*.src.rpm ./
rpm -ivh n2n.*.src.rpm
rpmbuild -bb n2n.spec
mv /usr/src/redhat/RPMS/n2n.*.i386.rpm ./
rpm -ivh n2n.*.i386.rpm
popd
mkdir /etc/n2n
wget -O /etc/rc.d/init.d/supernoded http://wiki.cementhorizon.com/download/attachments/4784215/supernoded && chmod 755 /etc/rc.d/init.d/supernoded
wget -O /etc/n2n/supernode-`/bin/hostname -f` http://wiki.cementhorizon.com/download/attachments/4784215/supernode-host.example.com
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.