Ubuntu 24.04 LTS安装elasticsearch-8.14.3+Kibana
在Ubuntu 24.04 LTS上安装Elasticsearch 8.14.3和Kibana的步骤如下:
- 导入Elasticsearch和Kibana的公钥:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
- 添加Elasticsearch和Kibana的APT源:
echo "deb https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list
- 安装包更新并更新索引:
sudo apt-get update && sudo apt-get install -y ca-certificates
update-ca-certificates
- 安装Elasticsearch和Kibana:
sudo apt-get install -y elasticsearch=8.14.3 kibana=8.14.3
- 启动Elasticsearch和Kibana服务:
sudo systemctl start elasticsearch
sudo systemctl start kibana
- 开机自启动:
sudo systemctl enable elasticsearch
sudo systemctl enable kibana
确保你有足够的内存和磁盘空间来满足Elasticsearch的需求。如果你在安装过程中遇到问题,检查Elasticsearch和Kibana的日志文件以获取更多信息。
评论已关闭