Instructions for how to update all the tools on the MacOS Server
- nvm
- node (nvm)
- npm (nvm)
- logrotate (brew service)
- pm2 (nvm)
- bunyan (nvm)
- minio (brew service)
- mongodb (brew service)
- caddy (brew service)
- mc (brew)
- rclone (brew)
- aha (brew)
- install nvm
- update update node
- install pm2 & bunyan -> nvm:node
- brew update minio, mongodb & caddy
get latest command at nvm-sh/nvm.
for v0.34.0:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
nvm install <version #>
e.g.
nvm install 8.15.1
Will need to restart the shell.
npm install -g npm@<version #>
e.g.
npm install -g [email protected]
Will need to restart the shell.
brew install logrotate
pm2
will handle starting/stopping logrotate for pm2 logs.
pm2 save
npm install pm2 -g
pm2 update
Will need to restart the shell.
Details here.
Configure to rotate once per day at midnight
pm2 set pm2-logrotate:rotateInterval '0 0 * * *'
npm install -g bunyan
Will need to restart the shell.
Automatically, sets up OSX services that will be started at reboot. To get help enter brew services
brew install minio
brew install [email protected]
brew install caddy
brew install minio/stable/mc
- plists can be found at
mroot/config/<tool>
- plists are installed to
/usr/local/Cellar
cd /usr/local/Cellar
dig into each recipe and then copy in the plist from mroot/config/<tool>
brew will copy these plists to /Library/LaunchDaemons/
Update brew, then upgrade all services:
brew update
brew outdated
brew upgrade
Configure mc for easy usage with meris. Add a cloud storage service alias:
mc config host add <ALIAS> <YOUR-S3-ENDPOINT> <YOUR-ACCESS-KEY> <YOUR-SECRET-KEY> <API-SIGNATURE>
mc config host add meris <meris s3 url> <ACCESS-KEY> <SECRET-KEY>