问题
The error is:
Public key for mongodb-org-3.4.4-1.amzn1.x86_64.rpm is not installed
I am trying to install MongoDB as mentioned in official MongoDB documentaion HERE.
回答1:
Lets try from this documentation: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/
Step1: Download the binary files for the desired release of MongoDB.
Step2: Extract the files from the downloaded archive.
Step3: Copy the extracted archive to the target directory.
Step4: Ensure the location of the binaries is in the PATH variable.
Step5: Run MongoDB.
来源:https://stackoverflow.com/questions/44223612/error-while-installing-mongodb-on-aws-amazon-linux