如何快速正确的安装Rails运行环境

对于新入门的开发者,如何安装 Ruby, Ruby Gems 和 Rails 的运行环境可能会是个问题,本页主要介绍如何用一条靠谱的路子快速安装 Ruby 开发环境。 此安装方法同样适用于产品...

August 20, 2013

Getting PAM to authenticate against MySQL

Because OpenSSH makes use of PAM for authentication, it may be desirable to back users with a pre-existing MySQL database. The following steps will show how to do this. This is yet another authentication option for integrations. The role of PAM and NSS There is some confusion as to the role of PAM and NSS. In a nutshell, PAM and NSS perform two related functions: PAM: Authentication of users NSS: Name Services The important item to note is that authentication is a question of, “Is this who they purport to be?...

July 13, 2013

解决BAE中PHPMyAdmin无法登录的问题

不知道大家有没有遇到我这种情况,打开BAE的PHPMyAdmin,结果提示: Sorry! Login Failed, Please Try Again! 本以为这百度家的玩意儿,在百度家应该很容易解决,结果...

July 10, 2013 · athurg

header无法跳转的问题——坑爹的PHP

我们都知道,PHP里可以通过header("Location: http://www.foobar.com/"),告知客户...

July 9, 2013 · athurg

Mac下更改OSX默认的SSHD端口

这一点上,Mac(抑或是BSD)做得就没有Linux好了,Linux下所有的配置都是 /etc 下可以找得到的,更改配置也很容易。而Mac相比就有点藏...

July 8, 2013 · athurg

网易新闻客户端——从爱上到离开

看新闻,从以前的通过杂志、到电视、到报纸、到电脑。每天都准时的打开以免自己”落伍了一整代“。 可是尤其是互联网时代的到来,让新闻越来越呈现出两...

July 1, 2013 · athurg