我跑了centos:7.1.1503然后yum install postgresql。不幸的是,由于 systemd 问题,service postgresql start即使安装后我也无法运行initscripts:
Redirecting to /bin/systemctl start postgresql.service
/usr/sbin/service: line 79: /bin/systemctl: No such file or directory
[root@8109c497195b ~]# yum provides systemctl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos2.hti.pl
* extras: centos.komster.pl
* updates: centos2.hti.pl
systemd-208-20.el7.x86_64 : A System and Service Manager
Repo : base
Matched from:
Filename : /bin/systemctl
systemd-208-20.el7_1.2.x86_64 : A System and Service Manager
Repo : updates
Matched from:
Filename …Run Code Online (Sandbox Code Playgroud)