单机部署 elasticsearch
1. install es Install with Debian package configuring es elasticsearch.yaml: cluster.name: es-test node.name: es-test-1 node.roles: [ master, data ] path.data: /var/lib/elasticsearch path.logs: /var/log/elasticsearch # Lock the memory on startup: bootstrap.memory_lock: true network.host: 172.20.133.158 discovery.type: single-node # 单节点模式 Systemd configuration [Service] LimitMEMLOCK=infinity reload units: sudo systemctl daemon-reload 2. Reset user password Reset the elastic superuser password... » read more