摘要:
Mac OS X 中默认有两个目录可以直接运行你的 Web 程序, 一个是系统级的 Web 根目录:/Library/WebServer/Documents/ 此根目录我们平常使用地址http://localhost来访问 另一个是用户级的根目录,根目录(也是站点目录)是:~/Sites 此根目录我 阅读全文
摘要:
最简单直接的方式还是使用 Mac 上自带的 Apache 和 PHP。 1.启动 Apache 1>启动apache $sudo apachectl start; 2>启动后,在浏览器中输入 localhost ,可以看到页面上显示 It works。(/Library/WebServer/Docu 阅读全文
摘要:
1.首先在官网下载 https://git-scm.com/download/mac 2.然后安装git(mac自带git) 3设置Git的user name和email: $ git config --global user.name "xxxxx" $ git config --global u 阅读全文