摘要:
===========nginx setup===========Here's how to install nginx -- the stable branch, packaged by the upstreamnginx developers/company -- on Ubuntu lucid. See below at the end for how touninstall other versions of nginx that we previously used.for reference: http://www.nginx.org/en/download.htmlCut 阅读全文
摘要:
When trying to install nginx in debian, you may encounter this error:W: GPG error: http://nginx.org squeeze Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62The solution is this:gpg --keyserver keyserver.ubuntu.com --recv-key A 阅读全文
摘要:
apt中GPG错误的解决加入ppa源后,出现了GPG错误GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CB2F6C86F77B1CA9 Google了一下后,解决办法如下:gpg --keyserver keyserver.ubuntu.com --recv CB2F6C86F77B1CA9gpg --export --armor C 阅读全文
摘要:
我们在application.rb中会使用config 进行如下类似的设置config.i18n.default_locale = 'zh-CN'# Configure the default encoding used in templates for Ruby 1.9.config.encoding = "utf-8"# Configure sensitive parameters which will be filtered from the log file.config.filter_parameters += [:password]而且在很多的r 阅读全文