Ntop3.2 Installation notes-Linux Enterprise Application-Linux server application information. For details, refer to the following section. Install some necessary software packages first. In my system, gd and libpng must be installed first.
Install gd
# Wget
Http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
# Tar zxvf gd-2.0.33.tar.gz
# Cd gd-2.0.33
#./Configure; make install
Install libpng
# Wget
Ftp://ftp.simplesystems.org/pub/... ibpng-1.2.8.tar.bz2
# Tar jxvf libpng-1.2.8.tar.bz2
# Cd libpng-1.2.8
# Cp scripts/makefile. linux makefile
# Make; make install
Install ntop
The following rpm packages are available on the website, but I prefer to compile and install it myself.
# Wget
Http://www.mirrors.wiretapped.ne... g/ntop/ntop-3.2.tgz
# Tar-xvf ntop-3.2.tgz
# Cd ntop-3.2
#./Configure -- prefix =/usr/local/ntop -- disable-ipv6
# Make; make install
# Cp packages/RedHat/ntop. conf. sample/etc/ntop. conf
# Cp packages/RedHat/ntop. init/etc/init. d/ntop
# Chkconfig -- add ntop
Edit the self-starting file and change the following lines:
# Vi/etc/init. d/ntop
Prog = "/usr/local/ntop/bin/ntop"
Pids = 'ps axf | grep' \/usr \/local \/ntop \/bin \/ntop '| awk' {printf ("% s", $1 )}; END {print ""}''
An error occurred when using service ntop start to start ntop. Please check docs/1STRUN.txt. Precautions for the first running
For the first run, the "admin password" and other parameters must be added. The running user must be the root user.
# Mkdir/usr/local/share/ntop
#/Usr/local/ntop/bin/ntop-P/usr/local/share/ntop-u root-
Parameter description:
-P db file path
-Run user of u ntop)
-A: Set the admin password.
Create ntop running user ntop
# Useradd-s/sbin/nologin-d/dev/null ntop
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.