Install MongoDB on Amazon Linux
Install MongoDB Use a 64-bit EC2 Amazon Linux instance to install MongoDB Add a MongoDB yum repository for a 64-bit RPM sudo vi /etc/yum.repos.d/10gen.repo [10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0 Install MongoDB sudo yum install mongo-10gen and mongo-10gen-server Setup the data directory sudo mkdir -p /data/db/ If a new EBS storage is mounted for the data …