blob: 44e941f0a53c78db93a8a35103575b7a1763d0ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
pacman -S postgresql postgis
[postgres]$ initdb --locale=C.UTF-8 --encoding=UTF8 -D /var/lib/postgres/data --data-checksums
sudo systemctl start postgresql.service
sudo su - postgres:
psql
> CREATE USER luxagraf WITH PASSWORD 'jw8s0F4' CREATEDB;
> ALTER ROLE luxagraf SUPERUSER;
> exit
createdb luxagraf
psql luxagraf
> CREATE EXTENSION postgis;
> exit
exit
psql -U luxagraf -hlocalhost -d luxagraf < luxagraf.20240821.sql
|