标签:stat ODB centos 配置 https uri hat url /etc/
1.参考文档
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/
2.创建yum源
#vim /etc/yum.repos.d/mongodb.repo
[mongodb-org-3.6]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.6/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.6.asc
3.yum安装mongodb
yum install -y mongodb-org
标签:stat ODB centos 配置 https uri hat url /etc/
原文地址:https://www.cnblogs.com/lovelinux199075/p/9184499.html