下载安装
> 文档中心 > INFINI Console > 入门指南 > 下载安装

安装 INFINI Console #

INFINI Console 支持主流的操作系统和平台,程序包很小,没有任何额外的外部依赖,安装起来应该是很快的 :)

安装前准备 #

准备一个可以存储数据的 Elasticsearch 集群,要求为 7.3 及以上版本,用于 INFINI Console 存储相关数据。

下载安装 #

根据您所在的操作系统和平台选择下面相应的下载地址:

https://release.infinilabs.com/console/

容器部署 #

INFINI Console 也支持 Docker 容器方式部署。

了解更多

启动 INFINI Console #

下载完成,直接运行程序即可启动 INFINI Console 了(这里使用的是 mac 版本的,不同平台的程序文件名称略有不同),如下:

➜ ./console-mac-amd64
   ___  __   ___         ___
  / __\/ /  /___\/\ /\  /   \
 / /  / /  //  // / \ \/ /\ /
/ /__/ /__/ \_//\ \_/ / /_//
\____|____|___/  \___/___,'
   ___  ___    __  __    ___  __   __
  / __\/___\/\ \ \/ _\  /___\/ /  /__\
 / /  //  //  \/ /\ \  //  // /  /_\
/ /__/ \_// /\  / _\ \/ \_// /__//__
\____|___/\_\ \/  \__/\___/\____|__/

[CONSOLE] INFINI Cloud Console, The easiest way to operate your own search platform.
[CONSOLE] 0.3.0_SNAPSHOT, 2022-03-31 10:26:41, 2023-12-31 10:10:10, fa04f6010144b7c5267c71ccaee30230ddf2432d
[03-31 20:27:40] [INF] [app.go:174] initializing console.
[03-31 20:27:40] [INF] [app.go:175] using config: /console-0.3.0_SNAPSHOT-447-mac-amd64/console.yml.
[03-31 20:27:40] [INF] [instance.go:72] workspace: /console-0.3.0_SNAPSHOT-447-mac-amd64/data/console/nodes/c92psf1pdamk8rdhgqpg
[03-31 20:27:40] [INF] [app.go:283] console is up and running now.
[03-31 20:27:40] [INF] [ui.go:197] ui listen at: http://0.0.0.0:9000
[03-31 20:27:40] [INF] [module.go:116] all modules are started

看到上面的启动信息,说明 INFINI Console 已经成功运行了,并且监听了 9000 端口。

停止 INFINI Console #

如果需要停止 INFINI Console,按 Ctrl+C 即可停止 INFINI Console 平台,如下:

^C
[CONSOLE] got signal: interrupt, start shutting down
[03-31 20:33:10] [INF] [module.go:145] all modules are stopped
[03-31 20:33:10] [INF] [app.go:267] console now terminated.
[CONSOLE] 0.3.0_SNAPSHOT, uptime: 5m30.307832s
   __ _  __ ____ __ _  __ __
  / // |/ // __// // |/ // /
 / // || // _/ / // || // /
/_//_/|_//_/  /_//_/|_//_/

©INFINI.LTD, All Rights Reserved.

配置服务后台运行 #

如果希望将 INFINI Console 以后台服务任务的方式运行,如下:

➜ ./console -service install
Success
➜ ./console -service start
Success

卸载服务也很简单,如下:

➜ ./console -service stop
Success
➜ ./console -service uninstall
Success

初始化 #

使用浏览器打开 http://localhost:9000 访问,可以看到如下界面,可以进行初始化配置。

继续查看