标签:art baseurl osi x86 url pre ali pos systemctl
vim /etc/yum.repos.d/mongodb-org-4.0.repo
[mngodb-org]
name=MongoDB Repository
baseurl=http://mirrors.aliyun.com/mongodb/yum/redhat/7Server/mongodb-org/4.0/x86_64/
gpgcheck=0
enabled=1
yum -y install mongodb-org
vim /etc/mongod.conf
bindIp: 172.0.0.1 改为 bindIp: 0.0.0.0
systemctl start|status|stop|enable mongod.service
标签:art baseurl osi x86 url pre ali pos systemctl
原文地址:https://www.cnblogs.com/AngryPigs/p/12219263.html