yum install -y postgresql-server
postgresql-setup initdb
systemctl restart postgresql
systemctl enable postgresql
su - postgres
psql
\list
CREATE DATABASE demodb;
\connect demodb
CREATE TABLE demotable(title char(32));
INSERT INTO demotable (title) VALUES('title');
SELECT * FROM demotable;
\quit