Setting up Ubuntu 26.04 + ElasticSearch 9 for Mastodon 4.6

1 Prepare system 2 Install package 3 Notice output 4 Edit /etc/Elasticsearch/jvm.options.d/heap.options Add about 50-75% of the memory to allow something for the OS/Cache. 5 Edit /etc/elasticsearch/elasticsearch.yml Update or Add the following values 5 sudo systemctl edit elasticsearch Add the following 6 Start the service using systemctl 7 Test the […]