While installing mongodb on EC2 Linux server, I have followed these commands which are as follows:
1.)Configure the package management system (yum).
Create a /etc/yum.repos.d/mongodb-org-3.0.repo
file so that you can install MongoDB directly, using yum.
2.)vi /etc/yum.repos.d/mongodb-org-3.0.repo
3.)Copied the code:
[mongodb-org-3.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.0/x86_64/
gpgcheck=0
enabled=1
4.)At last executed sudo yum install -y mongodb-org
Which gives error as shown below in the .
via Aditya Jain
No comments:
Post a Comment