输入banner图图片脚本导航/分类

Mongodb安装

 

1. 下载Mongodb

  下载地址: https://www.mongodb.com/download-center/community

技术图片

 

 

    2.  安装单机版mongodb

       1) 解压缩

           tar -xvf mongodb-linux-x86_64-rhel70-4.2.2.tgz 

       2)加入环境变量

            vim /etc/profile

            export PATH=$PATH:/root/software/mongodb-server-4.2.2/bin

       3)  启动mongodb

           mongod --dbpath /root/software/mongodb-server-4.2.2/db --port 27017 --logpath /root/software/mongodb-server-4.2.2/logs/mongod.log --fork -bind_ip 0.0.0.0

            

     3. cloud 托管 mongodb 公有云服务 

           可以用邮箱免费创建mongodb集群

Mongodb安装

标签:bin   software   http   war   启动   集群   down   下载地址   god