标签:sys ddr network work packages specific for bin pos
安装部署
下载rpm --import https://packages.elastic.co/GPG-KEY
elasticsearch
修改配置文件
vim /etc/yum.repos.d/elasticsearch.repo
添加
name=Elasticsearch repository for 2.x packages
baseurl=http://packages.elastic.co/elasticsearch/2.x/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1
安装elasticsearch
yum install elasticsearch
配置和启动ES服务器进程
chkconfig --add elasticsearch
systemctl start elasticsearch
通过IP访问ES的配置 修改elasticsearch.yml
vim /etc/elasticsearch/elasticsearch.yml
修改内容
# Set the bind address to a specific IP (IPv4 or IPv6):
network.host: 0.0.0.0
# Set a custom port for HTTP:
http.port: 9200
elasticsearch启动
service elasticsearch start
elasticsearch安装配置
标签:sys ddr network work packages specific for bin pos
原文地址:https://www.cnblogs.com/dage2587/p/11351392.html