mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 13:19:02 +08:00
update readme
This commit is contained in:
parent
d5d766f536
commit
1e06f9cd61
14
README.md
14
README.md
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user