Skip to content

Instantly share code, notes, and snippets.

@levicook
Created May 27, 2011 12:50
Show Gist options
  • Save levicook/995169 to your computer and use it in GitHub Desktop.
Save levicook/995169 to your computer and use it in GitHub Desktop.
brew upgrade bs
brew upgrade
==> Downloading https://github.com/defunkt/gist/tarball/v2.0.3
File already downloaded and cached to /Users/levi/Library/Caches/Homebrew
==> rake install prefix=/usr/local/Cellar/gist/2.0.3
/usr/local/Cellar/gist/2.0.3: 3 files, 28K, built in 2 seconds
==> Downloading http://kernel.org/pub/software/scm/git/git-1.7.5.2.tar.bz2
######################################################################## 100.0%
==> make prefix=/usr/local/Cellar/git/1.7.5.2 install
==> Downloading http://kernel.org/pub/software/scm/git/git-manpages-1.7.5.2.tar.bz2
######################################################################## 100.0%
==> Downloading http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.5.2.tar.bz2
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to:
/usr/local/Cellar/git/1.7.5.2/etc/bash_completion.d/
Emacs support has been installed to:
/usr/local/Cellar/git/1.7.5.2/share/doc/git-core/contrib/emacs/
The rest of the "contrib" has been installed to:
/usr/local/Cellar/git/1.7.5.2/share/contrib
==> Summary
/usr/local/Cellar/git/1.7.5.2: 1059 files, 19M, built in 67 seconds
==> Downloading https://github.com/visionmedia/git-extras/tarball/0.5.1
######################################################################## 100.0%
==> make install
/usr/local/Cellar/git-extras/0.5.1: 47 files, 192K, built in 2 seconds
==> Downloading http://downloads.sourceforge.net/project/levent/libevent/libevent-2.
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libevent/2.0.11
==> make install
/usr/local/Cellar/libevent/2.0.11: 47 files, 2.0M, built in 83 seconds
==> Downloading https://github.com/b4winckler/macvim/tarball/snapshot-57
######################################################################## 100.0%
==> ./configure --with-macsdk=10.6 --with-features=huge --with-macarchs=x86_64 --ena
==> make
==> Caveats
MacVim.app installed to:
/usr/local/Cellar/macvim/7.3-57
To link the application to a normal Mac OS X location:
brew linkapps
or:
sudo ln -s /usr/local/Cellar/macvim/7.3-57/MacVim.app /Applications
==> Summary
/usr/local/Cellar/macvim/7.3-57: 1715 files, 26M, built in 2.2 minutes
==> Downloading http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-1.8.1.tgz
######################################################################## 100.0%
==> Caveats
If this is your first install, automatically load on login with:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/mongodb/1.8.1-x86_64/org.mongodb.mongod.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
If this is an upgrade and you already have the org.mongodb.mongod.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
cp /usr/local/Cellar/mongodb/1.8.1-x86_64/org.mongodb.mongod.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.mongodb.mongod.plist
Or start it manually:
mongod run --config /usr/local/Cellar/mongodb/1.8.1-x86_64/mongod.conf
MongoDB 1.8+ includes a feature for Write Ahead Logging (Journaling), which has been enabled by default.
This is not the default in production (Journaling is disabled); to disable journaling, use --nojournal.
==> Summary
/usr/local/Cellar/mongodb/1.8.1-x86_64: 16 files, 93M, built in 2 seconds
Also installing dependencies: cmake
==> Downloading http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file Modules/Platform/Darwin.cmake
==> ./bootstrap --prefix=/usr/local/Cellar/cmake/2.8.4 --system-libs --no-system-lib
==> make
==> make install
/usr/local/Cellar/cmake/2.8.4: 582 files, 28M, built in 7.0 minutes
==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.10.tar.gz
######################################################################## 100.0%
==> Downloading patches
==> Patching
patching file scripts/mysqld_safe.sh
Hunk #1 succeeded at 555 (offset 172 lines).
patching file scripts/mysql_config.sh
Hunk #1 succeeded at 137 (offset 5 lines).
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/mysql/5.5.10 -DMYSQL_DATADIR=/u
==> make
==> make install
==> Caveats
Set up databases to run AS YOUR USER ACCOUNT with:
unset TMPDIR
mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
To set up base tables in another folder, or use a differnet user to run
mysqld, view the help for mysqld_install_db:
mysql_install_db --help
and view the MySQL documentation:
* http://dev.mysql.com/doc/refman/5.5/en/mysql-install-db.html
* http://dev.mysql.com/doc/refman/5.5/en/default-privileges.html
To run as, for instance, user "mysql", you may need to `sudo`:
sudo mysql_install_db ...options...
Start mysqld manually with:
mysql.server start
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot
To launch on startup:
* if this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/mysql/5.5.10/com.mysql.mysqld.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
* if this is an upgrade and you already have the com.mysql.mysqld.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
cp /usr/local/Cellar/mysql/5.5.10/com.mysql.mysqld.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/com.mysql.mysqld.plist
You may also need to edit the plist to use the correct "UserName".
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/mysql/5.5.10: 6232 files, 219M, built in 6.3 minutes
Also installing dependencies: pcre
==> Downloading ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.12.tar.
######################################################################## 100.0%
==> ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/pcre/8.12 -
==> make test
==> make install
/usr/local/Cellar/pcre/8.12: 111 files, 2.8M, built in 45 seconds
==> Downloading http://nginx.org/download/nginx-1.0.2.tar.gz
######################################################################## 100.0%
==> Downloading patches
==> Patching
patching file auto/lib/pcre/conf
patching file conf/nginx.conf
==> ./configure --prefix=/usr/local/Cellar/nginx/1.0.2 --with-http_ssl_module --with
==> make install
==> Caveats
In the interest of allowing you to run `nginx` without `sudo`, the default
port is set to localhost:8080.
If you want to host pages on your local machine to the public, you should
change that to localhost:80, and run `sudo nginx`. You'll need to turn off
any other web servers running port 80, of course.
You can start nginx automatically on login with:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/nginx/1.0.2/org.nginx.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/org.nginx.plist
==> Summary
/usr/local/Cellar/nginx/1.0.2: 6 files, 640K, built in 25 seconds
Warning: Formula already installed: pcre
==> Downloading http://redis.googlecode.com/files/redis-2.2.8.tar.gz
######################################################################## 100.0%
==> make -C src
==> Caveats
If this is your first install, automatically load on login with:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/redis/2.2.8/io.redis.redis-server.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist
If this is an upgrade and you already have the io.redis.redis-server.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/io.redis.redis-server.plist
cp /usr/local/Cellar/redis/2.2.8/io.redis.redis-server.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/io.redis.redis-server.plist
To start redis manually:
redis-server /usr/local/etc/redis.conf
To access the server:
redis-cli
==> Summary
/usr/local/Cellar/redis/2.2.8: 159 files, 1.4M, built in 7 seconds
==> Downloading http://www.rarlab.com/rar/unrarsrc-4.0.7.tar.gz
######################################################################## 100.0%
==> make --makefile makefile.unix
/usr/local/Cellar/unrar/4.0.7: 3 files, 264K, built in 7 seconds
==> Downloading http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/yasm/1.1.0 --disable-debug --disable-depe
==> make install
/usr/local/Cellar/yasm/1.1.0: 42 files, 3.7M, built in 21 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment