hirotomo.org
Rails(3.0.10)ãPhusion Passengerä¸ã§åãããã¨ãã®ã¡ã¢ããµã¼ãã¼ã¯ãããã¤ã³ã¿ã¼ãããã®VPSãOSã¯CentOSã Phusion Passengerã¯ãRailsãApacheï¼WEBãµã¼ãã¼ï¼ä¸ã§åããããã®Apacheã¢ã¸ã¥ã¼ã«ãRailsãåããããã®WEBãµã¼ãã¼ã¯ãéçºç°å¢ã§ã¯WEBrickãæ¬çªç°å¢ã§ã¯Mongrelã使ããããã¨ãå¤ãã£ããããããã¯ç°¡åã«ä½¿ããåé¢ãåä½é度ãã¡ã¢ãªä½¿ç¨éã§ã¯ã¤ãã¤ãã ã£ããã¾ããApacheãå ¥ã£ã¦ããã®ã«ãRailså°ç¨ã®WEBãµã¼ãã¼ã¢ããªã±ã¼ã·ã§ã³ãå¥åã«ã¤ã³ã¹ãã¼ã«ããªãã¨ãããªãã®ãã¤ãã¤ãã ã£ãï¼ã¨ããã®ããPhusion Passengerãéçºãããèæ¯ãªãã ã¨æããï¼WEBãæ¸ç±ãæãèªã¿ãããï¼ ä»ã®WEBãµã¼ãã¼ã¨æ¯ã¹ã¦åä½é度ãã¡ã¢ãªä½¿ç¨éã®éãã¯ä¸ç®çç¶ã Advantages o
å é±ã»ããã¢ããããPassengerä¸ã®RedmineãããããRedmineã ããããªãã¦ä»ã®ã¢ããªãåããããï¼ ã¨ããããã§è©¦ãã¦ã¿ããçµè«ã¨ãã¦ã¯ãå¥ã¢ããªã®ãªã³ã¯ãå¼µã£ã¦ã/etc/httpd/conf.d/passenger.confãä¿®æ£ããã ãã§æ¸ãã ãã¡ãªã¿ã«SubURIã§åããæ¹æ³ãSubURI使ããªãã§åããæ¹æ³ãããããããã©ï½¥ï½¥ï½¥ã ã¨ããããã§ãããæ¹ã ä¾ãã°ããããµã¼ãä¸ã®SubURIã使ã£ã¦ã http://testXXX.com/app1/ http://testXXX.com/app2/ ã¨ãªã£ã¦ã¦DocumentRootã/var/www/htmlã«ãªã£ã¦ããå ´åã¯ãï¼ã¤ã®ã¢ããªã®publicãã©ã«ãã/var/www/htmlä¸ã«ãªã³ã¯ãã¯ãã ln -s /var/local/rails/app1/public /var/www/html/ap
Ruby on Railsã®ãã°åºåå 容ãè¦ã¦ã¿ãã¨ãæå»ãåºåããã¦ãã¾ããã æå»ã¨ãã°ã¬ãã«ãããã¯åºåãã¦ãããããã£ã¦ããããã©ãã§ãã©ã¼ãããå¤ãããã®ï¼ ã¨ããããã§ãè¨å®ãã¦ã¿ã¾ããã ï¼åã使ã£ã¦ããç°å¢ï¼ ruby 2.0.0p247 (32bit) DevKit-mingw64-32-4.7.2-20130224-1151-sfx (32bit) rails 3.2.14 Windows7 (64bit) (1)ã¯ããã« [Rubyã¤ã³ã¹ãã¼ã«å ]\lib\ruby\gems\2.0.0\gems\activesupport-3.2.14\lib\active_support\core_ext\logger.rb ã«ãLoggerã®å®ç¾©ãæ¸ããã¦ããã¿ããã§ãã Railsã®ããã©ã«ãã®ãã°ãã©ã¼ãããã¯ãlogger.rbã®ä¸ã®ãSimpleFormatterã§å®ç¾©
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}