# Install Elasticsearch 5.6 on a new port

**URL:** <https://discuss.elastic.co/t/install-elasticsearch-5-6-on-a-new-port/137807>\
**Category:** Elasticsearch\
**Created:** [June 28, 2018, 2:49pm UTC](https://discuss.elastic.co/t/install-elasticsearch-5-6-on-a-new-port/137807 "2018-06-28T14:49:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CJ\_AIG](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@CJ\_AIG](https://discuss.elastic.co/u/CJ_AIG)\
**Post date:** [June 28, 2018, 2:49pm UTC](https://discuss.elastic.co/t/install-elasticsearch-5-6-on-a-new-port/137807/1 "2018-06-28T14:49:39Z")

</div>

Hi,

SugarCRM recommends to install Elasticsearch 5.4 or 5.6 on a new port in order to allow the upgrade to the next platform.  
For years they've recommended 1.7.5 which I currently have and now in order to do the transition to Elasticsearch 5.6 they recommend to install the new version on a new port.

They don't have any documentation for this installation and as far as I can see from some discussions in here, is not quite recommended to do that!  
I did logged a call with their Support but...they're not the fastest or best in that area...will leave it there for now.

Can anyone help with this transition from 1.7.5 to 5.6 for RHEL7; I prefer to use yum and .rpm packages.

I tried on a different test server ( with ver 5.6 only) to change the ports by modifying the elasticsearch.yml file and it worked but on my Main Server I have version 1.7.5 and not sure how to install on a different path; tried with -Epath /path/to/installation but it didn't work.

My install for 1.7.5 was something like this:

wget -P /tmp [https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.noarch.rpm](https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.5.noarch.rpm)  
yum -y install /tmp/elasticsearch\*.rpm

systemctl daemon-reload  
systemctl enable elasticsearch.service  
systemctl start elasticsearch.service

verify version  
/usr/share/elasticsearch/bin/elasticsearch -v

check elastic search:  
curl -X GET '[http://localhost:9200](http://localhost:9200)'

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![CJ\_AIG](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@CJ\_AIG](https://discuss.elastic.co/u/CJ_AIG)\
**Post date:** [July 3, 2018, 10:13am UTC](https://discuss.elastic.co/t/install-elasticsearch-5-6-on-a-new-port/137807/2 "2018-07-03T10:13:55Z")

</div>

anyone? 😃

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 31, 2018, 10:14am UTC](https://discuss.elastic.co/t/install-elasticsearch-5-6-on-a-new-port/137807/3 "2018-07-31T10:14:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
