# Installing Elasticsearch on a VM outside of the Internet

**URL:** <https://discuss.elastic.co/t/installing-elasticsearch-on-a-vm-outside-of-the-internet/274756>\
**Category:** Elasticsearch\
**Created:** [June 2, 2021, 1:26pm UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-a-vm-outside-of-the-internet/274756 "2021-06-02T13:26:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jyde](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jyde](https://discuss.elastic.co/u/jyde)\
**Post date:** [June 2, 2021, 1:26pm UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-a-vm-outside-of-the-internet/274756/1 "2021-06-02T13:26:37Z")

</div>

Hi,

I am tring to install ELK on a VM (let's name it **foomachine** ) which is not connected to the Internet.

With MobaXTerm, I have put the tar.gz file of the lastest version of Elasticsearch on **foomachine** , more precisely in a folder the name of which is ELK.

Then, I unzipped de tar.gz file, and now the folder ELK contains:

- elasticsearch;
- kibana;
- logstash.

What should be the next step to distribute the uncompressed files in etc/ bin/, etc.?

I thank you in advance for any explanations.  
Jean-Yves

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 3, 2021, 12:02am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-a-vm-outside-of-the-internet/274756/2 "2021-06-03T00:02:06Z")

</div>

Welcome to our community! 😃

> [@jyde](#):
>
> What should be the next step to distribute the uncompressed files in etc/ bin/, etc.?

You should use the deb or rpm packages to handle that, the tar.gz will simply extract to where ever it is located.

---

<div class="post-metadata">

**Author:** ![jyde](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jyde](https://discuss.elastic.co/u/jyde)\
**Post date:** [June 3, 2021, 7:04am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-a-vm-outside-of-the-internet/274756/3 "2021-06-03T07:04:23Z")

</div>

Thanks. But although the VM foomachine is Debian one, the PC which is connected to internet is a Windows 10. So I must:

1. get the .deb files within a Windows command line;
2. Put it into foomachine with MobaXTerm;
3. Install from the .deb file in foomachine.  
My trouble is with step 1, because the commands like:

`wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.13.1-amd64.deb`  
`wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.13.1-amd64.deb.sha512`  
`shasum -a 512 -c elasticsearch-7.13.1-amd64.deb.sha512`  
`sudo dpkg -i elasticsearch-7.13.1-amd64.deb`

look like Linux ones...

Otherwise, can I do first three lines under the Windows command line, move the .dev to foomachine, and finally do the fourth line under the foomachine?

Thank in advance for your help!  
Jean-Yves Degos

---

<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 1, 2021, 7:05am UTC](https://discuss.elastic.co/t/installing-elasticsearch-on-a-vm-outside-of-the-internet/274756/4 "2021-07-01T07:05:17Z")

</div>

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