安装
https://github.com/zinclabs/zinc/releases
Windows 安装
set ZINC_FIRST_ADMIN_USER=admin
set ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123
mkdir data
zinc.exe
Linux 安装
mkdir data
ZINC_FIRST_ADMIN_USER=admin ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 ./zinc
#/bin/sh
ZINC_FIRST_ADMIN_USER=admin ZINC_FIRST_ADMIN_PASSWORD=Complexpass#123 nohup ./zinc &
使用Minio
预先创建索引
PUT http://localhost:4080/api/index
{
"name": "myshinynewindex",
"storage_type": "minio"
}
设置环境变量
环境变量 | 描述 |
---|---|
ZINC_MINIO_ENDPOINT | MinIO server endpoint. e.g localhost:9000 . See no http |
ZINC_MINIO_ACCESS_KEY_ID | MinIO ACCESS_KEY_ID |
ZINC_MINIO_SECRET_ACCESS_KEY | MinIO SECRET_ACCESS_KEY |
ZINC_MINIO_BUCKET | MinIO bucket for index storage |