Basic commands to get started with Homebrew and some useful packages.
brew install redis
# to have launchd start redis at login
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
# then to load redis now
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
# or if you don't want/need launchctl, you can just run
redis-server /usr/local/etc/redis.conf
brew install postgresql
# to have launchd start postgresql at login
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
# then to load postgresql now
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
# or if you don't want/need launchctl, you can just run
postgres -D /usr/local/var/postgres
brew install mysql
# to connect
mysql -uroot
# to load mysql
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
# or if you don't want/need launchctl, you can just run
mysql.server start
brew install memcached
# To have launchd start memcached at login:
ln -sfv /usr/local/opt/memcached/*.plist ~/Library/LaunchAgents
# Then to load memcached now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.memcached.plist
# Or, if you don't want/need launchctl, you can just run:
/usr/local/opt/memcached/bin/memcached