1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-29 11:06:17 +02:00

Update postgresql-install.sh

This commit is contained in:
tteckster 2022-05-13 19:38:42 -04:00 committed by GitHub
parent 929b75531e
commit b3ddc8efbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,6 @@ msg_ok "Setup PostgreSQL Repository"
msg_info "Installing PostgreSQL" msg_info "Installing PostgreSQL"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get install -y postgresql &>/dev/null apt-get install -y postgresql &>/dev/null
msg_ok "Installed PostgreSQL"
cat <<EOF > /etc/postgresql/14/main/pg_hba.conf cat <<EOF > /etc/postgresql/14/main/pg_hba.conf
# PostgreSQL Client Authentication Configuration File # PostgreSQL Client Authentication Configuration File
@ -967,6 +966,7 @@ include_dir = 'conf.d' # include files ending in '.conf' from
EOF EOF
sudo systemctl restart postgresql sudo systemctl restart postgresql
msg_ok "Installed PostgreSQL"
msg_info "Installing Adminer" msg_info "Installing Adminer"
sudo apt install adminer -y &>/dev/null sudo apt install adminer -y &>/dev/null