Created
January 10, 2010 07:41
-
-
Save trevorturk/273368 to your computer and use it in GitHub Desktop.
homebrew snow leopard notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- -with-mysql-config=/usr/local/bin/mysql_config --with-mysql-dir=/usr/local/bin/ | |
sudo cp /usr/local/Cellar/mysql/5.1.41/com.mysql.mysqld.plist /Library/LaunchDaemons | |
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist | |
sudo cp /usr/local/Cellar/couchdb/0.10.1/Library/LaunchDaemons/org.apache.couchdb.plist /Library/LaunchDaemons | |
sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist | |
sudo cp /usr/local/Cellar/postgresql/8.4.1/org.postgresql.postgres.plist /Library/LaunchDaemons | |
sudo launchctl load -w /Library/LaunchDaemons/org.postgresql.postgres.plist | |
edit /Library/LaunchDaemons/* to make sure the username is your normal username. MySQL should work fine with no changes. CouchDB can be run as your normal username or you can make a couchdb user. Postgres may just have a formatting error - move the <string></string> onto one line. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment