Set vm.max_map_count to 262144

This commit is contained in:
Karl Hobley 2016-11-24 16:04:47 +00:00 committed by Matt Westcott
parent 35c850d8ec
commit 6be679e19f

View file

@ -1,5 +1,7 @@
#!/bin/bash
sudo sysctl -w vm.max_map_count=262144
sudo apt-get autoremove --purge elasticsearch
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list