nax3t / aws-cloud9-instructions

Instructions for setting up an AWS account and using Cloud9
63 stars 30 forks source link

Issues following MongDB Instructions #4

Open teleHappy opened 6 years ago

teleHappy commented 6 years ago

I had issues with following MongoDB Instructions in this repo's README:

sudo mv mongodb-org-3.6.repo /etc/yum.repos.d
sudo yum install -y mongodb-org

The first line quietly failed on me by not copying over the mongodb-org-3.6.repo file. Resolution was to use vi and paste the contents provided in the instructions: sudo vi mongodb-org-3.6.repo /etc/yum.repos.d

The second line resulted in the following console output:

1045 packages excluded due to repository priority protections
No package mongodb-org available.
Error: Nothing to do

Resolution was to remove the -y flag from the install command sudo yum install mongodb-org

BellaTechna commented 5 years ago

Your resolution for the second line didn't work for me.
And in case others run into similar issues... Inspiration: https://stackoverflow.com/questions/44517229/installing-mongodb-via-yum-on-aws-linux-fails-https-error-404-not-found -answer by Manivannan Thirugnanam

I opened a brand new terminal window and used: sudo yum clean all touch mongodb-org-3.6.repo sudo mv mongodb-org-3.6.repo /etc/yum.repos.d sudo yum install -y mongodb-org