As an example we install Elasticsearch on Debian 8 (Jessie). Installing on other Linux operating systems might slightly differ. We do not recommend to install Elasticsearch on Microsoft Windows.
We recommend machines with at least 8 GB of RAM (more is better, especially when indexing large tables). Use half of the available memory for the Java heap, but not more than 32 GB, so having a machine with more than 64 GB for a single Elasticsearch node does not make sense.
We recommend to have at least 2 machines, each hosting an Elasticsearch node.
All commands described and issued in the following are while being switched to su (super user). You can also execute them by prefixing the commands by sudo.