Unleash Your Server Potential with Expert Insights
Hosting provided by: CloudwaysSponsored by: shopp.bio
Sponsored by: shopp.bio
Category: VPS Setup
apt install postgresql -y
/etc/postgresql/14/main/postgresql conf
on primary:wal_level = replica\nmax_wal_senders = 10
pg_basebackup
Start withsystemctl start postgresql
ufw allow 5432
psql -h ip -U postgres -c \"SELECT * FROM pg_stat_replication;\"