본문 바로가기

Develop/Etc

PostgreSQL install

]$ sudo dnf install postgresql10*

]$ sudo systemctl enable postgresql.service


# important to do this. error occure if not execute

]$ sudo /usr/bin/postgresql-setup --initdb

]$ sudo systemctl restart postgresql.service


# install pgadmin optional

]$ sudo dnf install pgadmin4*