Step 2 - Downloading and Installing ElasticsearchĮlasticsearch can be downloaded directly from in zip, tar.gz, deb, or rpm packages. Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Sudo apt-get -y install oracle-java8-installer Install the latest stable version of Oracle Java 8 with this command (and accept the license agreement that pops up): Sudo add-apt-repository -y ppa:webupd8team/java OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)įor better Java performance and compatibility with ES need to install Oracle's proprietary Java (Oracle JDK 8). The result should look like similar to this: To verify your JAVA is installed and can be used, run the command: Elasticsearch requires Java 7 or higherīefore installing Java with APT, update the list of available packages for installation on your Ubuntu Droplet by running the command:Īfter that, you can install Java with the command: First, you will need a Java Runtime Environment (JRE) on your Droplet because Elasticsearch is written in the Java programming language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |