Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install mongodb on m1

After installing brew from brew.sh 

#install
brew tap mongodb/brew   
brew install mongodb-community

#setup database directory 
sudo mkdir -p /System/Volumes/Data/data/db
sudo chown -R `id -un` /System/Volumes/Data/data/db #if no errors good to go

#tell mongo new db path
sudo mongod --dbpath /System/Volumes/Data/data/db

mongo
mongod
Comment

install mongodb mac m1

#Install xcode command line tools if you don't have
xcode-select --install

#Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

#Install mongodb
brew tap mongodb/brew
brew update
brew install mongodb-community@5.0
Comment

PREVIOUS NEXT
Code Example
Shell :: descomprimir tar gz 
Shell :: this error may indicate that the docker daemon is not running 
Shell :: restart rstudio 
Shell :: Autenticação é necessária para criar um dispositivo gerenciado de cores 
Shell :: linux dir one line 
Shell :: Install current nodejs on linux 
Shell :: ubuntu baixar node com nvm 
Shell :: check ram speed 
Shell :: ubuntu install bluez 
Shell :: install brave browser manjaro 
Shell :: get last modified date pdf online 
Shell :: how to install to mysql server in powershell 
Shell :: apply gitignore to current commit 
Shell :: vs code on ubuntu 20.04 and delete old version 
Shell :: get all remote branches 
Shell :: Cannot determine which native SDK version your project uses because the module `expo` is not installed. Please install it with `yarn add expo` and try again. 
Shell :: setxkbmap toggle 
Shell :: add-apt-repository 
Shell :: how install pyqt5 designer 
Shell :: awk meaning in linux 
Shell :: install git on wsl2 ubuntu 
Shell :: bash show all file with same name 
Shell :: kubectl exec 
Shell :: gcloud set project 
Shell :: github clone branch 
Shell :: cannot delete /var/lib/php/sessions/ 
Shell :: run cron once a week 
Shell :: apache2 configtest 
Shell :: how to grep if the first letter is a character not a number 
Shell :: restart gnome shell 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =