forked from rDrama/rDrama
master
parent
879910d4ec
commit
a8eaa477f8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue