setting up elasticsearch in this appendixwe'll cover installing and setting up the elasticsearch database used in and instructions for both linux and windows installations are included note that if you get into trouble or want further information on elasticsearchit has pretty decent documentation you can find located at www elastic co/guide/en/elasticsearch/reference/ /setup html note elasticsearch is dependent on javaso we'll cover how to install that as well linux installation first check to see if you have java already installed on your machine you can check your java version in console window with java -version if java is installedyou'll see response like the one in figure you'll need at least java to run the version of elasticsearch we use in this book ( noteelasticsearch had moved on to version by the time this book was releasedbut while code might change slightlythe core principles remain the same figure or higher checking the java version in linux elasticsearch requires java