ElasticSearch: Installation in Ubuntu
Jump to navigation
Jump to search
Install Java JDK
- You need java jdk installed
Create User for Elastic Search
- Create a user "elastic" to run elasticsearch under.
Setup Environment Variables
Set up the env variables for the "elastic" user.
- Set JAVA HOME env variables.
- Elastic Search consume significant amount of memory and may fail on startup.
- You can limit heapsize of java memory by setting ES_JAVA_OPTS
export ES_JAVA_OPTS="-Xms512m -Xmx512m"