美文网首页
How to install mongodb on AWS EC

How to install mongodb on AWS EC

作者: stonkerlee | 来源:发表于2017-01-03 14:43 被阅读0次

After SSH login, update installed packages, add the MongoDB yum repo, and install MongoDB:

echo"[mongodb-org-3.2]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.2/x86_64/gpgcheck=1enabled=1gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc"|sudo tee -a /etc/yum.repos.d/mongodb-org-3.2.repo

sudo yum -y update&&sudo yum install -y mongodb-org-server\mongodb-org-shell mongodb-org-tools

相关文章

网友评论

      本文标题:How to install mongodb on AWS EC

      本文链接:https://www.haomeiwen.com/subject/jgfnvttx.html