From a8eaa477f8994493ca185adce1b3db044066c12e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 24 May 2022 21:57:14 +0200 Subject: [PATCH] sf --- ubuntu_setup | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ubuntu_setup b/ubuntu_setup index bef1a2950..b6cb7bdf5 100644 --- a/ubuntu_setup +++ b/ubuntu_setup @@ -1,3 +1,4 @@ +locale-gen "en_US.UTF-8" update-locale LANG=en_US.utf8 cd /rDrama cp ./env /env @@ -10,7 +11,9 @@ sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - apt -y update apt -y install postgresql-14 -cp pg_hba.conf /etc/postgresql/14/main/pg_hba.conf +sudo rm /etc/postgresql/14/main/pg_hba.conf +sudo cp pg_hba.conf /etc/postgresql/14/main/pg_hba.conf +chown postgres:postgres /etc/postgresql/14/main/pg_hba.conf service postgresql restart # psql -U postgres -f schema.sql postgres