Lorem ipsum dolor sit amet, consectetur adipiscing elit. Test link

Search Suggest

Bài đăng

Installing ElasticSearch into Ubuntu 16.04 LTS Xenial - easy list of commands

This is an easy to follow how-to and list of commands to install ElasticSearch into Ubuntu 16.04 LTS (xenial) server


apt-get update

Install Java JRE:

apt-get install default-jre

Download & Install Elasticsearch Debian Package (.deb):

cd /usr/local/src

wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.3/elasticsearch-2.3.3.deb

dpkg -i elasticsearch-2.3.3.deb

Enable Elasticsearch Service (to be able to autostart)

systemctl enable elasticsearch.service

DONE - How to use your new ElasticSearch server

Edit configuration file:

nano /etc/elasticsearch/elasticsearch.yml

Default LOG file location:


Default DATA location:


To Start ElasticSearch:

systemctl start elasticsearch

To Stop ElasticSearch:

systemctl stop elasticsearch

To Check Status of ElasticSearch:

systemctl status elasticsearch

Đăng nhận xét