Mastodon: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 9: Line 9:
** You will now have a PostgreSQL instance running on localhost:tcp/5432, if you didn't before.
** You will now have a PostgreSQL instance running on localhost:tcp/5432, if you didn't before.
** You will now have a Redis instance running on localhost:tcp/6379, if you didn't before.
** You will now have a Redis instance running on localhost:tcp/6379, if you didn't before.
* Restrict Redis to 127.0.0.1 by ensuring the following line is in <tt>/etc/redis/redis.conf</tt>:
** <tt>bind 127.0.0.1 ::1</tt>
** If necessary, run <tt>sudo systemctl restart redis</tt>
* So far as I can tell, you must now symlink <tt>/usr/bin/yarnpkg</tt> to <tt>yarn</tt> in some PATH directory 🤮:
* So far as I can tell, you must now symlink <tt>/usr/bin/yarnpkg</tt> to <tt>yarn</tt> in some PATH directory 🤮:
** <tt>ln -s /usr/bin/yarnpkg /usr/local/bin/yarn</tt>
** <tt>ln -s /usr/bin/yarnpkg /usr/local/bin/yarn</tt>
Line 53: Line 56:


* <tt>sudo apt-get install default-jre-headless</tt>
* <tt>sudo apt-get install default-jre-headless</tt>
** You might ask, "[[User:Dank]], surely <tt>elasticsearch</tt> Depends on <tt>default-jre-headless</tt>?"
** You might ask, "But [[User:Dank|dank]], surely <tt>elasticsearch</tt> Depends on <tt>default-jre-headless</tt>?"
** '''Narrator:''' It does not depend on <tt>default-jre-headless</tt>.
** '''Narrator:''' It does not Depend on <tt>default-jre-headless</tt>.
* <tt>apt-key adv --fetch-keys https://artifacts.elastic.co/GPG-KEY-elasticsearch</tt>
* <tt>apt-key adv --fetch-keys https://artifacts.elastic.co/GPG-KEY-elasticsearch</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>echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-7.x.list</tt>