↧
Mac 下 通过 mac ports 安装配置 Mysql server 5
1. 卸载 old versions (如果存在的话): $ sudo rm /usr/local/mysql $ sudo rm -rf /usr/local/mysql* $ sudo rm -rf /Library/StartupItems/MySQLCOM $ sudo rm -rf[......]继续阅读
View ArticleSSH连接GitHub出现 ssh: connect to host github.com port 22: Connection refused
Mac下,使用命令 $ ssh -T git@github.com 连接GitHub,结果出现:ssh: connect to host github.com port 22: Connection refused。 推测原因是公司网络防火墙屏蔽了22端口。 于是乎Google了一番[......]继续阅读
View ArticleMac下SSH连接远程机器遇到 bash: warning: setlocale: LC_CTYPE: cannot change locale...
解决: $ vim /etc/default/locale 添加该行: LC_ALL="en_GB.UTF-8" 或者直接: $ export LC_ALL="en_GB.UTF-8"
View ArticleMac 下干掉 Dashboard
Terminal 下输入一下命令: $ defaults write com.apple.dashboard mcx-disabled -boolean YES $ killall Dock 如果想要重新开启: $ defaults write com.apple.dashboard m[......]继续阅读
View ArticleSolved issue “Can’t install RMagick 2.13.2. Can’t find MagickWand.h.”
在 gem install rmagick 的时候,遇到了如下错误: Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Faile[......]继续阅读
View Article