Install the latest nali ip display tool in centos

Source: Internet
Author: User

Install the latest nali ip display tool in centos
It was originally intended to automatically update the ip address library of www.slogra.com and found that nali could automatically download the ip address library. However, after some tests, it was found that the ip address display effect was not very correct, so it was not displayed, however, in order to prevent such a tool from being buried, the following article is available.
System: centos 5.x
Required software packages: nali-0.2.tar.gz
1. Download nali
Wget -- no-check-certificate http://qqwry.googlecode.com/files/nali-0.2.tar.gz

2. Install nali
Tar zxf nali-0.2.tar.gz & cd nali-0.2
./Configure
Make & make install

3. Update the nali ip database
Cd/usr/local/share
Nali-update

After the update, you can copy the QQWry. Dat file to the location you called in php.

Ps:
Currently, nali includes the following commands:
Nali
Nali-dig
Nali-nslookup
Nali-traceroute
Nali-tracepath
Nali-ping
The premise of using these commands is that their corresponding commands must exist. for example, if you want to use nali-dig, you must ensure that dig exists. their usage is the same as that of the original command. for example, nali-dig is used in the same way as dig. (nali-dig is equivalent to dig | nali)

Of course, nali can also be used in local queries, but my need is to call the ip address library in php, so I can query the ip address on the web.

References:
Http://www.cnblogs.com/mchina/archive/2012/12/24/2831220.html

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.