Cara install mongodb di centos 7: 1. ketik perintah berikut # nano /etc/yum.repos.d/mongodb-org-4.4.repo 2.copy ke dalam editor: [mongodb-org-4.4] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.4/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc 3. save dan exit (ctrl+x, kemudian klik Y, kemudian enter) 4. untuk install latest stable version of MongoDB: # sudo yum install -y mongodb-org -Setup mongodb 1. Start MongoDB. # systemctl start mongod.service # systemctl enable mongod.service 2. Connect to MongoDB. # mongo