That's a rather old version of CentOS, so I'm not sure if any of the repositories (from Elasticsearch themselves or a third-party one) will work with that, but installing it via a repo (yum) would probably be the easiest. Otherwise, there is an older guide in this forum, though things may have changed slightly with Elasticsearch since it was written.