Installing Elastic 2.0 on a clean Ubuntu 14.04 (single node)

· elasticsearch, Ubuntu
Authors

Tested on a clean Ubuntu 14.04 image:

#java 8 – includes some interactive responses on your side
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
#test it:
java -version
#should be: java version “1.8.XX”

#fixing apt-get, installation and post service config
wget -qO – https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add –
echo “deb http://packages.elastic.co/elasticsearch/2.x/debian stable main” | sudo tee -a /etc/apt/sources.list.d/elasticsearch-2.x.list
sudo apt-get update && sudo apt-get install elasticsearch
sudo update-rc.d elasticsearch defaults 95 10

#start service
sudo /etc/init.d/elasticsearch start

#say hi
curl ‘http://localhost:9200?pretty’
#test response
…You Know, for Search

Done šŸ™‚

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: