分享 部署 Rails/Passenger/Nginx/Mysql/RVM/Ubuntu

ery · January 13, 2012 · Last by xufeng replied at February 04, 2012 · 4550 hits

我把部署的 log 放到 github 上了 https://github.com/ery/deploy-rails/tree/master/2012.1.12 https://github.com/ery/deploy-rails

这个 log 是基于<>做的改进。 http://ruby-china.org/topics/701

区别之一是我才采用的是 rvm Multi-User 模式。

请注意 rvm 官方网站对 multi-user 模式的注释: Multi-User installations - For server administrators - For an installation usable by all users on the system - Please note that Single-User supercedes Multi-User. This also used to be called the System-Wide Install. Using this type of installation without knowledge how umask works is a big security risk.

如果用户不多的话可能关系不大,不过还是用之前自己研究下比较安全。

支持!!!!!

Passenger 那位老大,分享一下 Passenger 常用命令啊!!!

我上次搜索到,可以展示 Passenger 性能和 Passenger 状态的命令,现在找不到了!

You need to Sign in before reply, if you don't have an account, please Sign up first.