mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-21 15:14:45 +00:00
9 lines
400 B
Bash
Executable file
9 lines
400 B
Bash
Executable file
#!/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
|
|
sudo apt-get update && sudo apt-get install elasticsearch -y
|
|
sudo service elasticsearch start
|