Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

wsl install mongodb

Install MongoDB
To install MongoDB on WSL (Ubuntu 18.04):

Open your WSL terminal (ie. Ubuntu 18.04).
Update your Ubuntu packages: sudo apt update
Once the packages have updated, install MongoDB with: sudo apt-get install mongodb
Confirm installation and get the version number: mongod --version
There are 3 commands you need to know once MongoDB is installed:

sudo service mongodb status for checking the status of your database.
sudo service mongodb start to start running your database.
sudo service mongodb stop to stop running your database.
 Note
Comment

PREVIOUS NEXT
Code Example
Shell :: start redis server 
Shell :: install wp-cli 
Shell :: install android studio on linux mint 
Shell :: how to store a 6 digit number as 6 separate integers 
Shell :: git status just shows directory and not files 
Shell :: install pip3.9 
Shell :: awk meaning in linux 
Shell :: disable pre commit hook 
Shell :: git commit please tell me who you are 
Shell :: TTTTTTTT 
Shell :: docker starting forever 
Shell :: why is gitlens not working on vscode 
Shell :: git shows folder but wont open 
Shell :: install to current directory pip 
Shell :: how to install heroku 
Shell :: how to push code to github from vscode 
Shell :: oevrride localwith remote branch 
Shell :: remove user from sudo group 
Shell :: update cargo 
Shell :: docker clean logs 
Shell :: how to remove remote ulr 
Shell :: git tls certificate verification has been disabled 
Shell :: tar exclude directory 
Shell :: adonis js make seeder 
Shell :: switch to previous branch git 
Shell :: cronjob run every hour 
Shell :: revert to a particular commit git 
Shell :: docker access denied 
Shell :: install lunar vim 
Shell :: linux set permissions during copy 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =