This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Postgresql replication Debian ===== Two servers: * postgresql1 192.168.100.15 * postgresql2 192.168.100.20 ==== Stretch ==== <code> # hostnamectl set-hostname postgresqlX # echo '192.168.100.15 postgresql1' >> /etc/hosts # echo '192.168.100.20 postgresql2' >> /etc/hosts # apt-get install postgresql # reboot </code> ==== References ==== * https://perlubantuan.com/set-up-master-slave-replication-for-postgresql-9-6-on-ubuntu-16-04/