ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
ES安装向导: 1、环境要求 ``` JDK node ``` 2、下载 ``` elasticsearch ``` 3、下载 elasticsearch-head ``` git clone https://github.com/mobz/elasticsearch-head.git ``` 4、创建非root用户权限管控 ``` useradd es passwd es chown -R es:root elasticsearch-6.5.4 [root@iZwz99kz2oogerp784tbxiZ service\]# ll total 199300 drwxr-xr-x 9 es root 4096 Jan 11 11:56 elasticsearch-6.5.4 drwxr-xr-x 8 root root 4096 Jan 11 12:08 elasticsearch-head su es ``` 5、启动elasticsearch ``` su es cd /home/service/elasticsearch-6.5.4/bin #可以先看启动会不会报错,不报错就后台启动。 ./elasticsearch 后台启动 nohup ./elasticsearch & ``` 6、启动elasticsearch-head #grunt server & #nohup npm run start ~~~ [root@localhost elasticsearch-head]# npm run start ​ > elasticsearch-head@0.0.0 start /home/service/elasticsearch-head > grunt server ​ > > Local Npm module "grunt-contrib-jasmine" not found. Is it installed? ​ Running "connect:server" (connect) task Waiting forever... Started connect web server on http://localhost:9100 ~~~