12 lines
313 B
Bash
12 lines
313 B
Bash
#!/bin/bash
|
|
|
|
apt update && apt upgrade
|
|
dpkg-reconfigure locales
|
|
dpkg-reconfigure tzdata
|
|
|
|
sudo apt install -y postgresql-common
|
|
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
|
|
apt -y install postgresql-16 mc rsync curl
|
|
|
|
cd /tmp && sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'tesnos.+ed';"
|