ãµã¼ã管ç
æè¿è©±é¡ã«ãªã£ã¦ããImmutable Infrastructureï¼ã¤ãã¥ã¼ã¿ãã«ã»ã¤ã³ãã©ã¹ãã©ã¯ãã£/ãµã¼ãï¼ãããã¾ããã解ã£ã¦ããªãã®ã§ãæ´çãã¦ã¿ã¾ããã Immutable Infrastructureã¨ã¯ï¼ ããããImmutable Infrastructureã¨ã¯ãä½ã§ãããï¼æ¥µè«ããã¨ãã稼â¦
æè¿ãã¡ããã¡ããèµ·ããã®ãæ°çï¼ãããã¨ã³ããªã¼ããã¨ã³ããªã¼ãã¯ã¦ãªããã¯ãã¼ã¯å ¥ãããéã«æ³å®ããã«ãã´ãªã¼ã¨éãã¨ããã«å ¥ãã±ã¼ã¹ã§ããç´è¿ã§ã¯ã"Chefãæ¯ããohaiããã©ãããã©ã¼ã ã®æ å ±ãåå¾ããããã®ã©ã¤ãã©ãª"ã¨ããè¨äºãæ¸ãâ¦
å æ¥ã®ãç¥æ¸ãOpsWorks (Chef) ç¹é !ã«åå ï¼ç»å£ãã¦ãã¾ãããæ£ç´ãªã¨ãããEngine Yardã®å®è¤ãããHiganWorks 澤ç»ãããã¯ãªã¨ã¼ã·ã§ã³ã©ã¤ã³ 浦åºããã¨æ¥æ¬ã代表ãããããªChefã®äººãã¡ã®éã§ãç§ã話ããã¦ãè¯ãã®ãæ©ã¿ã¾ãããChefã®èª¬æãæâ¦
AWSçéã§ä»ä¸çªç±ããã¼ãã¯ä½ã§ããããï¼è²ã ããã¾ãããèªååããã®1ã¤ã§ããããããã¦ããã®å®ç¾æ段ã¨ãã¦Chefãåãä¸ãã人ã¯ããªãå¤ãããã¨æãã¾ããä½æ ãä»ãã®åããåºã¦ããã®ã§ããããï¼ AWSç»å ´åã¨ç»å ´å¾ã®ãµã¼ãæ§ç¯ Chefã®ãã¨ãèâ¦
æè¿ã®Chefã®ãã¬ã¤ã¯ã§ããµã¼ãã®æ§ç¯ãèªååã§ã¨ããæ½®æµã«ãªã£ã¦ãã¾ãããããªä¸ã§ãã©ãã©è¦åããããã®ããã¢ããªã®ãªãªã¼ã¹ãChefã§ã¨ããèãæ¹ã§ããç§ã¯å¾®å¦ã«éãã®ã§ã¯ãªãããªãã¨æã£ã¦ããã®ã§ãã¡ãã£ã¨èããæ´çãã¦ã¿ã¾ãããä½µãã¦Capâ¦
Chef Soloã®å ¥éã¨ãã¦ãKnife Soloã¨Amazon EC2ã使ã£ã¦ã®ã»ããã¢ããã®ç·´ç¿ã§ããChefã®åã£ä»ãã«ããã¯ãæåã«è²ã ãªãã¡ã¤ã«ããã©ã«ããç¨æããå¿ è¦ãããã¨ããã ã¨æãã¾ãããããKnife Soloã¯ãã³ãã³ã1ã¤ã§åæè¨å®ãã¦ããã¾ããã¨ãããã¨â¦
ååæ¸ããéããChef使ããVagrantã使ãã¹ãçç±ã¯Saharaã®åå¨ã§ããSaharaã®sandboxã¨ããæ©è½ã¯ããµã¼ãã®ç¶æ ãcommit & rollbackåºæ¥ãã®ã§ããããããRDBã«ããããã©ã³ã¶ã¯ã·ã§ã³æ©è½ã§ããå®ã¯ãã®å®è£ ãVirtualBoxã®ããã©ã«ãã®æ©è½ã®åãªãã©â¦
@naoya_itoããã®å ¥éChef Soloã¨ã¨ãã«ãã«ããã«æ³¨ç®ããã ããVagrantã§ããVagrantã®èªã¿æ¹ã¯ããã¤ã°ã©ã³ããããã§ããæå³ã¯ãç´è¨³ããã¨æµ®æµªè ã§ãããæå³ããã¨ãã¨ã¯å½¢å®¹è©ã®ããã¡ãã¡ã«åããã§ããããã å ã ã¯ãOracleã®ä»®æ³åã½ããã§ããVâ¦
Chefã¨Fabricãã©ã¡ããè¯ããæ©ãã§ãããã¡ã«ãChefãä¸æ°ã«ãã¬ã¤ã¯ãã¦ãã¾ã£ãä»æ¥ãã®é ã§ããã¨è¨ããã¨ã§ãChefãä¸å¿ã«ä»å¾ã®ãµã¼ãæ§ç¯ã»éç¨ã«ã¤ãã¦èãä¸ã§ããããã§ã¾ãåºã¦ããåé¡ããChef Server+Clientã¨Chef Solo + Knife Soloãã©ã¡ãâ¦
å ¥éChef Solo - Infrastructure as Codeãèªã¿ã¾ãããã¢ããªã¨ã³ã¸ãã¢ã ãã§ãªããã¤ã³ãã©ã¨ã³ã¸ãã¢ã§ããã1,000å°è¦æ¨¡ã®ãµã¼ããéç¨ç®¡çãã¦ããçµé¨ã®ããå ã¯ã¦ãªã®ä¼è¤ç´ä¹ããã®èæ¸ã§ãããããªãã¨ãããæ¬æ¸ã§ã¯ä¸è²«ãã¦å®éã®éç¨æã®èª²é¡ãâ¦
ç¥ããªãéã«ãã¬ã³ã¿ã«ãµã¼ãã®ãã£ã¹ã¯å®¹éãå¢ããã®ã§ãè²ã ã¨ã¢ã¸ã¥ã¼ã«ãã¤ã³ã¹ãã¼ã«ä¸ã ãã®ä¸çªã«å ¥ããã®ããperlãä»ã¾ã§5.8.2ã ã£ãã®ã§ãæ¥æ¬èªé¢ä¿ã§è¦å´ãããã¨ãå¤ãã£ãã ã¾ã£ããã«ã5.8.8ãå°å ¥ $wget http://www.cpan.org/src/stableâ¦
Fedora Coreã¯æ» å¤ã«ä½¿ããªãã®ã§ã¡ã¢ã©ã¤ãã©ãªãã©ã®ããã±ã¼ã¸ã«å ¥ã£ã¦ããã調ã¹ã yum provides ã©ã¤ãã©ãªããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã« yum install ã©ã¤ãã©ãª
emergeããåã«/etc/portage/package.useãç·¨é dev-lang/php unicode
å®æçã«WEBãå·¡åãã¦ãã¼ã¿ãåå¾ããããããè¨ç®ããããã°ã©ã ãã¬ã³ã¿ã«ãµã¼ãä¸ã§åããã¦ãããã©ãè² è·ã大ããããã¨æããã¾ããããªãã§ãèªå® ã«ç§»è¡ãããã¨ã«ãã¾ããã èªå® ã§ãµã¤ãéå¶ããå ´åä¸çªããã¯ã«ãªãã®ããDNSã®ç»é²ãValue Domaâ¦
ããã ãã¯ç¥ã£ã¦ãã! vim åå¼·ä¼ http://hatena.g.hatena.ne.jp/hatenatech/20060508/1147073721大å¤åèã«ãªãã¾ãããç©å½¢ç¯å²é¸æã¢ã¼ã Ctrl + v ç¯å²é¸æã¢ã¼ã V ç¯å²ç½®æ ç¯å²é¸æã㦠:s/foo/bar/g âãç©å½¢ãã®èªã¿æ¹ããããããã£ã¦åãã¦ç¥ã£ãâ¦
mod_estraierãçµã¿è¾¼ãã§ãApacheãèµ·åããã¨ã¨ã©ã¼ãåºãããã¨ã©ã¼ã Cannot load /usr/local/apache2/modules/mod_estraier.so into server: libqdbm.so.11: cannot open shared object file: No such file or directory ãåå ã LD_LIBRARY_PATHã®ãâ¦