1、下载指定的ES版本(7.17.3)
https://www.elastic.co/downloads/past-releases/elasticsearch-7-17-3
2、单点部署elasticsearh
1、安装服务
[root@elk01 ~]# yum localinstall elasticsearch-7.17.3-x86_64.rpm -y
2、修改配置文件
[root@elk01 ~]# vim /etc/elasticsearch/elasticsearch.yml
cluster.name: cm-elk #修改集群名称
node.name: elk01 #修改节点名称
network.host: 0.0.0.0 #网络地址 http.port: 9200 #访问端口 discovery.seed_hosts: ["0.0.0.0"] #自动发现集群节点
3、修改权限
[root@elk01 ~]# chown -R elasticsearch:elasticsearch /etc/elasticsearch
4、启动elasticsearch 服务
[root@elk01 etc]# systemctl start elasticsearch.service
9200:用于外部http通信(http协议)
9300:用于集群内部各个节点之间的通信(tcp协议)
标签:单点,部署,0.0,http,etc,ElasticSearch,elk01,elasticsearch,root From: https://www.cnblogs.com/cm920/p/17124067.html