I am a newbie to Linux operating system. I have downloaded the latest elasticsearch version 5.5.1 on my Centos 7 server from https://www.elastic.co/downloads/elasticsearch. I have unzipped the file and store it in elasticsearch directory. I have tried to start the elasticsearch using the below commands (Reference: https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-targz.html):1)./bin/elasticsearchError: Permission denied2) sudo ./bin/elasticsearchError: sudo: ./bin/elasticsearch: command not foundAlthough there is no administrator user on my server. 3)cd bin./elasticsearchError Permission denied4) cd binsudo ./elasticsearchError: sudo: ./elasticsearch: command not found5) cd bin./elasticsearch.in.shThis command doesn't give me outputWhen I do wget http://localhost:9200, I get:--2017-08-01 14:01:25--  http://localhost:9200/Resolving localhost (localhost)... ::1, 127.0.0.1Connecting to localhost (localhost)|::1|:9200... failed: Connection refused.Connecting to localhost (localhost)|127.0.0.1|:9200... failed: Connection refused.May I know is this the right way to start the elasticsearch on a centos server. Do I have to change any setting in the configuration file before starting it. Any help is appreciated. Thanks
How to start elasticsearch on a CentOS?
centos;elasticsearch
Ok please make it executable with:sudo chmod +x elasticsearch.in.shThen run it sudo ./elasticsearch.in.shAnd we have the option to use an rpm package from here, Download the file elasticsearch-5.5.1.rpm and install with:sudo rpm -ivh elasticsearch-5.5.1.rpm