@Zjmainstay
2016-03-24T15:02:47.000000Z
字数 4088
阅读 1971
mac 软件
装机软件列表
http://www.apachefriends.org/download.html #xampp
http://blog.sina.com.cn/s/blog_7c8dc2d50101nhvb.html #Zend Stadio 10.5
https://support.apple.com/kb/DL1572?locale=zh_CN #Java SE 6
FireFox
为知笔记
http://www.sequelpro.com/download mysql管理工具
http://libevent.org/ memcached依赖
http://memcached.org/downloads memcached官网
memcache http://pecl.php.net/package/memcache
m4 http://www.gnu.org/software/m4/
autoconf http://www.gnu.org/software/autoconf/ ( > v2.59 )
pkg-config http://www.freedesktop.org/wiki/Software/pkg-config/
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sudo brew install gcc
sudo brew install libmemcached
memcached http://pecl.php.net/package/memcached
/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/
xampp
php.inierror_log="/Applications/XAMPP/xamppfiles/logs/php_error.log"[memcached]extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/memcached.so
httpd.confUser zjmainstay
defaults write com.apple.finder AppleShowAllFiles -bool true #显示
defaults write com.apple.finder AppleShowAllFiles -bool false #关闭显示
defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE;killall Finder #显示
defaults delete com.apple.finder _FXShowPosixPathInTitle;killall Finder #关闭显示
安装成功,启动Win7后,在VirtualBox面板的菜单栏Devices,点击最后的Insert Guest Additions CD images安装增强扩展,
然后在设置,共享文件夹中,加入固定挂载。
参考:http://jingyan.baidu.com/article/647f0115ab16f17f2048a861.html
brew install md5sha1sum
phpstorm 8 license keyname: Learn Programming===== LICENSE BEGIN =====63758-1204201000000Ryqh0NCC73lpRm!XVcxFChJ2gTUR2lZtlLXrPLbQ66Gs8MHs51RvF2yagoDlzne08Zm8VXbts1UMKE!EW4v8G===== LICENSE END =====
http://blog.csdn.net/black_ox/article/details/42082473
defaults write com.apple.dashboard mcx-disabled -boolean YES;killall Dock #关闭
defaults write com.apple.dashboard mcx-disabled -boolean NO;killall Dock #开启
sudo brew install node
http://bbs.feng.com/read-htm-tid-9016313.html
http://www.chinamac.com/download/mac7059.html
vi .bash_profile 加入:
export EDITOR=vim
http://www.trankynam.com/xtrafinder/
✉✉⌘
sudo scutil --set LocalHostName localhost
sudo scutil --set HostName localhost
设置成localhost,不能设置成其他,否则Apache无法启动
sudo brew install redisln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgentslaunchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plistcat ~/Library/LaunchAgents/homebrew.mxcl.redis.plistredis-server /usr/local/etc/redis.confmkdir phpredis-buildcd phpredis-buildgit clone --depth 1 git://github.com/nicolasff/phpredis.gitcd phpredisphpize./configuremakesudo make installphp -m | grep redis
cd /usr/local/git clone git://github.com/xdebug/xdebug.gitcd xdebugsudo phpizesudo ./configure --enable-xdebug --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-configsudo makesudo make installvi /Applications/XAMPP/xamppfiles/etc/php.ini[xdebug]zend_extension=/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.soxdebug.remote_enable=1xdebug.remote_handler=dbgpxdebug.remote_mode=reqxdebug.remote_host=localhostxdebug.remote_port=9000xdebug.idekey="PhpStorm"xdebug.overload_var_dump = 0配置phpStorm参考文档:http://www.cnblogs.com/jsn521/p/3399997.html错误:Cannot accept external Xdebug connection: Cannot evaluate expression'isset($_SERVER['PHP_IDE_CONFIG'])';处理:zend_extension=/path/xdebug.so 而不是 extension=/path/xdebug.so#区分大小写echo idea.case.sensitive.fs=true >> /Applications/PhpStorm.app/Contents/bin/idea.properties
sudo brew tap josegonzalez/homebrew-php
sudo brew update
sudo brew install php56-yaf
Log: Installing dependencies for josegonzalez/php/php56-yaf: libpng, freetype, gettext, icu4c, jpeg, unixodbc, readline, php56, pcre
sudo brew install v8
http://www.phpied.com/installing-v8js-for-php-on-a-mac/
https://github.com/phpv8/v8js/blob/master/README.MacOS.md
sudo brew install homebrew/php/php56-xhprof
sudo brew install graphviz