1 rabbitmq
1.1 install erlang
erlang website
wget https://packages.erlang-solutions.com/erlang-solutions-2.0-1.noarch.rpm
rpm -Uvh erlang-solutions-2.0-1.noarch.rpm
rpm --import https://packages.erlang-solutions.com/rpm/erlang_solutions.asc
yum install -y esl-erlang
1.2 install rabbitmq
rabbitmq web site
rpm --import https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey
rpm --import https://packagecloud.io/gpg.key
rpm --import https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
echo '[rabbitmq-server]' > /etc/yum.repos.d/rabbitmq.repo
echo 'name=bintray-rabbitmq-rpm' >> /etc/yum.repos.d/rabbitmq.repo
echo 'baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/7/' >> /etc/yum.repos.d/rabbitmq.repo
echo 'gpgcheck=0' >> /etc/yum.repos.d/rabbitmq.repo
echo 'repo_gpgcheck=0' >> /etc/yum.repos.d/rabbitmq.repo
echo 'enabled=1' >>/etc/yum.repos.d/rabbitmq.repo
yum install -y rabbitmq-server
2 Install mongodb
mongodb website
echo '[mongodb-org-4.2]' >> /etc/yum.repos.d/mongodb-org-4.2.repo
echo 'name=MongoDB Repository' >> /etc/yum.repos.d/mongodb-org-4.2.repo
echo 'baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ ' >> /etc/yum.repos.d/mongodb-org-4.2.repo
echo 'gpgcheck=1' >> /etc/yum.repos.d/mongodb-org-4.2.repo
echo 'enabled=1' >> /etc/yum.repos.d/mongodb-org-4.2.repo
echo 'gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc' >> /etc/yum.repos.d/mongodb-org-4.2.repo
sudo yum install -y mongodb-org mongodb-org-server mongodb-org-shell mongodb-org-mongos mongodb-org-tools
3 Install Postgresql
yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
yum install -y postgresql12 postgresql12-server
/usr/pgsql-12/bin/postgresql-12-setup initdb
systemctl enable postgresql-12
systemctl start postgresql-12