kkaneko.com 2024 èä½æ¨©. ä¸è¨±è¤è£½ ãã©ã¤ãã·ã¼ããªã·ã¼
kkaneko.com 2024 èä½æ¨©. ä¸è¨±è¤è£½ ãã©ã¤ãã·ã¼ããªã·ã¼
ããã«ã¡ã¯ã masudaã§ãã ä»åã¯Rubyã§Rã使ãã¨ããã®ããã£ã¦ã¿ããããªã¨æãã¾ãã Rã¯Wikipediaã®ããã¨ããªã¼ãã³ã½ã¼ã¹ã§ããªã¼ã½ããã¦ã§ã¢ã®çµ±è¨è§£æåãããã°ã©ãã³ã°è¨èªãåã³ãã®éçºå®è¡ç°å¢ã§ããããããã§ãã RubyããRãå¼ã³åºãããã®RSRubyã¨ããgemãããã¾ãã ãããããã¨ãæ軽ã«RubyããRã®æ©è½ãå¼ã³åºããã¨ãå¯è½ã§ãã ã¾ãã¯Ræ¬ä½ãã¤ã³ã¹ãã¼ã«ãã¾ãã 次ã«RubyGemã§RSRubyãã¤ã³ã¹ãã¼ã«ãã¾ãã ãªãã·ã§ã³ã§Rã®å ´æãæå®ãã¦ããã¾ãã Macã ã¨ãã®ããã«ãªãã¾ãã sudo gem install rsruby -- --with-R-dir=/Library/Frameworks/R.framework/Resources 使ãæ¹ require 'rubygems' require 'rsruby' r = RSR
æ10ä¸ç¨¼ã å¯æ¥çªãæ å ±ã注ç®ã§ãï¼ãã¸ãã©ã»ãã¸ã¿ã«ãã©ãP2Pã¯ã¼ã«ãã¬ã¬ã¼ã¸ããç´¹ä»ï¼æ10ä¸ç¨¼ã å¯æ¥çªãæ å ±ã§ã¯ãè²·ããã人ã¨å£²ããã人ããããã³ã°ã§ãããããã³ã°ãã©ãããã©ã¼ã ã»ã¯ã¼ã«ãã¬ã¬ã¼ã¸ã«ã¤ãã¦è©³ç´°ããæ¡å ãã¦ãã¾ãï¼ãã¸ã¿ã«ã¢ã¤ãã ã»ãã¸ã¿ã«ãã©ãã®åéã§ä»è¶ 注ç®ã§ãï¼ãã¸ãã©ã»ãã¸ã¿ã«ãã©ãã¨ã¯ãå人éåå¼ããµãã¼ãããã·ã¹ãã ã§ããæ10ä¸ç¨¼ã å¯æ¥çªãæ å ±ã§ã¯ä»è©±é¡ã®å²ããæè³ææ³ããç´¹ä»ãã¯ã¼ã«ãã¬ã¬ã¼ã¸ã¯å°éçç¥èãã¹ãã«ã¯ä¸è¦ã§ãã¨ã¦ãç°¡åã§ãï¼ã©ãªãã§ã楽ããã§ç°¡åã«æè³ããããã¨ãã§ãã¾ãã ãã¯ã¼ã«ãã¬ã¬ã¼ã¸ããã¸ã¿ã«ãã©ãã å°ç¨ãªããã£ã»åå è 交æµã®å ´ã¯ãã¡ã ãã¾ã ãæ10ä¸ç¨¼ã å¯æ¥çªãã®æ10ä¸ç¨¼ã å¯æ¥çªãã®çåç¹ ä¸è¬ã«ã¯å¿é¿ããããã¨ãã»ã¨ãã©ã®ä»åã«ããã£ã¦ãã¦ä½ãã§ãã人ããããããã§ãã æè¦ã®å®ãããã®çç±ã¨ãªã£ã¦ããã®ã§
We're using Capistrano/Webistrano (with Lee Hambley's railsless-deploy gem) to push our PHP application to production servers. I have some custom tasks that get run during various parts of the deploy process. As an example, I have tasks that attempt to stop and restart a jetty solr instance. However, sometimes this bit fails during the deploy, so Capistrano rolls back the entire deploy and reverts
Linuxãµã¼ãã¼ã§ãsambaã大éã®ãã°ãåºåãã¦ãã¼ãã£ã·ã§ã³ããã«ã«ãªã£ã¦ãã¾ããã©ãã«ãçºçãã¾ããã /var/log/samba/ãã£ã¬ã¯ããªã®ãã°ãã¡ã¤ã«ãåé¤ãã¦ããæ¹åãããã«ãã¼ãã£ã·ã§ã³ã¯ãã«ã®ã¾ã¾ãããã¯ãåé¤ãããã¡ã¤ã«ã®ãã¡ã¤ã«ãã£ã¹ã¯ãªãã¿ãsambaããã»ã¹ãopenããã¾ã¾ã ããã§ãããsamba ããã»ã¹ãåèµ·åããã°è¯ãã®ã§ãããsambaãå©ç¨ãã¦ããã¯ã©ã¤ã¢ã³ãã®ã»ãã·ã§ã³ãåãã¦ãã¾ãã¾ãã ããããã¨ãããã¡ã¤ã«ãåé¤ããã®ã§ã¯ãªãããã¡ã¤ã«ãtruncateããã°ããã¾ãããã¾ããä¾ãã°ä»¥ä¸ã®ããã«ãã¾ãã # echo -n > /var/log/log.oswald logrotateã§ããcopytruncateã使ãã¨ãåãããã«ããã»ã¹ãåèµ·åããã«ãã°ããã¼ãã¼ããããã¨ãã§ãã¾ãããã°ãã¡ã¤ã«ãã³ãã¼ãã¦ãããå ã®ãã¡ã¤ã«ãå
ç®æ¬¡ FileAppdender RollingFileAppdender(1.2) DailyRollingFileAppdender(1.2) ExternallyRolledFileAppdender(1.2) RollingFileAppender(1.3) FileAppdender ãã¦ãè¶ éè¦ãª FileAppender ã§ãããååã®éãããã¡ã¤ã«ã«ãã°ãåãåºãã¨ããä¸çªä½¿ãã§ã®å¤§ã㪠Appender ã ããã¡ãã£ã¨å¾ ã£ã¦ããããã¡ã¤ã«ãã©ãæ±ããï¼ãã§ããããï¼ã¤ã°ããæ´¾çã¯ã©ã¹ããããã§ãããè¦ããã«ããã°ãã¼ãã¼ããã®åé¡ã§ããã°ãã¡ã¤ã«ã£ã¦ãã®ã¯ãã©ãã©ããã°ãèç©ããã¦ãã¾ãã«ã¯è¶ 巨大ãã¡ã¤ã«ã«ãªã£ã¦ã馬鹿ãªã¨ãã£ã¿ï¼ãããã¯ã¡ã¢ãªï¼ã¹ã¯ããé åä¸è¶³ï¼ã ã¨éããªããªã....ãããããªããã¨ããããã§ãããã¼ã¯ããã°ãã¼ãã¼ã·ã§ã³ãã¨å¼ã°ããæ©æ§ãããã®ã ãã
Tomcatããã¼ã«ã§éç¨ããè¨å®ã®åºç¤ãç¥ãï¼Tomcatã¯ã©ãã¾ã§âå®å ¨âã«ã§ããã®ãï¼ï¼2ï¼ï¼3/3 ãã¼ã¸ï¼ Tomcat 6ããæ°ããã§ããããã«ãªã£ãè¨å® Tomcatã§ã¯ããã¾ã¾ã§ãã¹ã¬ãããã¼ã«ã«ã¯å¯¾å¿ãã¦ãã¾ããããã³ãã¯ã¿ãã¨ã«ããè¨å®ã§ãã¾ããã§ãããTomcat 6ããã¯ãã»ãã®<Executor>ã¿ã°ã®å®è£ ã«ããã³ã³ãã¼ãã³ãéã§ãã¹ã¬ãããã¼ã«ãå ±æã§ããããã«ãªãã¾ããããã®æ©è½ã«ã¤ãã¦è»½ã説æãã¦ããã¾ãããã ãµã¼ãã¹å ã§ã¹ã¬ãããã¼ã«ãå ±æãã>Executor>ã¿ã° <Executor>ã¿ã°ã¯<Server>ã¿ã°è¦ç´ ã®åã¨ãã¦è¨å®ã§ããããã«ãªã£ã¦ãã¾ãããã®ã¿ã°ãè¨å®ãããã¨ã§1ã¤ã®ãµã¼ãã¹å ã§ã¹ã¬ãããã¼ã«ãå ±æã§ãã¾ãã ãã¦ãããã§ã¯å 容ãç°¡åã«è¦ã¦ã¿ã¾ãããã<Executor>ã¿ã°ã¯æ¨æºã§ä»¥ä¸ã®å±æ§ãè¨å®ã§ãã¾ãã å®è£ ããJavaã®ã¯ã©ã¹
Overview of new features in Apache HTTP Server 2.4 - Apache HTTP Server Expressions http://httpd.apache.org/docs/2.4/en/expr.html ãSetEnvIfExpr, RewriteCond, Headerã§ä½¿ããè©ä¾¡å¼ ã®è¿½å http://httpd.apache.org/docs/2.4/en/mod/core.html#if ããããç°å¢å¤æ°ãåç §ãã¦ç´°ããå¶å¾¡ãã§ããããã«ãªã£ããã¨ã«å ããelseçãªãããã¯ãæ¸ãã®ã«è¦å´ãããã¨ããããã§æå ±ã§ã ErrorLogFormat http://httpd.apache.org/docs/2.4/en/mod/core.html#errorlogformat ErrorLogãæ¸å¼è¨å®ã§ããããã«ã %L (L
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}