ç±³Twitterã¯10æ22æ¥ï¼ç¾å°æéï¼ãã¢ãã¤ã«éçºè ã«åããåãã¦ã®ã«ã³ãã¡ã¬ã³ã¹ãTwitter Flightãããµã³ãã©ã³ã·ã¹ã³ã§éããã¢ãã¤ã«ã¢ããªéçºãã©ãããã©ã¼ã ãFabricããçºè¡¨ãããéå®³å ±åãåºå管çãªã©ããã¾ã§æä¾ãã¦ããéçºè åããã¼ã«ã«å ããé»è©±çªå·ã¨SMSã§èªè¨¼ã»ãã°ã¤ã³ã§ããæ°æ©è½ãDigitsããæè¼ãããå©ç¨ã¯ç¡æã ã ã¢ãã¤ã«ã¢ããªéçºæã«éè¦ãªï¼1ï¼å®å®æ§ãé«ãããï¼2ï¼å©ç¨è ãå¢ãããï¼3ï¼åçåãï¼4ï¼ã¦ã¼ã¶ã¼èªè¨¼ââã®4ã¤ã®å´é¢ãç¶²ç¾ ããã¨ããéçºããããããã¾ã§æä¾ãã¦ããAPIãOAuthããTwitter Cardsããªã©ã®åãè¾¼ã¿æ©è½ãéå®³å ±åãã¼ã«ãCrashlyticsããåºå管çãã¼ã«ãMoPubããªã©ãä¸å 管çããã¢ããªéçºæã«ä½¿ããæ©è½ãæ°è¡ã®ã³ã¼ãã追å ãããã¨ã§ç°¡åã«çµã¿è¾¼ããã¨ãã§ããã ã¢ã«ã¦ã³ãèªè¨¼ãã¼ã«ã¨ãã¦ã
chefã使ããããªã®ã§ãã®è¾ºç´ æ¯ããã¦ã¿ãã chefã®åã«ã¾ãvagrantã¨virtualboxããããããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã« Boxãã¡ã¤ã«ã®è¿½å $ vagrant box add centos63 https://dl.dropbox.com/u/7225008/Vagrant/CentOS-6.3-x86_64-minimal.box $ vagrant init centos63 $ vagrant box list centos63 (virtualbox) saharaãã©ã°ã¤ã³ã®è¿½å $ vagrant plugin install sahara $ vagrant plugin list sahara (0.0.16) sandbox on $ vagrant sandbox on 0%...10%...20%...30%...40%...50%...60%
2013-09-01Chef-soloã¨Ansibleã¨Fabricã試ãã¦ã¿ãã®ã§ææ³ãã¡ã¢ãã©ãããããªã«æ·±ãã¯ä½¿ãè¾¼ãã§ã¯ããªãã ãã®ã¡ã¢ã¯èªåã®è³å ã®èããæ´çããããã®ãã®ã§ã人ã使ããã¨ã«ã¤ãã¦ã©ãããè¨ãã¤ããã¯ãªãã§ãã Chef-soloæ¸ãã¦ã¿ãcookbookã¯ãã¡ããhnakamur/chef-cookbooks hnakamur/chef-repoã¯ãã¯ããã¯ã¯æé ãæ¸ãã®ã§ã¯ãªãã¦çµæãæ¸ãã¨ããã®ãã©ããæ¬è³ªçã«éãã¨ç§ã¯æã£ã¦ãã¾ããæçã®ã¬ã·ãã ã£ã¦æé ãæ¸ãããæ¸çµæãããããã¹ãã¨ããã®ã¯serverspecãåºæ¥ãä»ã¨ãªã£ã¦ã¯ãã¡ãã«ä»»ãã¦ãã¯ãã¯ããã¯ã¯æ¬æ¥æé ãæ¸ãã¹ããã®ã ã¨æããRubyã®DSLã ãã©çµå±ä¸ããé ã«è©ä¾¡ãããã®ã§ãå®ã¯æç¶ããæ¸ãã¦ãããã¨ã«ãªã£ã¦ãããã§ããã¡ã¤ã«åä½ã§ããåå©ç¨ã§ããªãã®ã§ãä¸é¨ã ã使ãããã¨æã£ã¦ã³ãã
ã´ã¯ãã®å¤§å¹³ã¨ç³ãã¾ããã¯ããã¾ãã¦ã ï¼æããjoinããã¦ããã ãããç¹ã«ç¹è¨äºé ã®ç¡ãå¹³å¡ãªããã°ã©ãã§ãããã ã¾ããã好ãã§ãã SmartNewséçºè ããã°ãã覧ã«ãªãæ¹ã ã¯ããµã¼ãã¹ã®è£å´ã§åä½ããã¯ãã¼ã©ã¼ãå¤ç¨®å¤æ§ãªæ©æ¢°å¦ç¿ã®ãã¸ãã¯ã§ãã£ãããããã³ãã¨ã³ãã®UIã®è©±ã§ãã£ããããµã¼ãã¹åºæã®è©±ã«èå³ãæãæ¹ãå¤ãã¨åãã¾ãããé½åä¸ï¼å稿ã®æ å½é çªã®é½åä¸ï¼ãä»åã¯ä¸è¬çãªè©±ãããã¦ããã ãã¾ãã â»å æ²ã®è©±é¡ã«ã¤ãã¦ã¯æ¬¡å以éåãä¸ãããã¾ãã®ã§ãã楽ãã¿ã«ã ä¸è¬çãªè©±é¡ã¨ã¯ããã大ä¼æ¥ã¨ã¹ã¿ã¼ãã¢ããã§ã¯åãå·»ãç°å¢ã解決ãã¹ã課é¡ãç°ãªã£ã¦ãã¾ãã®ã§ããã®è¾ºããããã¦ãä¼ãåºæ¥ãã°ãªã¨æãã¾ãã ãªããä»åã®ãã¼ãã¯ããµã¼ãã¼/ããã«ã¦ã§ã¢ã®æ§æ管çãã¼ã«ã¨ãã¦æè¿æåã«ãªã£ã¦ãããchefãã¨ãfabricãã§ãã ããªãé·æã®ã¨ã³ããªã¼ã«ãªã£ã¦ãã¾ã
Fabric ã¯ãPython 製ã®ãããã¤ã»ã·ã¹ãã 管çãã¼ã«ã§ãã æè¿ãæ§ç¯ãéç¨ãèªååããããã®æ§ã ãªãã¼ã«ãåºã¦ãã¦ãã¾ãã æ§æ管çãã¼ã«ã® Puppet ã Chef ãæåã§ããã使ãã¾ã§ã«è¦ãããã¨ãå¤ãã®ãæ¬ ç¹ã§ãã ããããFabric ã¯é常ã«ã·ã³ãã«ãªãã¼ã«ã§ãä»ããããã«ä½¿ããã¨ãã§ãã¾ãã Fabric ã¯ãããã¤ã»ã·ã¹ãã 管çãã¼ã«ã§ãé¡ä¼¼ã®ãã¼ã«ã¨ã㦠Ruby 製㮠Capistrano ãããã¾ãã Fabric ã®æ大ã®ç¹é·ã¯ãã·ã§ã«ã¹ã¯ãªãããæ¸ãæ £ãã人ããããªãå©ç¨ã§ããã¨ããã§ãã ã·ã§ã«ã¹ã¯ãªããã¨ãã¦ã¾ã¨ãã¦ããã³ãã³ãããã®ã¾ã¾ run() ã¡ã½ããã sudo() ã¡ã½ããã§å²ãã ãã§ã使ããã¨ãã§ãã¾ãã ã·ã§ã«ã¹ã¯ãªããã使ã£ã¦ãã¦ããã¨ãããã¤ãã®åé¡ã«ééãã¾ãã åå空éã®ç®¡ç å¤æ°ã®æ±ã è¤éãªãã¼ã¿æ§é ããªã(ãããã
ãµã¼ãè¨å®ä½æ¥ã¯é¢åã§ééããç¯ãããããããChef/Puppetãªã©ã®ãã¼ã«ã§èªååãããã¨èãã¦ããæ¹ã¯å¤ãã¨æãã¾ãã ç§ããã®ãããªçç±ããChef(-solo)ãç¿å¾ãããã¨è©¦è¡é¯èª¤ãã¦ãã¾ããã ãã®çµæãããç¨åº¦ã¯åãããã«ãªã£ããã®ã®æ¬¡ã®ãããªåé¡ãããã¨æãã¾ããã å¦ç¿ã«æéãããã ç§ã¯æ£ç´ãä»ã§ãã©ã®ãã¡ã¤ã«ã«ä½ãæ¸ãã®ãããåãã£ã¦ãªãã§ãã å¹¾åãç°¡åã ã¨è¨ãããchef-soloã§ãå ¬å¼ãµã¤ãã®ããã¥ã¡ã³ãã ãã§ã¯ããç解åºæ¥ã¾ããã§ããã ã¾ãããã¼ã¸ã§ã³ã«ããå·®ç°ãªã®ãç®çãç°ãªãã®ãåããã¾ããããããã°è¨äºãåèã«ãããã¨ããã¨å人åè²ã§ã©ããç§ã«åã£ãæé ãªã®ããããã¾ããã§ããã ä¾ãæçµçã«ç解ã§ããã¨ãã¦ããç§ãããªããä½æ¥ãããã¦ç解ã§ããªããã¨ã¯ãã¼ã ã®ã¡ã³ãã¼ãç解ããã®ã¯é£ããã¨æãã¾ãã 対象ãµã¼ãã«ã¤ã³ã¹ãã¼ã«ããå¿ è¦ããã Ch
Fabric 㯠ssh çµç±ã§ãªã¢ã¼ããã´ãã§ã´ãã§ãããã¼ã«ãªã®ã§ããããã¤ãã¼ã«ã¨ãã¦è¦ãããã¡ã§ããã cuisine ãªã©åªçãªæä½ããµãã¼ãããã©ã¤ãã©ãªãçµã¿åãããã°æ軽ãªæ§æ管çãã¼ã«ã«ãªãã¾ãã chef-solo ã«æ¯ã¹ã¦ã¿ã¼ã²ããã¨ãªããã·ã³ã¸ã®ã¤ã³ã¹ãã¼ã«ãä¸è¦ãªã®ã§ vagrant 㨠EC2 ã® Amazon AMI ã§åãããã« home ãã£ã¬ã¯ããªãæ§ç¯ãããããªã¹ã¯ãªãããæ¸ããã¨ãå¯è½ã§ãã ã¾ã fabtools ã使ãã°ãç°¡åã« vagrant ã対象ã«ãããã¨ãã§ãã¾ãã ã¤ã³ã¹ãã¼ã«: $ pip install fabric fabtool cuisine fabfile.py ãä½ãã¾ã (ãµã³ãã«): 使ãæ¹: $ fab vagrant package_upgrade setup_devtools # éçºãã·ã³ã«ãã¤ãã¤ã³ã¹ãã¼ã«ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}