Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux platform NTOP Installation and Configuration     - Python dictionary applications get built-in method (Programming)

- Database start listening TNS-12537, TNS-12560 error (Database)

- Linux disk partition batch format mount script (Linux)

- Configuring Allatori code confusion when developing general Java applications in NetBeans (Programming)

- Linux /var/spool/ insufficient clientmqueue space solutions (Linux)

- JavaScript, some conclusions about the implicit conversion (Programming)

- Introduction and MongoDB CRUD (Database)

- Setting Derby as Linux / Windows running as a service from the start (Server)

- RHEL5 / 6 Installation Notes (Linux)

- MySQL concat function is SQL injection (Linux)

- Ubuntu deploying Solr (4.4) to Tomcat (7.0.53) (Server)

- Linux (RHEL5) general optimization system security (Linux)

- Linux System Getting Started Learning: Using yum to download the RPM package without installing (Linux)

- Ubuntu install Oracle 10g process and problem solution (Linux)

- Use ISO document production OpenStack used CoreOS mirror (Linux)

- OpenStack package problems and solutions under CentOS6 (Linux)

- 2016, the new Node project Precautions (Programming)

- Use OpenSSL for RSA encryption and decryption (Linux)

- How to install CentOS CentOS web page (Server)

- CentOS yum install LAMP (Server)

 
         
  Linux platform NTOP Installation and Configuration
     
  Add Date : 2018-11-21      
         
         
         
  Today there needs to be configured NTOP the Linux platform, used to monitor network conditions. So simple understanding of a moment in cu forums and google help successfully completed.
Cut the crap, supra.
 
Related Websites:
www.ntop.org
www.graphviz.org
Loading rpmforge:
#wget ftp.freshrpms.net/pub/freshrpms/pub/dag/RedHat/el5/en/i386/RPMS.dag/rrdtool-1.2.30-1.el5.rf.i386.rpm
Source Package toss a morning nor, rpmforge still very useful ah.
Installed graphviz:
#yum install graphviz
Install ntop:
#yum install ntop
Change ntop.conf:
--user ntop
--db-file-path / var / ntop
--use-syslog = local1 # ntop will allow logging to local1.
Change /etc/syslog.conf:
local1. * inside /var/log/ntop.log # ntop.conf and correspondence, remember to restart syslog service.
Change /etc/init.d/ntop:
#! / Bin / bash
#
# Init file for the NTOP network monitor
#
# Chkconfig: 35 93 83 # 35 plus the original is here - let ntop start automatically at 35 level. Remember to use #chkconfig ntop on
#
# Description: NTOP Network Monitor
#
# Processname: ntop
# Config: /etc/ntop.conf
# Pidfile: / var / run / ntop
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. / Etc / sysconfig / network
# Check that networking is up.
[ "$ {NETWORKING}" == "no"] && exit 0
[-x "/ Usr / bin / ntop"] || exit 1
[-r "/etc/ntop.conf"] || Exit 1
# [-r "/var/ntop/ntop_pw.db"] || Exit 1
RETVAL = 0
prog = "ntop"
start () {
    echo -n $ "Starting $ prog:"
    daemon $ prog @ / etc / ntop.conf -d -L # here originally -d -L @ ..... but will be given, so as not to be changed back.
    RETVAL = $?
    echo
    [$ RETVAL -eq 0] && touch / var / lock / subsys / \ $ prog
    return $ RETVAL
}
stop () {
    echo -n $ "Stopping $ prog:"
    killproc $ prog
    RETVAL = $?
    echo
    [$ RETVAL -eq 0] && rm -f / var / lock / subsys / $ prog
    return $ RETVAL
}
restart () {
    stop
    start
}
case "$ 1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  restart | reload)
    restart
    ;;
  condrestart)
    [-e / Var / lock / subsys / $ prog] && restart
    RETVAL = $?
    ;;
  status)
    status $ prog
    RETVAL = $?
    ;;
  *)
    echo $ "Usage: $ 0 {start | stop | restart | condrestart | status}"
    RETVAL = 1
esac
exit $ RETVAL
Configuring ntop:
Add dot.path / usr / bin / dot in the Admin-Preferences, the realization of drawing functions.
 
Other considerations:
Before the first start to set a password management with the following command, after the time set with the web page to obtain. The default user name admin, password is the following command.
# / Usr / bin / ntop -P / var / ntop -u ntop -A
Firewall open port 3000, or modify the configuration file into another.
     
         
         
         
  More:      
 
- Remote installation of Net-SNMP whole process (Linux)
- Setting Squid successful anti-hotlinking (Linux)
- How to configure MongoDB replica set (Database)
- Linux system performance analysis and top command ps.pstree Comments (Linux)
- Easy to install CentOS 6.6 desktop environment (Linux)
- Linux source code analysis tool (Linux)
- Examples of testing and installation Mesos on CentOS (Linux)
- Solaris 10 nagios monitoring system (Linux)
- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)
- DELL D630 Wireless LAN Driver Installation CentOS6 (Linux)
- How to fix fatal error: security / pam_modules.h: No such file or directory (Linux)
- KVM usb passthrough configuration (Linux)
- Firewall settings oracle remote connection in Linux systems (Linux)
- SUSE Firewall Configuration (Linux)
- Linux command line under HTTP traffic sniffing tool: httpry (Linux)
- Ubuntu 14.04 installed VirtualBox 4.3 appears vboxdrv: Unknown symbol mcount (Linux)
- Linux kernel socket protocol stack routing lookup cache mechanism (Linux)
- To remove those IP is prohibited Fail2ban on CentOS 6/7 (Server)
- Using Linux stat command to view the files (Linux)
- Sturdy build secure Linux server (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.