Developer: Open Source
...
http://www.infoq.com/interviews/David-Hansson
今天尝试了一下部署一个rails 应用到lighttpd + fastcgi的环境, 把步骤记了一下,
希望对其他人也有用.
Lighttpd 部分的配置有点粗糙,主要是图省事所以很多地方的路径都写死了.
我的操作系统是Redhat 4
首先 在sudoers中加入一个可以使用sudo命令的用户.
su
vi /etc/sudoers
找到这行
# User privilege specification
root ALL=(ALL) ALL
然后加入你的用户名
# User privilege ...
Following article is copied from http://digitalmediaminute.com/howto/fc4rails/#installLighttpd
引用Introduction
This how-to is aimed at getting you started with Ruby on Rails installed on the Fedora Core 4 Linux distribution using the Lighttpd web server and mySQL database server.
Why use this combi ...
Method name/sample call Meaning
a.size (synonym: length) Number of elements in the array
a.empty? True if a is an empty array; false if it has any elements
a.include?(item) True if the array includes items; false otherwise
a.any? {|item| test } True i ...
Specifier Description
%Y Year (four digits)
%y Year (last two digits)
%b, %B Short month, full month
%m Month (number)
%d Day of month (left-padded with zeros)
%e Day of month (left-padded with blanks)
%a, %A Short day name, full day name
%H, ...
- 浏览: 19059 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
转: Comparing Programmin ...
有意思
-- by allenjiang -
Oracle 向 Redhat 宣战
寻找能力欠缺,呵呵.
-- by dogstar -
Oracle 向 Redhat 宣战
为啥同时放到论坛后, 我却找不到这个帖子.
-- by Gene -
小瘪三
是啊, 估计老板太过软弱
-- by Gene -
小瘪三
这种人怎么不被开除呢?
-- by ouspec






评论排行榜