How To Set Up Elasticsearch 2.3 on Openshift

Thank you very much for your tutorial. I followed the tutorial and I successfully setup the elasticsearch on the openshift platform. I have listed the difficulties that I have met during the setup process and the solution to each of them.

  1. Stop file error

For the codes in the modified stop file in the action_hooks directory, simply copying the codes to the file does not work because the “” on this website are not the same as the “” that are used in the files.

2. Files cannot be pushed to openshift

Run git add . before committing. Committing and pushing without adding all the files lead to errors, especially for the newbies like me.