环境
系统:CentOS 7.4
准备
-
安装Git
# yum install git
安装
-
下载
# git clone git://github.com/mobz/elasticsearch-head.git
-
安装
# cd elasticsearch-head # npm install
-
启动
# cd /usr/local/elasticsearch-head && nohup npm run start &
-
开机启动
# chmod +x /etc/rc.d/rc.local # vim /etc/rc.d/rc.local source /etc/profile cd /usr/local/elasticsearch-head && nohup npm run start &
其他
- 浏览器访问
http://ip:9100