commit 4cfdd0ba750a96f4320a2b68179bd6a21f87eca3 Author: Sam Chau Date: Sat Jun 1 01:35:59 2024 +0930 Installation diff --git a/Installing-MongoDB-&-Compass.md b/Installing-MongoDB-&-Compass.md new file mode 100644 index 0000000..11ccdf7 --- /dev/null +++ b/Installing-MongoDB-&-Compass.md @@ -0,0 +1,27 @@ +### Installing MongoDB & Compass + +1. **Download MongoDB**: + - Go to the [MongoDB Download Center](https://www.mongodb.com/try/download/community). + - Select your operating system and download the installer. + +2. **Install MongoDB**: + - Follow the installation instructions for your operating system: + - **Windows**: Run the installer and follow the prompts. + - **macOS**: Follow the [macOS installation instructions](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/). + - **Linux**: Follow the [Linux installation instructions](https://docs.mongodb.com/manual/administration/install-on-linux/). + +3. **Start MongoDB**: + - **Windows**: MongoDB should start automatically after installation. If not, run `mongod` in the Command Prompt. + - **macOS/Linux**: Start the MongoDB service with the command: + ```bash + sudo service mongod start + ``` + +### Installing MongoDB Compass + +1. **Download MongoDB Compass**: + - Go to the [MongoDB Compass Download Center](https://www.mongodb.com/products/compass). + - Select your operating system and download the installer. + +2. **Install MongoDB Compass**: + - Follow the installation instructions for your operating system. \ No newline at end of file