Difference between revisions of "InstallingAboutUsOnOSX"
(→Git) |
|||
Line 22: | Line 22: | ||
<pre> | <pre> | ||
127.0.0.1 compostus | 127.0.0.1 compostus | ||
+ | </pre> | ||
+ | |||
+ | ==MacPorts== | ||
+ | * To install new ports it is necessary to install from http://www.macports.org/install.php. Ports installed with existing dev environment should work fine. | ||
+ | * Do this after existing dev environment has been installed. | ||
+ | |||
+ | ==Oddities== | ||
+ | * If vim is acting strangely, remove the MacPorts version--the built-in OS X version works much better. Do so by running | ||
+ | <pre> | ||
+ | port uninstall vim | ||
</pre> | </pre> | ||
Old instructions moved to [[InstallingAboutUsOnOSXFromScratch]]. | Old instructions moved to [[InstallingAboutUsOnOSXFromScratch]]. |
Revision as of 10:35, 20 November 2008
Xcode tools
- Available on OS X install DVD or from http://developer.apple.com/tools/xcode/
Git
- Download binary from http://code.google.com/p/git-osx-installer/downloads/list?can=3
- Verify that git functions.
Dev environment
- (Includes precompiled Apache, PHP, Ruby, and all necessary libraries and extensions)
- Download au_dev_environment.dmg from nimbus and open the image file.
- Copy [dev image]/opt and [dev image]/www to /
- Copy mysql-5.0.67-osx10.5-x86 to /usr/local
- Run the following commands to set up mysql:
cd /usr/local sudo ln -s mysql-5.0.67-osx10.5-x86 mysql sudo chown -R _mysql /usr/local/mysql/data
- Edit your ~/.profile (or ~/.bashrc) and append the lines from [dev image]/profile
- Restart any open terminal sessions.
- Append the following line to /etc/hosts:
127.0.0.1 compostus
MacPorts
- To install new ports it is necessary to install from http://www.macports.org/install.php. Ports installed with existing dev environment should work fine.
- Do this after existing dev environment has been installed.
Oddities
- If vim is acting strangely, remove the MacPorts version--the built-in OS X version works much better. Do so by running
port uninstall vim
Old instructions moved to InstallingAboutUsOnOSXFromScratch.