Braggers Tech Blog


Home > Linux Knowledge > Running PostgreSQL on Void Linux

published 2024-02-15

Installation

sudo xbps-install -Su postgresql16 postgresql16-client

su <- root pw void# su -l postgres $ initdb -D /var/lib/postgresql/data $ exit void# exit sudo touch /etc/sv/postgresql16/down sudo ln -s /etc/sv/postgresql16 /var/service sudo sv start postgresql16