« PostgreSQL » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 7 : Ligne 7 :
# will install postgresql-libs, postgresql and create a system user called postgres
# will install postgresql-libs, postgresql and create a system user called postgres
sudo pacman -S postgresql
sudo pacman -S postgresql
</kode>
== Initial configuration ==
<kode lang='bash'>
# switch to the PostgreSQL user
sudo -iu postgres
# initialize the database cluster
initdb -D /var/lib/postgres/data
</kode>
</kode>

Version du 4 avril 2021 à 17:20

Links

Installation

Bash.svg
# will install postgresql-libs, postgresql and create a system user called postgres
sudo pacman -S postgresql

Initial configuration

Bash.svg
# switch to the PostgreSQL user
sudo -iu postgres

# initialize the database cluster
initdb -D /var/lib/postgres/data