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: centos5.x required software package: nali-0.2.tar.gz1. download naliwget -- no-check-certificatehttp was originally intended to automatically update the ip library www.slogra.com. it was found that nali can automatically download the ip library, but after some tests, it is found that the ip address display effect is not very correct, so it is not on, but in order to prevent such a tool from being buried, there is the following article.
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.
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