在Ubuntu 18.04上安装Elasticsearch

In this tutorial, we will look at how we can install Elasticsearch on Ubuntu 18.04. Elasticsearch is an open-source distributed full-text search and analytics engine. It supports RESTful operations (GET, POST requests) and allows you to store, search, and analyze big volumes of data in real-time.

在本教程中,我们将研究如何在Ubuntu 18.04上安装Elasticsearch。 Elasticsearch是一个开源的分布式全文本搜索和分析引擎。 它支持RESTful操作(GET,POST请求),并允许您实时存储,搜索和分析大量数据。



步骤1:安装先决条件 (Step 1: Install Prerequisites)

Before installing Elasticsearch, we must first get its dependencies. The major dependency is OpenJDK 8 since this is an open-source Java application.

在安装Elasticsearch之前,我们必须首先获取其依赖项。 主要依赖项是OpenJDK 8,因为这是一个开源Java应用程序。

Let’s first update our system and install required packages so that apt can download over https.

首先让我们更新系统并安装所需的软件包,以便apt可以通过https下载。


sudo apt update
sudo apt install apt-transport-https

Now, install OpenJDK 8 (Recommended) using the package manager.

现在,使用包管理器安装OpenJDK 8 (推荐)。


sudo apt install openjdk-8-jdk

Otherwise, if you want to install the most recent version, you can install the latest version of Java.

否则,如果要安装最新版本,则可以

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值