
inet_ntop使用
ntop
is network traffic and statistic monitoring tool. ntop
provides similar philosophy to top
command. There is also web based gui which makes it elegant to use. ntop
packages are provided by popular distributions like Ubuntu, Debian, Mint, Fedora, CentOs, RHEL etc.
ntop
是网络流量和统计监视工具。 ntop
提供了与top
命令类似的理念。 还有基于Web的gui,使它易于使用。 ntop
软件包是由Ubuntu,Debian,Mint,Fedora,CentOs,RHEL等流行发行版提供的。
为Debian,Ubuntu,Kali,Mint安装ntop (Install ntop For Debian, Ubuntu, Kali, Mint)
We can install ntop
with apt like below.
我们可以使用如下所示的apt安装ntop
。
$ sudo apt install ntop -y
为Fedora,CentOS,RHEL安装ntop (Install ntop For Fedora, CentOS, RHEL)
We can install ntop
tool with the yum like below.
我们可以使用如下的yum安装ntop
工具。
$ sudo yum install ntop -y
设置ntop Web界面密码 (Set ntop Web Interface Password)
As stated previously ntop
provides web interface and console interface too. In order to use web interface we should set password. We can set password using ntop
command with root privileges where sudo
can be used.
如前所述, ntop
提供Web界面和控制台界面。 为了使用网络界面,我们应该设置密码。 我们可以使用具有root特权的ntop
命令来设置密码,其中可以使用sudo
。
$ sudo ntop