X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fdocs%2Finstallation%2Ffedora_based_en.md;h=d8c7b3e743b4b795eb2cb35e16de847527caedce;hb=565ead8397f01a57acd35142d66a5ee3985f68cf;hp=5129db80fadbd05ec3819e2d2e28d98a42abca4e;hpb=7380dc02563989a6b389af1bd01d4e4d09bf7187;p=akkoma diff --git a/docs/docs/installation/fedora_based_en.md b/docs/docs/installation/fedora_based_en.md index 5129db80f..d8c7b3e74 100644 --- a/docs/docs/installation/fedora_based_en.md +++ b/docs/docs/installation/fedora_based_en.md @@ -25,7 +25,16 @@ sudo dnf upgrade --refresh * Install some of the above mentioned programs: ```shell -sudo dnf install git gcc g++ make cmake file-devel postgresql postgresql-contrib +sudo dnf install git gcc g++ make cmake file-devel postgresql-server postgresql-contrib +``` + +* Enable and initialize Postgres: +```shell +sudo systemctl enable postgresql.service +sudo postgresql-setup --initdb --unit postgresql +# Allow password auth for postgres +sudo sed -E -i 's|(host +all +all +127.0.0.1/32 +)ident|\1md5|' /var/lib/pgsql/data/pg_hba.conf +sudo systemctl start postgresql.service ``` ### Install Elixir and Erlang @@ -190,6 +199,8 @@ If your instance is up and running, you can create your first user with administ sudo -Hu akkoma MIX_ENV=prod mix pleroma.user new --admin ``` +{! installation/frontends.include !} + #### Further reading {! installation/further_reading.include !}