<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ไอเอินบล๊อก &#187; mod_rails</title>
	<atom:link href="http://www.iearn.in.th/tag/mod_rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iearn.in.th</link>
	<description>Just Play and Just Knowledge</description>
	<lastBuildDate>Sat, 12 Jun 2010 06:40:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Install and Deploy Rails with Apache Modrails</title>
		<link>http://www.iearn.in.th/2009/10/15/install-and-deploy-rails-with-apache-modrails/</link>
		<comments>http://www.iearn.in.th/2009/10/15/install-and-deploy-rails-with-apache-modrails/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 18:46:19 +0000</pubDate>
		<dc:creator>nolifelover</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[httpd config]]></category>
		<category><![CDATA[modrails]]></category>
		<category><![CDATA[mod_rails]]></category>
		<category><![CDATA[passenger]]></category>

		<guid isPermaLink="false">http://www.iearn.in.th/?p=598</guid>
		<description><![CDATA[Jaideawhosting ตอนนี้ได้เปลี่ยนมาใช้งาน mod_rails แทน mod_proxy และ fastcgi แล้วเพราะเห็นว่าเจ้า mod_rails มันเสถียรจริงๆ อีกอย่างการ deploy ก็ทำได้ง่ายดายมาก เอาเป็นว่ามาดูวิธิการลงกันเลย Install Passenger 1. ทำการติดตั้ง passenger gem (mod_rails) gem install passenger 2. ติดตั้งเป็น module ของ apache passenger-install-apache2-module เป็นอันว่าเรียบร้อยแล้วสำหรับการลง ง่ายไหมละ Mod-rails Config 1. เปิดไฟล์ httpd.conf ของ apahce มาครับ 2. การ deploy ด้วย virtual host ServerName www.xxx.com ServerAlias www.xxxx.com xxxx.com DocumentRoot /home/xxx/app/public RailsEnv production [...]


Related posts:<ol><li><a href='http://www.iearn.in.th/2010/03/11/deploy-rails-app-on-a-suburi/' rel='bookmark' title='Permanent Link: Deploy rails app on a suburi'>Deploy rails app on a suburi</a> <small>หากใครอยากที่จะ deploy rails สำหรับให้อยู่ในส่วนของ suburi เช่น example.com/app จำเป็นจะต้องมีการใช้งานในส่วนของการสั่งให้ rails ทราบว่าตอนนี้มันกำลังอยู่ใน...</small></li>
<li><a href='http://www.iearn.in.th/2009/09/14/apache-fancyindex-overide-apache-icons/' rel='bookmark' title='Permanent Link: Apache FancyIndex Overide Apache Icons'>Apache FancyIndex Overide Apache Icons</a> <small>เคยเขียนการทำ list ไฟล์ด้วย apache modindexoptions มาแล้วแต่ติดปัญหาเรื่อง icons ที่ไม่ได้เอามาตามที่เราต้องการกลับไปเอา icon ซึ่งเป็น...</small></li>
<li><a href='http://www.iearn.in.th/2009/08/20/install-cups-on-ubuntu-904/' rel='bookmark' title='Permanent Link: Install CUPS on Ubuntu 9.04'>Install CUPS on Ubuntu 9.04</a> <small>Cups ย่อมาจากคำว่า “Common Unix Printing system” เป็นโปรแกรมช่วยจัดการการพิมพ์ของเครื่องพิมพ์ โดยสามารถจัดการคิวงานพิมพ์ รวมทั้งแชร์เครื่องพิมพ์ผ่านเน็ตเวิร์คได้ ขั้นตอนการติดตั้ง...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iearn.in.th/wp-content/uploads/2009/10/mod_rails.jpg"><img src="http://www.iearn.in.th/wp-content/uploads/2009/10/mod_rails-300x221.jpg" alt="mod_rails" title="mod_rails" width="300" height="221" class="aligncenter size-medium wp-image-599" /></a></p>
<p>Jaideawhosting ตอนนี้ได้เปลี่ยนมาใช้งาน mod_rails แทน mod_proxy และ fastcgi แล้วเพราะเห็นว่าเจ้า mod_rails มันเสถียรจริงๆ อีกอย่างการ deploy ก็ทำได้ง่ายดายมาก เอาเป็นว่ามาดูวิธิการลงกันเลย<br />
<span id="more-598"></span><br />
Install Passenger<br />
1. ทำการติดตั้ง passenger gem (mod_rails)<br />
<code>gem install passenger </code><br />
2. ติดตั้งเป็น module ของ apache<br />
<code>passenger-install-apache2-module</code><br />
เป็นอันว่าเรียบร้อยแล้วสำหรับการลง ง่ายไหมละ</p>
<p>Mod-rails Config<br />
1. เปิดไฟล์ httpd.conf ของ apahce มาครับ<br />
2. การ deploy ด้วย virtual host<br />
<code><VirtualHost xx.xx.xx.xx:80><br />
ServerName www.xxx.com<br />
        ServerAlias www.xxxx.com xxxx.com<br />
        DocumentRoot /home/xxx/app/public<br />
        RailsEnv production<br />
</VirtualHost><br />
</code><br />
หลังจากนั้นทำการ reload httpd ก็เรียบร้อยครับ</p>


<p>Related posts:<ol><li><a href='http://www.iearn.in.th/2010/03/11/deploy-rails-app-on-a-suburi/' rel='bookmark' title='Permanent Link: Deploy rails app on a suburi'>Deploy rails app on a suburi</a> <small>หากใครอยากที่จะ deploy rails สำหรับให้อยู่ในส่วนของ suburi เช่น example.com/app จำเป็นจะต้องมีการใช้งานในส่วนของการสั่งให้ rails ทราบว่าตอนนี้มันกำลังอยู่ใน...</small></li>
<li><a href='http://www.iearn.in.th/2009/09/14/apache-fancyindex-overide-apache-icons/' rel='bookmark' title='Permanent Link: Apache FancyIndex Overide Apache Icons'>Apache FancyIndex Overide Apache Icons</a> <small>เคยเขียนการทำ list ไฟล์ด้วย apache modindexoptions มาแล้วแต่ติดปัญหาเรื่อง icons ที่ไม่ได้เอามาตามที่เราต้องการกลับไปเอา icon ซึ่งเป็น...</small></li>
<li><a href='http://www.iearn.in.th/2009/08/20/install-cups-on-ubuntu-904/' rel='bookmark' title='Permanent Link: Install CUPS on Ubuntu 9.04'>Install CUPS on Ubuntu 9.04</a> <small>Cups ย่อมาจากคำว่า “Common Unix Printing system” เป็นโปรแกรมช่วยจัดการการพิมพ์ของเครื่องพิมพ์ โดยสามารถจัดการคิวงานพิมพ์ รวมทั้งแชร์เครื่องพิมพ์ผ่านเน็ตเวิร์คได้ ขั้นตอนการติดตั้ง...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.iearn.in.th/2009/10/15/install-and-deploy-rails-with-apache-modrails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
