Linux安装elasticsearch

配置参考
下载http://172.16.60.100/tools/elasticsearch/

配置好JAVA_HOME

需要jkd1.7以上版本, 配置好JAVA_HOME

ES 5.3

yum安装rpm包

yum install elasticsearch-5.3.0.rpm
yum install kibana-5.3.0-x86_64.rpm

配置文件

#/etc/elasticsearch/elasticsearch.yml

network.host: 127.0.0.1
http.port: 9200
同样的将Kibana 也设为localhost only

#/etc/kibana/kibana.yml

server.port: 5601
server.host: “127.0.0.1”
设定完成后记得重开Kibana 和Elasticsearch 才会生效哦,可以检查一下是否在外网真的无法连线。

管理服务

service elasticsearch start|stop|restart
service kibana start|stop|restart

开机启动

chkconfig elasticsearch on
chkconfig kibana on

bin文件安装

ES 1.4.5

使用bin文件安装

nginx配置

nginx配置http://localhost:4000/linux-install-nginx/#nginx-basic-认证文件生成

test

dfhdfi

Related post
Comment
Share
  • linux install nginx

    linux 安装nginx一键安装123456789101112wget http://ip/tools/nginx/nginx-1.10.2.tar.gztar -vxf nginx-1.10.2.tar.gz cd nginx-1...

    linux install nginx
  • centos 6.5 install

    centos 6.5 安装核心配置上台集群换成Linux系统版本: centos6.5 64位硬盘分配: /home 50G Swap 8g 剩余的给分给根目录/组件:最小...

    centos 6.5 install
  • Hello World

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using ...

    Hello World
  • flowchat

    $$E=mc^2$$ $$\sum_{i=1}^n a_i=0$$$$\sum ^ {j-1}{k=0}{\widehat{\gamma} {kj} z k } $$ $$\Gamma(z) = \int_0^\infty t^...

    flowchat
  • linux-common-comand

    linux 一些命令工具nginx basic 认证文件生成12yum install httpd-toolshtpasswd -c 生成的认证文件名 用户名 字符串搜索12grep -Ril '搜索内容' ./...

    linux-common-comand
  • cabot install

    cabot 安装环境 centos6.5 64 python: 2.7 python2.7 安装参考graphite-install-on-centos cabot安装参考https://gist.github.com/Gromph...

    cabot install
  • luigi install

    luigi 安装官方文档: http://luigi.readthedocs.io/en/latest/中文: https://github.com/17zuoye/luiti/blob/master/README.zh_CN.mar...

    luigi install
  • centos repo

    公司centos源centos源列表(翻墙): https://www.centos.org/download/mirrors/epel源列表(翻墙): https://fedoraproject.org/wiki/EPEL163源:...

    centos repo
  • graphite install on centos

    graphite 安装环境 centos6.5 64 python: 2.7公司机器: 172.16.60.139 参考客户端: graphitesend 中文文档:https://segmentfault.com/search?q...

    graphite install on centos
  • private docker server

    搭建docker私有服务器公司: 172.16.60.204系统: centos 7 1611版本python: 系统自带2.7.5docker-registry功能增强: Harbor 国内镜像使用http://www.cnblog...

    private docker server
Please check the comment setting in config.yml of hexo-theme-Annie!