主要思路是使用macports安装管理这些开源软件。
关于macports的主页为http://www.macports.org,简单介绍如下:
The MacPorts Project is an open-source community initiative to design an easy-to-use system for compiling, installing, and upgrading either command-line, X11 or Aqua based open-source software on the Mac OS X operating system.
类似与redhat下的yum,debian下的apt-get等,自动下载软件及自动解决依赖关系。
安装完macports以后,更新一下库
sudo port selfupdate
然后分别安装tornado、mongodb、apache2、python33、py33-tornado、py33-pymongo、php54、php54-apache2handler
sudo port install tornado
sudo port install mongodb
sudo port install apache2
sudo port install python33
sudo port install py33-tornado
sudo port install py33-pymongo
sudo port install php54
sudo port install php54-apache2handler
可使用port search命令查找需要的软件,使用port installed查看当前系统使用port安装了哪些软件。