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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -