<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest replies to 布置是困扰新手的一大问题.</title>
		<link>http://chinaonrails.com/topic/view/813.html</link>
		<description>截至 2010-3-14 5:24:35 CST ，主题 [ &lt;a href="http://chinaonrails.com/topic/view/813.html" target="_blank"&gt;布置是困扰新手的一大问题.&lt;/a&gt; ] 共收到来自 6 名会员的 12 篇回复。</description>
		<category>Newbie</category>
		<language>zh_cn</language>
		<item>
			<title>#12 - Re: 布置是困扰新手的一大问题. by sixfooter</title>
			<link>http://chinaonrails.com/topic/view/813.html#p3194</link>
			<dc:creator>sixfooter</dc:creator>
			<author>sixfooter</author>
			<enclosure url="http://chinaonrails.com/img/p/584.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/584_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/584_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			借路问个问题.&lt;br /&gt;
现在我用hostmonster部署了一个ror应用. 现在用的cgi方式. 发现访问一大就会cpu超时. hostmonster有cpu限制, 没办法.&lt;br /&gt;
&lt;br /&gt;
如果改成fastcgi方式会好很多吗?&lt;br /&gt;
&lt;br /&gt;
我现在知道可能需要改.htaccess文件.&lt;br /&gt;
然后吧dispatch.fcgi的ruby路径设置好.&lt;br /&gt;
还有什么要改的呢? 是不是这样就切换到fastcgi了.&lt;br /&gt;
在hostmonster上部署过fastcgi的rails应用的兄弟麻烦指点一下.
			</description>
			<pubDate>Thu, 10 Jan 2008 07:59:20 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p3194</guid>
		</item>
		<item>
			<title>#11 - Re: 布置是困扰新手的一大问题. by CMO</title>
			<link>http://chinaonrails.com/topic/view/813.html#p3192</link>
			<dc:creator>CMO</dc:creator>
			<author>CMO</author>
			<enclosure url="http://chinaonrails.com/img/p/124.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/124_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/124_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			我现在是布置上N头痛&lt;br /&gt;
RUBY CPU和进程占用都过高，可以说程序差不多不响应，本地访问就很快
			</description>
			<pubDate>Thu, 10 Jan 2008 04:39:19 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p3192</guid>
		</item>
		<item>
			<title>#10 - Re: 布置是困扰新手的一大问题. by irails</title>
			<link>http://chinaonrails.com/topic/view/813.html#p2031</link>
			<dc:creator>irails</dc:creator>
			<author>irails</author>
			<enclosure url="http://chinaonrails.com/img/p/43.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/43_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/43_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			@robin&lt;br /&gt;
好建议&lt;img src="/img/icons/silk/emoticon_smile.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;
			</description>
			<pubDate>Tue, 09 Oct 2007 18:30:54 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p2031</guid>
		</item>
		<item>
			<title>#9 - Re: 布置是困扰新手的一大问题. by robin</title>
			<link>http://chinaonrails.com/topic/view/813.html#p2016</link>
			<dc:creator>robin</dc:creator>
			<author>robin</author>
			<enclosure url="http://chinaonrails.com/img/p/64.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/64_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/64_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			对于web server的选择，我一贯主张是先选择熟悉的。如果你已经熟悉apache，没必要非赶那个时髦去搞什么nginx，性能的提高不会超过10%，一旦出什么问题，文档也少，网上的资源也少。&lt;br /&gt;
如果你哪个web server都不熟悉，我觉得lighttpd是一个不错的入门选择，学习成本比apache要低。
			</description>
			<pubDate>Tue, 09 Oct 2007 10:41:57 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p2016</guid>
		</item>
		<item>
			<title>#8 - Re: 布置是困扰新手的一大问题. by irails</title>
			<link>http://chinaonrails.com/topic/view/813.html#p2005</link>
			<dc:creator>irails</dc:creator>
			<author>irails</author>
			<enclosure url="http://chinaonrails.com/img/p/43.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/43_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/43_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			嗯,对于我来说，还是fastcgi,mongrel这些难。&lt;br /&gt;
而且现在又有nginx等新东西出现，感觉许多事情都是这样，不是因为没有选择，而是因为可选择的东西太多而不知该如何好&lt;img src="/img/icons/silk/emoticon_unhappy.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;
			</description>
			<pubDate>Mon, 08 Oct 2007 20:28:38 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p2005</guid>
		</item>
		<item>
			<title>#7 - Re: 布置是困扰新手的一大问题. by leondu</title>
			<link>http://chinaonrails.com/topic/view/813.html#p2004</link>
			<dc:creator>leondu</dc:creator>
			<author>leondu</author>
			<enclosure url="http://chinaonrails.com/img/p/275.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/275_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/275_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			robin说的太对了。&lt;br /&gt;
