“Install MongoDB 4 pada Linux Mint 20”
Introduction
MongoDB is a free and open source document database. It belongs to a family of databases called NoSQL, which differs from traditional table-based SQL databases such as MySQL and PostgreSQL.
In MongoDB, data is stored in flexible JSON-like documents where fields can vary from document to document. It does not require a predefined schema, and the data structure can be changed from time to time
Install MongoDB 4 pada Linux Mint 20
sudo apt update && sudo apt install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org.list
sudo apt-get update -y sudo apt-get install mongodb-org -y
sudo systemctl start mongod sudo systemctl enable mongod sudo systemctl status mongod
mongo --eval 'db.runCommand({ connectionStatus: 1 })'
Mongodb Configuration
sudo nano /etc/mongod.conf
systemctl restart mongod
Closing
Sahabat Blog Learning & Doing is such an explanation of Install MongoDB 4 pada Linux Mint 20. May be useful . See you again in the next post.
(Visited 4 times, 4 visits today)
Click to share with others