読者です 読者をやめる 読者になる 読者になる

AKAI TSUKI

System development or Technical something

install StackStorm (MongoDB, RabbitMQ and PostgreSQL.)

Precondition

[root@stackstorm ~]# getenforce
Disabled
[root@stackstorm ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
[root@stackstorm ~]# 

Install MongoDB and RabbitMQ.

[root@stackstorm ~]# yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Loaded plugins: fastestmirror
epel-release-latest-7.noarch.rpm                                            |  14 kB  00:00:00
Examining /var/tmp/yum-root-jUCkpn/epel-release-latest-7.noarch.rpm: epel-release-7-8.noarch
Marking /var/tmp/yum-root-jUCkpn/epel-release-latest-7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package               Arch            Version        Repository                              Size
===================================================================================================
Installing:
 epel-release          noarch          7-8            /epel-release-latest-7.noarch           24 k

Transaction Summary
===================================================================================================
Install  1 Package

Total size: 24 k
Installed size: 24 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-8.noarch                                                         1/1
  Verifying  : epel-release-7-8.noarch                                                         1/1

Installed:
  epel-release.noarch 0:7-8

Complete!
[root@stackstorm ~]# rpm --import https://www.mongodb.org/static/pgp/server-3.2.asc
[root@stackstorm ~]# sh -c "cat <<EOT > /etc/yum.repos.d/mongodb-org-3.2.repo
> [mongodb-org-3.2]
> name=MongoDB Repository
> baseurl=https://repo.mongodb.org/yum/redhat/7Server/mongodb-org/3.2/x86_64/
> gpgcheck=1
> enabled=1
> gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc
> EOT"
[root@stackstorm ~]# cat /etc/yum.repos.d/mongodb-org-3.2.repo
[mongodb-org-3.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/7Server/mongodb-org/3.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc
[root@stackstorm ~]#
[root@stackstorm ~]# yum -y install mongodb-org
Loaded plugins: fastestmirror
base                                                                        | 3.6 kB  00:00:00
epel/x86_64/metalink                                                        | 5.3 kB  00:00:00
epel                                                                        | 4.3 kB  00:00:00
extras                                                                      | 3.4 kB  00:00:00
mongodb-org-3.2                                                             | 2.5 kB  00:00:00
updates                                                                     | 3.4 kB  00:00:00
(1/8): epel/x86_64/group_gz                                                 | 170 kB  00:00:00
(2/8): base/7/x86_64/group_gz                                               | 155 kB  00:00:00
(3/8): extras/7/x86_64/primary_db                                           | 165 kB  00:00:00
(4/8): mongodb-org-3.2/primary_db                                           |  45 kB  00:00:00
(5/8): epel/x86_64/updateinfo                                               | 627 kB  00:00:03
(6/8): epel/x86_64/primary_db                                               | 4.2 MB  00:00:13
(7/8): updates/7/x86_64/primary_db                                          | 7.8 MB  00:00:12
base/7/x86_64/primary_db       FAILED                                          16 MB  00:00:24 ETA
http://ftp.tsukuba.wide.ad.jp/Linux/centos/7.2.1511/os/x86_64/repodata/c6411f1cc8a000ed2b651b49134631d279abba1ec1f78e5dcca79a52d8c1eada-primary.sqlite.bz2: [Errno 14] curl#18 - "transfer closed with 2896944 bytes remaining to read"
Trying other mirror.
(8/8): base/7/x86_64/primary_db                                             | 5.3 MB  00:00:05
Determining fastest mirrors
 * base: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package mongodb-org.x86_64 0:3.2.9-1.el7 will be installed
--> Processing Dependency: mongodb-org-tools = 3.2.9 for package: mongodb-org-3.2.9-1.el7.x86_64
--> Processing Dependency: mongodb-org-shell = 3.2.9 for package: mongodb-org-3.2.9-1.el7.x86_64
--> Processing Dependency: mongodb-org-server = 3.2.9 for package: mongodb-org-3.2.9-1.el7.x86_64
--> Processing Dependency: mongodb-org-mongos = 3.2.9 for package: mongodb-org-3.2.9-1.el7.x86_64
--> Running transaction check
---> Package mongodb-org-mongos.x86_64 0:3.2.9-1.el7 will be installed
---> Package mongodb-org-server.x86_64 0:3.2.9-1.el7 will be installed
---> Package mongodb-org-shell.x86_64 0:3.2.9-1.el7 will be installed
---> Package mongodb-org-tools.x86_64 0:3.2.9-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                     Arch            Version                Repository                Size
===================================================================================================
Installing:
 mongodb-org                 x86_64          3.2.9-1.el7            mongodb-org-3.2          5.8 k
Installing for dependencies:
 mongodb-org-mongos          x86_64          3.2.9-1.el7            mongodb-org-3.2          5.6 M
 mongodb-org-server          x86_64          3.2.9-1.el7            mongodb-org-3.2           12 M
 mongodb-org-shell           x86_64          3.2.9-1.el7            mongodb-org-3.2          6.7 M
 mongodb-org-tools           x86_64          3.2.9-1.el7            mongodb-org-3.2           43 M

Transaction Summary
===================================================================================================
Install  1 Package (+4 Dependent packages)

Total download size: 68 M
Installed size: 222 M
Downloading packages:
(1/5): mongodb-org-3.2.9-1.el7.x86_64.rpm                                   | 5.8 kB  00:00:00
(2/5): mongodb-org-mongos-3.2.9-1.el7.x86_64.rpm                            | 5.6 MB  00:00:12
(3/5): mongodb-org-server-3.2.9-1.el7.x86_64.rpm                            |  12 MB  00:00:25
(4/5): mongodb-org-shell-3.2.9-1.el7.x86_64.rpm                             | 6.7 MB  00:00:13
(5/5): mongodb-org-tools-3.2.9-1.el7.x86_64.rpm                             |  43 MB  00:00:59
---------------------------------------------------------------------------------------------------
Total                                                              813 kB/s |  68 MB  00:01:25
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mongodb-org-server-3.2.9-1.el7.x86_64                                           1/5
  Installing : mongodb-org-shell-3.2.9-1.el7.x86_64                                            2/5
  Installing : mongodb-org-mongos-3.2.9-1.el7.x86_64                                           3/5
  Installing : mongodb-org-tools-3.2.9-1.el7.x86_64                                            4/5
  Installing : mongodb-org-3.2.9-1.el7.x86_64                                                  5/5
  Verifying  : mongodb-org-tools-3.2.9-1.el7.x86_64                                            1/5
  Verifying  : mongodb-org-mongos-3.2.9-1.el7.x86_64                                           2/5
  Verifying  : mongodb-org-shell-3.2.9-1.el7.x86_64                                            3/5
  Verifying  : mongodb-org-3.2.9-1.el7.x86_64                                                  4/5
  Verifying  : mongodb-org-server-3.2.9-1.el7.x86_64                                           5/5

Installed:
  mongodb-org.x86_64 0:3.2.9-1.el7

Dependency Installed:
  mongodb-org-mongos.x86_64 0:3.2.9-1.el7          mongodb-org-server.x86_64 0:3.2.9-1.el7
  mongodb-org-shell.x86_64 0:3.2.9-1.el7           mongodb-org-tools.x86_64 0:3.2.9-1.el7

Complete!
[root@stackstorm ~]# yum -y install rabbitmq-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.3.5-23.el7 will be installed
--> Processing Dependency: erlang-xmerl >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-tools >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-stdlib >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-ssl >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-sasl >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-public_key >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-os_mon >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-mnesia >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-kernel >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-erts >= R12B-3 for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Processing Dependency: erlang-sd_notify for package: rabbitmq-server-3.3.5-23.el7.noarch
--> Running transaction check
---> Package erlang-erts.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: lksctp-tools for package: erlang-erts-R16B-03.17.el7.x86_64
---> Package erlang-kernel.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-mnesia.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-os_mon.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: erlang-snmp(x86-64) = R16B-03.17.el7 for package: erlang-os_mon-R16B-03.17.el7.x86_64
--> Processing Dependency: erlang-otp_mibs(x86-64) = R16B-03.17.el7 for package: erlang-os_mon-R16B-03.17.el7.x86_64
---> Package erlang-public_key.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: erlang-crypto(x86-64) = R16B-03.17.el7 for package: erlang-public_key-R16B-03.17.el7.x86_64
--> Processing Dependency: erlang-asn1(x86-64) = R16B-03.17.el7 for package: erlang-public_key-R16B-03.17.el7.x86_64
---> Package erlang-sasl.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-sd_notify.x86_64 0:0.1-1.el7 will be installed
---> Package erlang-ssl.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-stdlib.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: erlang-compiler(x86-64) = R16B-03.17.el7 for package: erlang-stdlib-R16B-03.17.el7.x86_64
---> Package erlang-tools.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: erlang-runtime_tools(x86-64) = R16B-03.17.el7 for package: erlang-tools-R16B-03.17.el7.x86_64
--> Processing Dependency: erlang-inets(x86-64) = R16B-03.17.el7 for package: erlang-tools-R16B-03.17.el7.x86_64
---> Package erlang-xmerl.x86_64 0:R16B-03.17.el7 will be installed
--> Running transaction check
---> Package erlang-asn1.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-compiler.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: erlang-hipe(x86-64) = R16B-03.17.el7 for package: erlang-compiler-R16B-03.17.el7.x86_64
---> Package erlang-crypto.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-inets.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-otp_mibs.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-runtime_tools.x86_64 0:R16B-03.17.el7 will be installed
---> Package erlang-snmp.x86_64 0:R16B-03.17.el7 will be installed
---> Package lksctp-tools.x86_64 0:1.0.13-3.el7 will be installed
--> Running transaction check
---> Package erlang-hipe.x86_64 0:R16B-03.17.el7 will be installed
--> Processing Dependency: erlang-syntax_tools(x86-64) = R16B-03.17.el7 for package: erlang-hipe-R16B-03.17.el7.x86_64
--> Running transaction check
---> Package erlang-syntax_tools.x86_64 0:R16B-03.17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                         Arch              Version                   Repository       Size
===================================================================================================
Installing:
 rabbitmq-server                 noarch            3.3.5-23.el7              epel            4.0 M
Installing for dependencies:
 erlang-asn1                     x86_64            R16B-03.17.el7            epel            758 k
 erlang-compiler                 x86_64            R16B-03.17.el7            epel            1.0 M
 erlang-crypto                   x86_64            R16B-03.17.el7            epel             85 k
 erlang-erts                     x86_64            R16B-03.17.el7            epel            2.5 M
 erlang-hipe                     x86_64            R16B-03.17.el7            epel            2.4 M
 erlang-inets                    x86_64            R16B-03.17.el7            epel            800 k
 erlang-kernel                   x86_64            R16B-03.17.el7            epel            1.1 M
 erlang-mnesia                   x86_64            R16B-03.17.el7            epel            700 k
 erlang-os_mon                   x86_64            R16B-03.17.el7            epel            114 k
 erlang-otp_mibs                 x86_64            R16B-03.17.el7            epel             32 k
 erlang-public_key               x86_64            R16B-03.17.el7            epel            538 k
 erlang-runtime_tools            x86_64            R16B-03.17.el7            epel            179 k
 erlang-sasl                     x86_64            R16B-03.17.el7            epel            293 k
 erlang-sd_notify                x86_64            0.1-1.el7                 epel            9.1 k
 erlang-snmp                     x86_64            R16B-03.17.el7            epel            1.5 M
 erlang-ssl                      x86_64            R16B-03.17.el7            epel            587 k
 erlang-stdlib                   x86_64            R16B-03.17.el7            epel            2.2 M
 erlang-syntax_tools             x86_64            R16B-03.17.el7            epel            336 k
 erlang-tools                    x86_64            R16B-03.17.el7            epel            565 k
 erlang-xmerl                    x86_64            R16B-03.17.el7            epel            997 k
 lksctp-tools                    x86_64            1.0.13-3.el7              base             87 k

Transaction Summary
===================================================================================================
Install  1 Package (+21 Dependent packages)

Total download size: 21 M
Installed size: 36 M
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/erlang-crypto-R16B-03.17.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for erlang-crypto-R16B-03.17.el7.x86_64.rpm is not installed
(1/22): erlang-crypto-R16B-03.17.el7.x86_64.rpm                             |  85 kB  00:00:00
(2/22): erlang-compiler-R16B-03.17.el7.x86_64.rpm                           | 1.0 MB  00:00:01
(3/22): erlang-asn1-R16B-03.17.el7.x86_64.rpm                               | 758 kB  00:00:01
(4/22): erlang-inets-R16B-03.17.el7.x86_64.rpm                              | 800 kB  00:00:02
(5/22): erlang-mnesia-R16B-03.17.el7.x86_64.rpm                             | 700 kB  00:00:01
(6/22): erlang-otp_mibs-R16B-03.17.el7.x86_64.rpm                           |  32 kB  00:00:00
(7/22): erlang-public_key-R16B-03.17.el7.x86_64.rpm                         | 538 kB  00:00:00
(8/22): erlang-runtime_tools-R16B-03.17.el7.x86_64.rpm                      | 179 kB  00:00:00
(9/22): erlang-os_mon-R16B-03.17.el7.x86_64.rpm                             | 114 kB  00:00:01
(10/22): erlang-sd_notify-0.1-1.el7.x86_64.rpm                              | 9.1 kB  00:00:00
(11/22): erlang-sasl-R16B-03.17.el7.x86_64.rpm                              | 293 kB  00:00:00
(12/22): erlang-ssl-R16B-03.17.el7.x86_64.rpm                               | 587 kB  00:00:01
(13/22): erlang-kernel-R16B-03.17.el7.x86_64.rpm                            | 1.1 MB  00:00:05
(14/22): erlang-snmp-R16B-03.17.el7.x86_64.rpm                              | 1.5 MB  00:00:04
(15/22): erlang-tools-R16B-03.17.el7.x86_64.rpm                             | 565 kB  00:00:01
(16/22): erlang-stdlib-R16B-03.17.el7.x86_64.rpm                            | 2.2 MB  00:00:05
(17/22): erlang-xmerl-R16B-03.17.el7.x86_64.rpm                             | 997 kB  00:00:02
warning: /var/cache/yum/x86_64/7/base/packages/lksctp-tools-1.0.13-3.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for lksctp-tools-1.0.13-3.el7.x86_64.rpm is not installed
(18/22): lksctp-tools-1.0.13-3.el7.x86_64.rpm                               |  87 kB  00:00:05
(19/22): erlang-syntax_tools-R16B-03.17.el7.x86_64.rpm                      | 336 kB  00:00:14
(20/22): erlang-erts-R16B-03.17.el7.x86_64.rpm                              | 2.5 MB  00:00:25
(21/22): erlang-hipe-R16B-03.17.el7.x86_64.rpm                              | 2.4 MB  00:00:32
(22/22): rabbitmq-server-3.3.5-23.el7.noarch.rpm                            | 4.0 MB  00:00:24
---------------------------------------------------------------------------------------------------
Total                                                              575 kB/s |  21 MB  00:00:36
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-8.noarch (@/epel-release-latest-7.noarch)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : lksctp-tools-1.0.13-3.el7.x86_64                                               1/22
  Installing : erlang-crypto-R16B-03.17.el7.x86_64                                            2/22
  Installing : erlang-syntax_tools-R16B-03.17.el7.x86_64                                      3/22
  Installing : erlang-hipe-R16B-03.17.el7.x86_64                                              4/22
  Installing : erlang-compiler-R16B-03.17.el7.x86_64                                          5/22
  Installing : erlang-erts-R16B-03.17.el7.x86_64                                              6/22
  Installing : erlang-stdlib-R16B-03.17.el7.x86_64                                            7/22
  Installing : erlang-kernel-R16B-03.17.el7.x86_64                                            8/22
  Installing : erlang-mnesia-R16B-03.17.el7.x86_64                                            9/22
  Installing : erlang-runtime_tools-R16B-03.17.el7.x86_64                                    10/22
  Installing : erlang-snmp-R16B-03.17.el7.x86_64                                             11/22
  Installing : erlang-otp_mibs-R16B-03.17.el7.x86_64                                         12/22
  Installing : erlang-sd_notify-0.1-1.el7.x86_64                                             13/22
  Installing : erlang-asn1-R16B-03.17.el7.x86_64                                             14/22
  Installing : erlang-public_key-R16B-03.17.el7.x86_64                                       15/22
  Installing : erlang-ssl-R16B-03.17.el7.x86_64                                              16/22
  Installing : erlang-inets-R16B-03.17.el7.x86_64                                            17/22
  Installing : erlang-tools-R16B-03.17.el7.x86_64                                            18/22
  Installing : erlang-sasl-R16B-03.17.el7.x86_64                                             19/22
  Installing : erlang-os_mon-R16B-03.17.el7.x86_64                                           20/22
  Installing : erlang-xmerl-R16B-03.17.el7.x86_64                                            21/22
  Installing : rabbitmq-server-3.3.5-23.el7.noarch                                           22/22
  Verifying  : erlang-sd_notify-0.1-1.el7.x86_64                                              1/22
  Verifying  : erlang-sasl-R16B-03.17.el7.x86_64                                              2/22
  Verifying  : rabbitmq-server-3.3.5-23.el7.noarch                                            3/22
  Verifying  : erlang-kernel-R16B-03.17.el7.x86_64                                            4/22
  Verifying  : erlang-asn1-R16B-03.17.el7.x86_64                                              5/22
  Verifying  : erlang-crypto-R16B-03.17.el7.x86_64                                            6/22
  Verifying  : erlang-syntax_tools-R16B-03.17.el7.x86_64                                      7/22
  Verifying  : erlang-runtime_tools-R16B-03.17.el7.x86_64                                     8/22
  Verifying  : erlang-hipe-R16B-03.17.el7.x86_64                                              9/22
  Verifying  : erlang-public_key-R16B-03.17.el7.x86_64                                       10/22
  Verifying  : erlang-inets-R16B-03.17.el7.x86_64                                            11/22
  Verifying  : erlang-compiler-R16B-03.17.el7.x86_64                                         12/22
  Verifying  : erlang-erts-R16B-03.17.el7.x86_64                                             13/22
  Verifying  : erlang-ssl-R16B-03.17.el7.x86_64                                              14/22
  Verifying  : erlang-xmerl-R16B-03.17.el7.x86_64                                            15/22
  Verifying  : erlang-stdlib-R16B-03.17.el7.x86_64                                           16/22
  Verifying  : erlang-snmp-R16B-03.17.el7.x86_64                                             17/22
  Verifying  : erlang-otp_mibs-R16B-03.17.el7.x86_64                                         18/22
  Verifying  : erlang-os_mon-R16B-03.17.el7.x86_64                                           19/22
  Verifying  : erlang-tools-R16B-03.17.el7.x86_64                                            20/22
  Verifying  : erlang-mnesia-R16B-03.17.el7.x86_64                                           21/22
  Verifying  : lksctp-tools-1.0.13-3.el7.x86_64                                              22/22

Installed:
  rabbitmq-server.noarch 0:3.3.5-23.el7

Dependency Installed:
  erlang-asn1.x86_64 0:R16B-03.17.el7            erlang-compiler.x86_64 0:R16B-03.17.el7
  erlang-crypto.x86_64 0:R16B-03.17.el7          erlang-erts.x86_64 0:R16B-03.17.el7
  erlang-hipe.x86_64 0:R16B-03.17.el7            erlang-inets.x86_64 0:R16B-03.17.el7
  erlang-kernel.x86_64 0:R16B-03.17.el7          erlang-mnesia.x86_64 0:R16B-03.17.el7
  erlang-os_mon.x86_64 0:R16B-03.17.el7          erlang-otp_mibs.x86_64 0:R16B-03.17.el7
  erlang-public_key.x86_64 0:R16B-03.17.el7      erlang-runtime_tools.x86_64 0:R16B-03.17.el7
  erlang-sasl.x86_64 0:R16B-03.17.el7            erlang-sd_notify.x86_64 0:0.1-1.el7
  erlang-snmp.x86_64 0:R16B-03.17.el7            erlang-ssl.x86_64 0:R16B-03.17.el7
  erlang-stdlib.x86_64 0:R16B-03.17.el7          erlang-syntax_tools.x86_64 0:R16B-03.17.el7
  erlang-tools.x86_64 0:R16B-03.17.el7           erlang-xmerl.x86_64 0:R16B-03.17.el7
  lksctp-tools.x86_64 0:1.0.13-3.el7

Complete!
[root@stackstorm ~]#

Start MongoDB and RabbitMQ.

[root@stackstorm ~]# systemctl start mongod rabbitmq-server
[root@stackstorm ~]# systemctl enable mongod rabbitmq-server
mongod.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig mongod on
Created symlink from /etc/systemd/system/multi-user.target.wants/rabbitmq-server.service to /usr/lib/systemd/system/rabbitmq-server.service.
[root@stackstorm ~]#

Install PostgreSQL.

[root@stackstorm ~]# yum -y install postgresql-server postgresql-contrib postgresql-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package postgresql-contrib.x86_64 0:9.2.15-1.el7_2 will be installed
--> Processing Dependency: postgresql-libs(x86-64) = 9.2.15-1.el7_2 for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: postgresql(x86-64) = 9.2.15-1.el7_2 for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
--> Processing Dependency: libossp-uuid.so.16()(64bit) for package: postgresql-contrib-9.2.15-1.el7_2.x86_64
---> Package postgresql-devel.x86_64 0:9.2.15-1.el7_2 will be installed
---> Package postgresql-server.x86_64 0:9.2.15-1.el7_2 will be installed
--> Running transaction check
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
---> Package postgresql.x86_64 0:9.2.15-1.el7_2 will be installed
---> Package postgresql-libs.x86_64 0:9.2.15-1.el7_2 will be installed
---> Package uuid.x86_64 0:1.6.2-26.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================
 Package                      Arch             Version                     Repository         Size
===================================================================================================
Installing:
 postgresql-contrib           x86_64           9.2.15-1.el7_2              updates           549 k
 postgresql-devel             x86_64           9.2.15-1.el7_2              updates           949 k
 postgresql-server            x86_64           9.2.15-1.el7_2              updates           3.8 M
Installing for dependencies:
 libxslt                      x86_64           1.1.28-5.el7                base              242 k
 postgresql                   x86_64           9.2.15-1.el7_2              updates           3.0 M
 postgresql-libs              x86_64           9.2.15-1.el7_2              updates           231 k
 uuid                         x86_64           1.6.2-26.el7                base               55 k

Transaction Summary
===================================================================================================
Install  3 Packages (+4 Dependent packages)

Total download size: 8.8 M
Installed size: 39 M
Downloading packages:
(1/7): libxslt-1.1.28-5.el7.x86_64.rpm                                      | 242 kB  00:00:01
(2/7): postgresql-contrib-9.2.15-1.el7_2.x86_64.rpm                         | 549 kB  00:00:02
(3/7): uuid-1.6.2-26.el7.x86_64.rpm                                         |  55 kB  00:00:00
(4/7): postgresql-libs-9.2.15-1.el7_2.x86_64.rpm                            | 231 kB  00:00:06
(5/7): postgresql-devel-9.2.15-1.el7_2.x86_64.rpm                           | 949 kB  00:00:08
(6/7): postgresql-9.2.15-1.el7_2.x86_64.rpm                                 | 3.0 MB  00:00:09
(7/7): postgresql-server-9.2.15-1.el7_2.x86_64.rpm                          | 3.8 MB  00:00:36
---------------------------------------------------------------------------------------------------
Total                                                              236 kB/s | 8.8 MB  00:00:37
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : postgresql-libs-9.2.15-1.el7_2.x86_64                                           1/7
  Installing : postgresql-9.2.15-1.el7_2.x86_64                                                2/7
  Installing : uuid-1.6.2-26.el7.x86_64                                                        3/7
  Installing : libxslt-1.1.28-5.el7.x86_64                                                     4/7
  Installing : postgresql-contrib-9.2.15-1.el7_2.x86_64                                        5/7
  Installing : postgresql-devel-9.2.15-1.el7_2.x86_64                                          6/7
  Installing : postgresql-server-9.2.15-1.el7_2.x86_64                                         7/7
  Verifying  : postgresql-contrib-9.2.15-1.el7_2.x86_64                                        1/7
  Verifying  : postgresql-libs-9.2.15-1.el7_2.x86_64                                           2/7
  Verifying  : libxslt-1.1.28-5.el7.x86_64                                                     3/7
  Verifying  : postgresql-devel-9.2.15-1.el7_2.x86_64                                          4/7
  Verifying  : uuid-1.6.2-26.el7.x86_64                                                        5/7
  Verifying  : postgresql-server-9.2.15-1.el7_2.x86_64                                         6/7
  Verifying  : postgresql-9.2.15-1.el7_2.x86_64                                                7/7

Installed:
  postgresql-contrib.x86_64 0:9.2.15-1.el7_2        postgresql-devel.x86_64 0:9.2.15-1.el7_2
  postgresql-server.x86_64 0:9.2.15-1.el7_2

Dependency Installed:
  libxslt.x86_64 0:1.1.28-5.el7                      postgresql.x86_64 0:9.2.15-1.el7_2
  postgresql-libs.x86_64 0:9.2.15-1.el7_2            uuid.x86_64 0:1.6.2-26.el7

Complete!
[root@stackstorm ~]# postgresql-setup initdb
Initializing database ... OK

[root@stackstorm ~]# sed -i "s/\(host.*all.*all.*127.0.0.1\/32.*\)ident/\1md5/" /var/lib/pgsql/data/pg_hba.conf
[root@stackstorm ~]# sed -i "s/\(host.*all.*all.*::1\/128.*\)ident/\1md5/" /var/lib/pgsql/data/pg_hba.conf

Start PostgreSQL.

[root@stackstorm ~]# systemctl start postgresql
[root@stackstorm ~]# systemctl enable postgresql
Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql.service to /usr/lib/systemd/system/postgresql.service.
[root@stackstorm ~]#