From: | Edson Richter <edsonrichter(at)hotmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Centos 7 - anyone? |
Date: | 2014-11-10 18:45:31 |
Message-ID: | BLU436-SMTP116718CF2955A27A43104A1CF800@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi!
I've just received a new server, and I've the intention to install
Centos7 and PostgreSQL 9.3.5.
After installing the yum repo (as described in
http://www.postgresql.org/download/linux/redhat/) I've installed
everything I need with the command
yum install postgresql93 postgresql93-server postgresql93-contrib
Which eventually worked very well.
After that, I've created a /etc/sysconfig/pgsql/postgresql-9.3
configuration file (as I used to do in Centos 6.5), and then "service
postgresql-9.3 initdb" ! crash, bang, boom.
Wont work, with error:
"[root(at)localhost pgsql]# service postgresql-9.3 initdb
The service command supports only basic LSB actions (start, stop,
restart, try-restart, reload, force-reload, status). For other actions,
please try to use systemctl.
[root(at)localhost pgsql]# systemctl --help
systemctl [OPTIONS...] {COMMAND} ..."
So, I've learned that is a new way of doing things... Reading the yum
repository documentation, I've learned:
"|postgresql-setup initdb
systemctl enable postgresql.service"
Which works partially: it have not taken my
/etc/sysconfig/postgresql-9.3 configuration file for path and other things.
Can anyone point me what I've done wrong?
Thanks,|
--
Atenciosamente,
Edson Carlos Ericksson Richter
From | Date | Subject | |
---|---|---|---|
Next Message | Edson Richter | 2014-11-10 18:58:20 | Re: Centos 7 - anyone? |
Previous Message | Jehan-Guillaume de Rorthais | 2014-11-10 15:41:11 | Re: Strange avg value size for index on expression in pg_stats |