remove `/var/lib/postgres/data` if it's exists.
Then enter following commands in terminal:
$ sudo mkdir /var/lib/postgres/data
$ chown postgres /var/lib/postgres/data
$ sudo -i -u postgres
$ initdb -D '/var/lib/postgres/data'
$ sudo systemctl start postgresql