1. 시스템 업데이트


[root@localhost smoh]# yum -y update



2. PostgreSql 설치


[root@localhost smoh]# yum list postgresql*

[root@localhost smoh]# yum install postgresql-server



3. 설치 확인


[smoh@localhost ~]$ postgres -V



4. PostgreSql초기화


[root@localhost /]# postgresql-setup initdb



5. PostgreSql Start


[root@localhost /]# systemctl enable postgresql.service
[root@localhost /]# systemctl start postgresql.service


6. 동작확인


[root@localhost data]# systemctl status postgresql


















반응형

+ Recent posts