You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
redmineãããããç°å¢ãæ§ç¯ããæ©ä¼ããã£ãã®ã§ãã¤ãã§ã«ããã¾ã§è§¦ã£ã¦æ¥ãªãã£ãnginxã使ã£ã¦è¦ããã¨ã«ãããåã¯åºæ¬çã«æ¯ãã¦ãããã®ãã使ããªãã®ã§ããããããã¨ã§ããã¤ãã§ã«ãunicornã¨ãããã®ãPassengerã®ä»£ããã¨ãã¦æ³¨ç®ããã¦ããããã ã£ãã®ã§ã試ãã«å°å ¥ãã¦ã¿ãã nginxã¯ã¨ãããunicornãä½ãªã®ãããããããªãã£ãã®ã§èª¿ã¹ã¦ã¿ãã¨ããã次ä¸ä»£Railsãµã¼ãã¼Unicornã使ã£ã¦ã¿ã | TechRachohttp://techracho.bpsinc.jp/bps/2010_07_09/2075ãããããããã£ãã debianã®ã»ããã¢ãããã£ã¨è§¦ã£ã¦ä¸çªé«éã ã£ããhttp://ftp.riken.jp/Linux/debian/debian-cd/6.0.4/amd64/iso-cd/ããnetinstã¤ã¡ã¼ã¸ãè½ã¨ãã¦ãé©å½ã«ã»
çæ§ãåãã¾ãã¦ãæ»æ¾¤ã¨ç³ãã¾ããä»æããããã§è¨äºãæ¸ãã¦ããã¾ãã®ã§ãããããé¡ããã¾ãã ãã1,2å¹´ã§æ³¨ç®ãéãã¦ããWebãµã¼ãnginxã«ã¤ãã¦ä»åããæ°åã«ããã£ã¦ãç´¹ä»ãã¦ããã¾ãã nginxã«ã¤ãã¦åãã¦ç¥ã£ãããããã¯ãååã¯èãããã¨ããããã ãã©ä½¿ã£ããã¨ã¯ãªããã¨ãã£ãæ¹ã®ããã«ã1åç®ã®ãã®è¨äºã§ã¯nginxã®æ¦è¦ãã2åç®ã®è¨äºã§ã¯ã¤ã³ã¹ãã¼ã«ã¨è¨å®ã«ã¤ãã¦ç´¹ä»ãã¾ãã nginxã¨ã¯ nginxã¯ãã·ã¢ã®Igor Sysoevæ°ã«ãã£ã¦éçºããã¦ããWebãµã¼ãå ¼ãªãã¼ã¹ãããã·ã®ã½ããã¦ã§ã¢ã§ãããã¨ã³ã¸ã³ ã¨ãã¯ã¹ãï¼engine xï¼ã¨å¼ã³ã¾ãã 2002å¹´ã«éçºãå§ã¾ãã2004å¹´ã«å ¬éãããä»ã§ã¯ç´10%ã®ã·ã§ã¢ãæã¤ã¾ã§ã«æé·ãã¦ãã¾ããfacebookãWordPress.ORGãªã©ã®å¤§è¦æ¨¡ãµã¤ãã§ã®å°å ¥å®ç¸¾ããããå°å ¥ããWebãµã¼ãã®é¸æ
rvm : Ruby Version Managerãã³ãã³ãä¸ã¤ã§Rubyãã¼ã¸ã§ã³ãåãæ¿ãããgemsetã¨ããåãæ¿ãããã§ãã¾ãã nginx : 軽éWebProxyãHTTPãµã¼ãã¨ãã¦ã使ãã¾ãã Passenger : mod_railsã¨ããRuby on Railsããããã¤ããã¨ãã«è¶ 便å©ã ã¾ãããããè¦ãã°ã¨ããããã¯ããããã§ããã [RVM Document : Passenger] http://rvm.beginrescueend.com/integration/passenger/ åã®æ¹ã§ã¯ãããã¾ããã RVMã¯System Wide Install ( prefix = /usr/local/rvm ) ã¢ããªã±ã¼ã·ã§ã³ç¨ã®ãã¼ã¸ã§ã³ã¨gemsetãã¤ã³ã¹ãã¼ã«ãã¦ãã rvm install 1.9.2-head rvm use 1.9.2-h
æ¯æ¥ããã°ãæ¸ãããã«ãããä½èª¿ãè¯ããªã£ã ããæ¥ãµã¨ããæè¿ã®èªåã¯ã¢ã¦ããããã«èç ã«ãªã£ã¦ãããªã¼ãã¨æããããããã¨ã³ããªãæ¸ããã daiksy.hatenablog.jp å 容ã¯ãéãªã¢ã¦ããããã§ãã ãããã¼ããèããæµ ããªãã¿ãããªãåãã®ç®ãå¥ãããããã¨ãæãã¦ããããèªåãéå°ã«æèããã»ã©â¦
ããã«ã¡ã¯ãhsbtã§ãã ä»å㯠nginx ã web ãµã¼ãã¼ã¨ãã¦ã§ã¯ãªãããªãã¼ã¹ãããã·ã¨ãã¦åä½ãããæ¹æ³ã«ã¤ãã¦ç´¹ä»ãã¾ãã ãªãã¼ã¹ãããã·ã¨ã¯ãWebãµã¼ãã¼ããæåã«è¨ç½®ãã以ä¸ã®ãããªæ©è½ãæä¾ãããã¨ãç®çã¨ãã¦ãã¾ãã ã»ãã¥ãªãã£ã®å¼·å è¤æ°ã®Webãµã¼ãã¼ã¸ã®ã¢ã¯ã»ã¹ã®æ¯ãåã Webãµã¼ãã¼ã®éçã³ã³ãã³ãã®ãã£ãã·ã¥ å ·ä½ä¾ã¨ã㦠Rails ã¢ããªã±ã¼ã·ã§ã³ãWebãµã¼ãã¼ã§åããã¦ããå ´åãæ³å®ãã¦ãnginx ãã¢ã¯ã»ã¹æ¯ãåããè¡ããªãã¼ã¹ãããã·ã¨ãã¦ç¨ãã¦ã¿ã¾ãããã nginx ã§ã¢ã¯ã»ã¹ã®æ¯ãåããè¡ã nginx ã§ã¢ã¯ã»ã¹ã®æ¯ãåããè¡ãå ´å㯠HttpProxyModule ãç¨ãã¾ããä¾ãã°ãRailsã¢ããªã±ã¼ã·ã§ã³ã localhost ã® 3000 ãã¼ãã§åä½ãã¦ããå ´åã«ä¸åº¦ nginx ãã¢ã¯ã»ã¹ãåããå ´åã¯ä»¥ä¸ã®ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}