1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 13:19:02 +08:00

update readme

This commit is contained in:
zu1k 2020-07-22 07:30:42 +08:00
parent d5d766f536
commit 1e06f9cd61
2 changed files with 28 additions and 0 deletions

View File

@ -271,6 +271,20 @@ export NALI_DB=geoip
export NALI_DB=ipip
```
### Change database directory
If the database directory is not specified, the database will be placed in `~/.nali`
Set environment variables `NALI_DB_HOME` to specify the database directory
```
set NALI_DB_HOME=D:\nalidb
or
export NALI_DB_HOME=/home/nali
```
## Thanks
- [纯真QQIP离线数据库](http://www.cz88.net/fox/ipdat.shtml)

View File

@ -275,6 +275,20 @@ export NALI_DB=geoip
export NALI_DB=ipip
```
### 更换数据库目录
如果未指定数据库存放目录,数据库默认将存放在 `~/.nali`
设置环境变量 `NALI_DB_HOME` 来指定数据库目录
```
set NALI_DB_HOME=D:\nalidb
or
export NALI_DB_HOME=/home/nali
```
## 感谢列表
- [纯真QQIP离线数据库](http://www.cz88.net/fox/ipdat.shtml)