这里有我东拼西凑的一篇东西，希望有点参考价值：&lt;br /&gt;
在ubuntu（feisty fawn）上部署Ruby On Rails---使用apache和mongrel cluster&lt;br /&gt;
http://docs.google.com/Doc?id=dz66m9p_31gp5krn
			</description>
			<pubDate>Mon, 08 Oct 2007 20:11:26 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p2004</guid>
		</item>
		<item>
			<title>#6 - Re: 布置是困扰新手的一大问题. by robin</title>
			<link>http://chinaonrails.com/topic/view/813.html#p2001</link>
			<dc:creator>robin</dc:creator>
			<author>robin</author>
			<enclosure url="http://chinaonrails.com/img/p/64.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/64_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/64_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			比起php来，ror部署的难度并不在于数据库配置，而是如何和web server的接口，必须借助于fastcgi或者mongrel(webrick在产品环境基本上不可用)，这两个往往都不是end user缺省拥有的东西。虽然都是难者不会会者不难的东西。
			</description>
			<pubDate>Mon, 08 Oct 2007 17:47:35 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p2001</guid>
		</item>
		<item>
			<title>#5 - Re: 布置是困扰新手的一大问题. by bd7lx</title>
			<link>http://chinaonrails.com/topic/view/813.html#p1997</link>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			再过几年也罢，rails的部署方式也不一定有重大的突破&lt;br /&gt;
&lt;br /&gt;
还有就是部署的花样越来越多，第一版Rails的书中提到的服务器只有webrick 和apache以及lighttpd&lt;br /&gt;
&lt;br /&gt;
目前为止主流服务器和架构都令人眼花，以后jruby和微软平台等新技术都令部署装修呈现多元化&lt;br /&gt;
&lt;br /&gt;
PHP从一开始就以成熟的LAMP的固定模式为主导， rails 则是百花齐放，没有一定之规，部署的工具也各领风骚&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://chinaonrails.com/go/server
			</description>
			<pubDate>Mon, 08 Oct 2007 16:38:57 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p1997</guid>
		</item>
		<item>
			<title>#4 - Re: 布置是困扰新手的一大问题. by leondu</title>
			<link>http://chinaonrails.com/topic/view/813.html#p1996</link>
			<dc:creator>leondu</dc:creator>
			<author>leondu</author>
			<enclosure url="http://chinaonrails.com/img/p/275.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/275_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/275_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			还有一个历史问题，php出来多久了，ror才几年，风物长宜放眼量嘛
			</description>
			<pubDate>Mon, 08 Oct 2007 16:21:27 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p1996</guid>
		</item>
		<item>
			<title>#3 - Re: 布置是困扰新手的一大问题. by bd7lx</title>
			<link>http://chinaonrails.com/topic/view/813.html#p1993</link>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			初学者刚刚学rails懵懂转向，如果不是很谦卑地抱着学习的目的，而是用挑剔的眼光去比较的话，往往误入歧途结果就摔耙子不干了，失去了机会体验美妙精巧的Rails&lt;br /&gt;
&lt;br /&gt;
如果要体验rails现有的成品非常简单的几步，就跟把大象拉进冰箱一样的容易&lt;br /&gt;
（也就说要明白原理）&lt;br /&gt;
&lt;br /&gt;
第一步 准备冰箱，没有的话，也不用买（ruby 和rails的环境是免费的）&lt;br /&gt;
&lt;br /&gt;
第二步 打开门 -就是配置database  建立数据库***并***把名字写在database.yml&lt;br /&gt;
&lt;br /&gt;
第三步 拉大象 把下载的程序里的db 看看有没有sql文件（跟php的过程一样用数据库工具桌面的或在线的phpMyAdmin之类去建立表和数据迁移）-rails 现在的迁移功能可以不用碰数据库的工具只要命令rake db:migrate&lt;br /&gt;
&lt;br /&gt;
最后关门，启动webrick
			</description>
			<pubDate>Mon, 08 Oct 2007 12:11:01 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p1993</guid>
		</item>
		<item>
			<title>#2 - Re: 布置是困扰新手的一大问题. by zhangzhai</title>
			<link>http://chinaonrails.com/topic/view/813.html#p1992</link>
			<dc:creator>zhangzhai</dc:creator>
			<author>zhangzhai</author>
			<enclosure url="http://chinaonrails.com/img/p_1.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_s.gif" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p_1_n.gif" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			PHP的几个程序安装是方便,rails主要是不肯去写那几个install文件吧
			</description>
			<pubDate>Mon, 08 Oct 2007 11:21:33 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p1992</guid>
		</item>
		<item>
			<title>#1 - Re: 布置是困扰新手的一大问题. by bd7lx</title>
			<link>http://chinaonrails.com/topic/view/813.html#p1990</link>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />
			<category>Newbie</category>
			<description>
			会PHP，部署Rails就是一碟小小菜&lt;br /&gt;
&lt;br /&gt;
你说的布置，是精装修&lt;br /&gt;
&lt;br /&gt;
还有PHP的现成品，比如CMS一大堆，Rails有几个但是初学者上来就想拿过来就用肯定没有PHP的成熟作品考虑的那么方便&lt;br /&gt;
&lt;br /&gt;
从学习的角度来说，up and running 与out of box 还有区别
			</description>
			<pubDate>Mon, 08 Oct 2007 08:35:36 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/813.html#p1990</guid>
		</item>
	</channel>
</rss>