mirror of
https://github.com/jtomchak/akkoma.git
synced 2025-02-22 21:23:13 +01:00
Merge pull request 'Fix postgres install and setup for fedora guide' (#147) from norm/akkoma:fedora-install into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/147
This commit is contained in:
commit
2781faaa7b
1 changed files with 10 additions and 1 deletions
|
@ -25,7 +25,16 @@ sudo dnf upgrade --refresh
|
||||||
* Install some of the above mentioned programs:
|
* Install some of the above mentioned programs:
|
||||||
|
|
||||||
```shell
|
```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
|
### Install Elixir and Erlang
|
||||||
|
|
Loading…
Reference in a new issue