Learn Devops tools online from the blog. Devops Institute Ahmedabad.


Download the rpmforge-releasepackage. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the command uname -i

The preferred rpmforge-releasepackage to retrieve and to install in order to enable that repository is one of the two listed above.

Install DAG's GPG key

rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Verify the package you have downloaded

rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm

Security warning: The rpmforge-releasepackage imports GPG keys into your RPM database. As long as you have verified the md5sum of the key injection package, and trust Dag, et al., then it should be as safe as your trust of them extends.

Install the package

rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm

Installing Ntop :
There is an ntop rpm in the rpmforge repository:
yum install ntop

There is a bug in the /etc/init.d/ntop startscript we need to fix. Open the file in your favorite editor for example vim:
vim /etc/init.d/ntop

change the line at start function from:
daemon $prog -d -L @/etc/ntop.conf
daemon $prog @/etc/ntop.conf -d -L

first time you start ntop you need to set the admin password:
ntop @/etc/ntop.conf

you should now be able to start ntop deamon via:
service ntop start

if you want to start ntop at boot:
chkconfig --levels 35 ntop on

webinterface is running on http port 3000 and https on port 3001:

Vishal Vyas

No comments:

Post a Comment