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 :: how to enable autocomplete in jupyter notebook 
Shell :: streamlink save to file 
Shell :: wc in powershell 
Shell :: how to add path in ubuntu 
Shell :: decompress file gz in linux 
Shell :: homebrew install in ubuntu 
Shell :: clementine linux download 
Shell :: how to set core.autocrlf in git 
Shell :: tar gz compress extract 
Shell :: pip install ignore errors 
Shell :: linux rename folder add suffix 
Shell :: Live Share not doing anything on linux ubuntu 20.04 
Shell :: firebase login no localhost 
Shell :: kali sources.list 
Shell :: git remove user password 
Shell :: mac kill port 8000 
Shell :: Consider using absolute ordering 
Shell :: netsh wlan command for wifi password 
Shell :: vscode running scripts is disabled on this system 
Shell :: install hugo on ubuntu 
Shell :: ubuntu 20.04 openvpn client 
Shell :: how to find process running on port in ubuntu 
Shell :: ffmpeg convert mp4 to gif 
Shell :: k8s get current context 
Shell :: how to activate administrator account in windows 10 command prompt 
Shell :: alpine install psql 
Shell :: bash slurm view jobs from date 
Shell :: bash sort strings by frequency 
Shell :: delete old version of snaps 
Shell :: Check all memory details 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =