How do you install ElasticSearch in a Node workspace using Express and Mongo?

express
nodejs
mongodb

#1

Trying to set up Elasticsearch and Mongoosastic in a Node environment on a PC. Anybody have installation tips/links on how to do this?


#2

You can run

sudo apt-get update
sudo apt-get install -y openjdk-8-jdk
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.3.2.deb
sudo dpkg -i elasticsearch-5.3.2.deb 
/etc/init.d/elasticsearch start

but this works only on workspaces for workspaces with large memory (i’ve used one with 2.5 gb memory)