Es stand-alone installation

1. Install the JDK (1.8)
2. 5.4.3 upload-decompression elasticsearch
3. Create a regular user, and then modify the directory for the common user and group of users belongs
4. modify the configuration file config / elasticsearch.yml
Network. Host: 192.168.100.211
5. The start ES, found given
bin / elasticsearch
# error
[. 1]: max File descriptors [4096] Process for elasticsearch Low IS TOO, AT to Increase Least [65536]
[2]: Virtual Memory Areas max vm.max_map_count [65530] is too low, increase to at least [262144]

# Maximum number of users can create a small file
sudo vi /etc/security/limits.conf
* Soft nofile 65536
* Hard nofile 65536

# View the number of open file
ulimit -Hn


# Maximum virtual memory is too small
sudo vi /etc/sysctl.conf
vm.max_map_count = 262144

# View the virtual memory size
sudo sysctl -p

6 Restart Linux
the shutdown -r now

7. Access ES browser
192.168.100.211:9200

Guess you like

Origin www.cnblogs.com/kwzblog/p/12077132.html