yum 安装 mongodb

 vim /etc/yum.repos.d/mongodb-org-4.0.repo

[mongodb-org]
name=MongoDB Repository
baseurl=http://mirrors.aliyun.com/mongodb/yum/redhat/7Server/mongodb-org/4.0/x86_64/
gpgcheck=0
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc

yum clean all

yum repolist

yum install mongodb-org -y

 

yum 安装 mongodb

上一篇:[SpringBoot]java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName.


下一篇:sqlserver 保留小数向上向下取