标签:sudo tar enable height 启动 wget emc search systemctl
sudo apt-get install openjdk-8-jdk
es官网:https://www.elastic.co/cn/downloads/elasticsearch
点击如下图【apt-get】
查找自己想要的版本,点击使用deb方式安装,如下图:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.8.0-amd64.deb wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.8.0-amd64.deb.sha512 shasum -a 512 -c elasticsearch-7.8.0-amd64.deb.sha512 sudo dpkg -i elasticsearch-7.8.0-amd64.deb
vi /etc/elasticsearch/elasticsearch.yml
systemctl enable elasticsearch.service #设置es开机自启动 sudo systemctl start elasticsearch.service #启动es sudo systemctl stop elasticsearch.service #停止es #查看es运行状态 service elasticsearch status #查看报错日志 tail -f /var/log/elasticsearch/elasticsearch.log
curl localhost:9200
如下图:安装启动正常
ubuntu16.04采用apt-get安装指定版本es(elasticsearch)
标签:sudo tar enable height 启动 wget emc search systemctl
原文地址:https://www.cnblogs.com/nimantou/p/13166745.html