Mastodon: Difference between revisions
| Line 58: | Line 58: | ||
* <tt>echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list</tt> | * <tt>echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list</tt> | ||
* <tt>sudo apt-get update && sudo apt-get install elasticsearch</tt> | * <tt>sudo apt-get update && sudo apt-get install elasticsearch</tt> | ||
* <tt>sudoedit /etc/elasticsearch/elasticsearch.yml</tt> and change <tt>network.host</tt> to 127.0.0.1 unless you love Romanian botnets all up in your shit | * <tt>sudoedit /etc/elasticsearch/elasticsearch.yml</tt> and change <tt>network.host</tt> to 127.0.0.1 | ||
** unless you love Romanian botnets all up in your shit | |||
* <tt>systemctl start elasticsearch</tt> | * <tt>systemctl start elasticsearch</tt> | ||
* Add the following to <tt>.env.production</tt>: | * Add the following to <tt>.env.production</tt>: | ||