Update deploy/setup-server.sh
This commit is contained in:
parent
6d7d6c82ef
commit
94bec4cfd6
@ -44,9 +44,9 @@ npm --version
|
||||
# =================== POSTGRESQL 15 ===================
|
||||
log_info "Installazione PostgreSQL 15..."
|
||||
dnf install -y postgresql15-server postgresql15-contrib
|
||||
postgresql-setup --initdb
|
||||
systemctl enable postgresql
|
||||
systemctl start postgresql
|
||||
postgresql-15-setup --initdb
|
||||
systemctl enable postgresql-15
|
||||
systemctl start postgresql-15
|
||||
|
||||
# Generazione password sicura PostgreSQL
|
||||
DB_PASSWORD=$(openssl rand -base64 32 | tr -d "=+/" | cut -c1-25)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user