linux - I'm installing postgres 9 on RHEL v7 (an AWS instance) -
i trying follow directions here: http://www.postgresql.org/download/linux/redhat/
i run command root:
service postgresql-9.4 initdb
this see:
the service command supports basic lsb actions (start, stop, restart, try-restart, reload, force-reload, status). other actions, please try use systemctl.
what did wrong? or expected output?
the solution uninstall postgres , reinstall special way.
here how uninstall (as root issue this):
yum remove postgresql
here how install it. root, issue these commands:
yum install postgresql-server postgresql-setup initdb systemctl enable postgresql.service
Comments
Post a Comment