echo
'[mongodb-org-3.2]
name=MongoDB Repository
baseurl=https:
//repo
.mongodb.org
/yum/redhat/
$releasever
/mongodb-org/3
.2
/x86_64/
gpgcheck=1
enabled=1
gpgkey=https:
//www
.mongodb.org
/static/pgp/server-3
.2.asc' >
/etc/yum
.repos.d
/mongodb-org-3
.2.repo ;
yum
install
mongodb -y
yum
install
mongodb-server -y
mkdir
/data/db
-p