net install
Fedora 30 PostgrSQL バンドル の使用
[root@localhost ~]# psql --version
[root@localhost ~]# cd /var/lib/pgsql
[root@localhost pgsql]# su postgres
bash-5.0$ initdb --encoding=UTF8 --locale=C --pgdata=/var/lib/pgsql/data
bash-5.0$ pg_ctl -D /var/lib/pgsql/data -l logfile start
bash-5.0$ exit
[root@localhost ~]# firewall-cmd --add-port=5432/tcp --zone=public --permanent
[root@localhost ~]# firewall-cmd --reload
[root@localhost ~]# systemctl enable postgresql
[root@localhost ~]# systemctl start postgresql
[root@localhost ~]# su postgres
bash-5.0$ psql
postgres=# \l
[root@localhost ~]# find / -name "pg*.conf" -print