remotes/1693045480750635534/spooky-22
Aevann1 2022-05-24 21:57:14 +02:00
parent 879910d4ec
commit a8eaa477f8
1 changed files with 4 additions and 1 deletions

View File

@ -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