éçºç°å¢ã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã° - ã¯ãã¯ãããéçºè ããã° http://techlife.cookpad.com/entry/2015/10/13/101031 cookpad/chanko - GitHub https://github.com/cookpad/chanko â¦

éçºç°å¢ã®ããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã° - ã¯ãã¯ãããéçºè ããã° http://techlife.cookpad.com/entry/2015/10/13/101031 cookpad/chanko - GitHub https://github.com/cookpad/chanko â¦
ãã®è¨äºã¯ã¯ã¦ãªã¨ã³ã¸ãã¢ã¢ããã³ãã«ã¬ã³ãã¼2015ã®1æ¥ç®ã§ããä»åã¯ãæ¢åã®éç¨ããã¼ã«ä¹ããããDockerã¤ã¡ã¼ã¸ã¸ã®chrootã«ãããããã¤ã®èãæ¹ã¨èªä½ã®ã³ã³ã»ãããã¼ã« droot ãç´¹ä»ãã¾ãã github.com èæ¯ Docker æ¬çªå°å ¥ã®èª²é¡ Docker å°å ¥ã®ç®ç Docker + chroot ã®ã¢ã¤ã㢠droot: Dockerã¤ã¡ã¼ã¸ã«chrootããã³ã³ãããã¼ã« droot ã®ä½¿ãæ¹ droot push: Dockerã¤ã¡ã¼ã¸ãtar ballåãS3ã«pushãã droot pull: S3ã«pushããã¤ã¡ã¼ã¸ããã¦ã³ãã¼ããå±éãã droot run: å±éå ã®ãã£ã¬ã¯ããªã«chrootãã droot ã®å®è£ droot push/pull ã®å®è£ droot run ã®å®è£ ãããã¦èªã¿ãã ãã¨ãã èæ¯ Dockerããªãªã¼
ãã4æ¥éã¨ãããã®ãã¤ã³ã¿ã¼ãããWebãã©ã¼ã©ã ãã¤ã³ã¹ãã¼ã«ãããã¨ãã¦å¤§ãã«æéãç¡é§ã«ãã¾ããã説ææ¸ãã«ã¯30åã§ã»ããã¢ããå¯è½ã¨æ¸ãã¦ãã£ããã§ããã©ãã ã³ã³ãã¥ã¼ã¿ã¯å¾æãªã»ãã ã¨æã£ã¦ããã®ã§ãããä¸ä½ãä½ãæªãã£ãã®ã§ããããï¼ããããããæããã¾ãããã ç§ã®å¥®éè¨ è¾±ããã®ã¯æ¬æã§ã¯ãªãã®ã§è£½ååã¯è¨ããªãã§ããã¾ãããã®è£½åã§ã²ã©ãç®ã«ãã£ãã®ã¯ä»åãåãã¦ã§ã¯ããã¾ãããã製ååä½ã®åé¡ã¨ããããã¯ãã£ã¨å¤§ããªåé¡ã ããã§ãï¼âãã¹ã»ãã¼ã¹ï¼é¦¬ã«ããã£ãï¼âã«é³ãä¼¼ã¦ããã¨ã ãè¨ã£ã¦ããã¾ãããï¼ã 30åã§ã»ããã¢ããå¯è½ã¨èª¬æããã¦ããæ ¹æ ã¯ãDockerã«ããã¤ã³ã¹ãã¼ã«ãæ£å¼ã«ãµãã¼ãããã¦ãã¦ããã以å¤ã®æ段ããªãããã§ããDockerã¯è¼ããããæ°ããã³ã³ãã管çã½ããã¦ã§ã¢ã§ãããã ãã§ãå±éºãªé¦ãããã¾ããç¸äºéç¨å¯è½ãªãã¹ã¯ãããç°å¢å ¨ä½ã
Miiverse ã¨ã¯ä»»å¤©å æ ªå¼ä¼ç¤¾ãéå¶ãã¦ããã¦ã§ããµã¼ãã¹ã§ãããä¸çä¸ã® Wii U ããã³ãã³ãã¼3DSããã㦠PC ãã¹ãã¼ãããã¤ã¹ããå©ç¨ãããã¨ãã§ãã¾ãã AWS ä¸ã§ãã«ããªã¼ã¸ã§ã³æ§æãã¨ã大éã®ãµã¼ããæ±ãã Miiverse ã®ãããã¤ãæ¯ããæè¡ã¨éç¨ä¸ã®å·¥å¤«ãããâ¦
Goã¢ããªã®ãããã¤ã¯ãã¤ããªãã²ã¨ã¤é å¸ãã¦å®äºãªã®ã§ã¨ã¦ã楽ãªã®ã§ããããã¤ããªèªä½ãã©ãã§ç®¡çãããã«ã¤ãã¦ã¯æå¤ã¨é ãæ©ã¾ãããã¨ã«ãªãã¾ãã Goã使ãã«ããã£ã¦ãã³ã¼ãããããã°ãã¨ã¯ãã¤ããªãç°¡åã«é å¸ã§ããç¶æ ã¨ããã®ãæã¾ããã¨æããä»çµã¿ãä½ã£ã¦ã¿ã¾ããã 2015/08/16追è¨: Cargoã¯Rustã®ããã±ã¼ã¸ããã¼ã¸ã£ã¼ã¨ååããã¶ã£ã¦ãã®ã§Torokko(ãããã³)ã«æ¹åãã¾ããï¼ Torokkoã¯Goã¢ããªã®ãã«ãã¨ææç©ãã¦ã³ãã¼ãç¨ã®APIãæä¾ãããã«ããããã·ã§ãã ãªã¯ã¨ã¹ãã®URLã§å¯¾è±¡ãªãã¸ããªãGOOSãGOARCHããã¼ã¸ã§ã³ãæå®ãã¾ãã ãã«ãã¯Dockerã³ã³ãããç¨ãã¦è¡ããããã¯ã¨ã³ãã¹ãã¬ã¼ã¸ã«ææç©ãä¿åããããã«ããªã¯ã¨ã¹ãã¨åãURLã§ãã¦ã³ãã¼ããè¡ããã¨ãã§ãã¾ãã Docker Hub ã® Automated Bui
ä»æ¥ã¯PHP製ã®ãããã¤ãã¼ã«ã®ç´¹ä»ã§ãããããã¤ãã¼ã«ã¨ã¯Capistranoã¿ãããªãã¼ã«ã®ãã¨ã§ããã³ãã³ãä¸çºã§ãããã¤ãå®äºããããã«ãããã¼ã«ã§ãã PHP製ã®ãã¼ã«ãããã¤ãããã¾ãããDeployerã¯é常ã«ã·ã³ãã«ãªãã¼ã«ã§ãæè¿3.0ããªãªã¼ã¹ããã¾ããï¼ææ°çã¯3.0.4ï¼ã https://github.com/deployphp/deployer/releases/tag/v3.0.0 ããã ã¤ã³ã¹ãã¼ã«ãç°¡å å ¬å¼ãµã¤ã http://deployer.org/ ã¸ã¢ã¯ã»ã¹ããdeployer.pharããã¦ã³ãã¼ãããã ãã§ãã å ¬å¼ã«ã¯/usr/local/bin/depã«ã¤ã³ã¹ãã¼ã«ããã¨æ¸ãã¦ããã¾ãããããã¸ã§ã¯ãã®ãã©ã«ãã«çªã£è¾¼ãã§ãåé¡ããã¾ããã ç§ã¯ããã¸ã§ã¯ãã®ã«ã¼ãã«deployã¨ãããã©ã«ããä½æããããã«é¢é£ãããã¡ã¤ã«ãã¾ã¨ããã
def deploy(ip): copy('code/', ip + ':~/code', recursive=True) write_template('conf/config.py', ip + ':~/config.py') write_template('conf/crontab', ip + ':~/.crontab') write_template('conf/crontab', ip + ':/etc/apache2/httpd.conf') run_as_root('service cron restart') run_as_root('service apache restart') post('https://pingdom.com/api/2.0/checks', { 'name':ip, 'host':ip, 'type':'ping' }) ã¿ã¹ã¯ãå®è¡ãããã®ã¨
æè¡é¨ã®é´æ¨ (id:eagletmt) ã§ãã ã¯ãã¯ãããã§ã¯ä¸é¨ã® Web ã¢ããªã±ã¼ã·ã§ã³ãµã¼ã㧠Docker ã使ããã¦ãããä»åã¯ãã®ãããã¤æ¹æ³ã«ã¤ãã¦ç´¹ä»ãã¾ãã Docker 㧠Web ã¢ããªã±ã¼ã·ã§ã³ããããã¤ããã¨ãã«ã¯ãã¾ã ã¾ã ãã¹ããã©ã¯ãã£ã¹ãããç¶æ³ã§ã¯ããã¾ããã ãã¨ãã°ãã©ã®ããã«ç¡åæ¢ã§ãããã¤ããããã©ã®ããã«ã³ã³ããã¨éä¿¡ãããã¨ãã£ãåé¡ãããã¾ãã æåã« Apache Mesos 㨠Marathon ãªã©ã®ãã¼ã«ãæ¤è¨¼ãã¾ããããã¯ãã¯ãããã®ç°å¢ã«ããã¦ä½¿ããããããªãã®ã¯ãªããæçµçã«èªåã§ãããã¤ã®ããã¿ãä½ããã¨ã«ãã¾ããã ããã Docker å¨è¾ºã®ãã¼ã«ã¯æ§ã ãªæ°ãããã®ãåºã¦ãã¦ããæä¸ã§ãã ä»ã¯ã¾ã ãã¹ããªãã®ãç¡ãããã©ããè¿ããã¡ã«ãããããã®ãåºã¦ããããããã¾ããã ãã®ãããã§ããã ãåç´ãªããã¿ã«ãã¦ãã
Serverspecæ¬ã®ç®æ¬ãããã¨ããããã¾ããï¼ã¨ã¦ãé¢ç½ãã£ãã§ãï¼è©³ããæ¸è©ã¯ãã§ã«ç´ æ´ãããè¨äºãããã¤ãããã®ã§ï¼åã¯ç¾ãã¼ã ã§ã©ã®ããã«Serverspecãå°å ¥ãããï¼ã©ã®ããã«ä½¿ã£ã¦ãããã«ã¤ãã¦æ¸ãããã¨æãã¾ãï¼ Serverspecå°å ¥ã®èæ¯ ä»ã®ãã¼ã ã§ã¯ãµã¼ãã¼ã®ã»ãã¢ããããã³ãããã¤ã«Chefã使ã£ã¦ããï¼æ¬ã«ãæ¸ããã¦ããããã«ãã®ãããªæ§æ管çãã¼ã«ã使ã£ã¦ããå ´åã¯ãã®ãã¼ã«ãä¿¡é ¼ããã¹ãã§ããï¼Serverspecã®ãããªãã¹ããã¼ã«ã¯å¿ è¦ãªãï¼åãã®ãã¼ã ããã®ãããªçç±ã§Serverspecã®å°å ¥ã«ã¯è³ã£ã¦ããªãã£ãï¼ ãããã¢ããªã±ã¼ã·ã§ã³ãè¤éã«ãªãChefã®ã¬ã·ããæ··æ²ã¨ããããã«ãªãã¨ããã¯æç«ããªããªãï¼è¦éãã®æªãã¬ã·ãã¯Chefã¸ã®ä¿¡é ¼åº¦ãè½ã¨ãï¼ä¿¡é ¼åº¦ã®ä½ä¸ã¯ãããã¤ä¸ä¿¡ã«ç¹ãã人æï¼çèï¼ã«ãããã¹ããå§ã¾ãï¼ ãµã¼ãã¼ã®æ°ãã
æè¿ãä»äºãã趣å³ãã㧠AWS / OpenStack / GCE ãã®ä»ã®ããããIaaSãªãã©ãããã©ã¼ã ã調æ»ããããããã£ããããã®APIãããã£ããããæ©ä¼ãå¤ãã£ãã ãã®è¾ºã®éç¨ãèãã¦ãã¦è©¦ãããã¨ãã¶ã¤ãã£ããã¨ãªã©ãã¾ã¨ãããã å®éãã£ããã¨ã¨ãã¦ã¯ãç¹å®ã®ãã©ãããã©ã¼ã ã«ä¾åãã¦ãã訳ã§ã¯ãªãããããã¦ãã®äººã¯AWSã®ã¢ã¬ããã¿ãããªã¤ã¡ã¼ã¸ãæã£ãæ¹ãèªã¿é²ããããããããªããã¨æãã ã´ã¼ã«ãã³ã¤ã¡ã¼ã¸ãéã«èµ°ãããã㨠ãã®æã®IaaSã®åºæ¬ã§ãããããµã¼ãã¼ã¯ã¤ã³ã¹ã¿ã³ã¹ã¨å¼ã°ããã¤ã¡ã¼ã¸ãæå®ãã¦èµ·åãããec2 aws run-instanceã¨ãnova bootã¨ããã®é¡ãã§ããã ã¤ã¡ã¼ã¸ããã®èµ·åã®ããã«ã¯éã«ã¯å¤§ãã2è¦ç´ ããã£ã¦ãä¸ã¤ã¯ã¤ã¡ã¼ã¸èªä½ã®æ§ç¯ãããä¸ã¤ã¯èµ·åç´å¾ã®ããããã®ã¤ã³ã¹ã¿ã³ã¹ã®ç¹æ§ã«åãããåæåå¦çã®ãã§ã¼ãºã§ãã
vpsãåãã¦wordpressãè¨ç½®ããã®ã¯ç°¡åã ãããã è¨ç½®ããã ãã ã¨ãã¶ã¤ã³èª¿æ´ãæ¬çªã¾ã¾ã§èª¿æ´ãããããã£ã¦ãããã¯ã¢ããåããªãã¨ãããªãã£ããã¨ããé¢åã«ãªããé¢åãªã¨ããã¯æ©ãã«æ½°ãã¦ããããã®ã§wordpressã®ãããã¤ãwp-deployã§è¨å®ããã wp-deployã®æ©è½ã¨ãã¦ç°¡åã«èª¬æãã㨠capistranoãä½¿ç¨ wordpressã®ã³ã¢é¨åã¯githubã«ããWordPressãªãã¸ããªããã½ã¼ã¹ãæã£ã¦ãã¦è¨ç½®ãã æ¥æ¬èªå¯¾å¿ãããããã«ãã®è¨å®ã¯ç¡ãããã© WordPressã®ã¤ã³ã¹ãã¼ã«é層ã®å¤æ´ã使ã£ã¦ãã http://example.com/wordpress/ã«æ¬ä½ãå ¥ãã¾ãã databaseã®è¨å®ãyml管ç ãã¼ã«ã«ãã¹ãã¼ã¸ã³ã°ãæ¬çªå ±ã« dbã®ããã¯ã¢ãããã³ãã³ãã§å®è¡ã§ãã ç»åãdbã®å 容ããã¼ã«ã«ã«æã£ã¦ãããæ¬çªã«æã£ã¦
Gitã§ãã¼ã¸ã§ã³ç®¡çããã¦ããã¨ãæ¬çªãµã¼ãã«ãããã¤ããéã«ãã¯ã©ã¤ã¢ã³ãã§pushãããã¦æ¬çªãµã¼ãã«ãã°ã¤ã³ãã¦git pullãã£ã¦ããã®ã¯é¢åèãã§ãããããããªä¸æ¯ãªæä½ã¯èªååããã®ãããã°ã©ãã¨ãã¦ã¯å½ç¶ã§ãã GitHubä¸ã®ãªãã¸ããªã§ããããã¤ã®èªååãããã«ã¯WebhookãTravis CIãJenkinsãªã©ã®CIãã¼ã«ã¨ã®é£æºãèãã¾ããé¸æè¢ã¯å¤ã ãããããããã«ã¡ãªããããã¡ãªããã¯ããã¾ãããä»åã¯å¾ã ãFuelPHPã®ã¦ããããã¹ãèªååã¾ã§ãè¦æ®ãã¦ãJenkinsã«ãããããã¤èªååã試ãã¦ã¿ããã¨æãã¾ãã ãµã¼ãæ§æã¤ã¡ã¼ã¸ ä»åãJenkinsãå°å ¥ããã«ããã£ã¦ãå°ç¨ã®EC2ã¤ã³ã¹ã¿ã³ã¹ãç«ã¡ä¸ãã¾ãããã®ã¤ã³ã¹ã¿ã³ã¹ãCIãµã¼ãã¨ãã¦å©ç¨ãã¦ããã¾ãã GitHubãªãã¸ããªã¸ããã·ã¥ãããã¨ããGitHubã¯Jenkinsãµã¼ãã¸éç¥
æè¿éçºã§å©ç¨ãã¦ããããããã¤ããã£ããçµç±ã§è¡ãããã¼ã«ã¤ãã¦èª¬æãã¾ãã è¦ç¹ éçºè ã¯masterãã©ã³ãã§éçºãã éçºè ã¯ãããã¤ãããã¨ãã«Botã«ãé¡ããã Botã¯masterãã©ã³ãããproductionãã©ã³ãã«å¯¾ãã¦Pull Requestãã¤ãã éçºè ã¯Pull Requestã確èªãã¦mergeãã CIã¯productionãã©ã³ããå¤æ´ãããã¨ãµã¼ãã«ãããã¤ãã ChatOps masterãã©ã³ãããproductionãã©ã³ãã«Pull Requestãåºãä½æ¥ã¯é¢åãªã®ã§ããã£ããçµç±ã§è¡ã£ã¦ãã¾ããHerokuä¸ã§åãããRubotyã«ruboty-githubã¨ruboty-aliasã¨ãããã©ã°ã¤ã³ãå ¥ãã¦ãããããã¤ããããã¨çºè¨ããã¨Pull Requestãä½æããããã«è¨å®ãã¦ãã¾ãããã£ããçµç±ã§ç©äºãè¡ãããã«ããã¨ãå¨ç¥ãæè²
â Description Ansibleå®è·µã¬ã¤ã -å ¥éç·¨- http://amzn.asia/ebi7wIz â»ä¸è¨ã®æ¸ç±å 容ã«åºã¥ãã¦ä½æãè¡ã£ã¦ãã¾ãã â Target ã»ããããAnsibleãå¦ã³ããæ¹ ã»Ansibleã¨ã¯ä½ããç¥ãããæ¹ ã»Ansibleã¨ä»ã®æ§æ管çãã¼ã«ã¨ã®éããç¥ãããæ¹
ãã¯ã·ã£ãæä¾ããã¢ããªéçºè åããµã¼ãã¹ãDeployGateããAndroidã¢ããªã絶è³éçºä¸ã®ã¯ã¦ãªããã°ãã¼ã ã§ãéçºããã»ã¹ã«DeployGateãçµã¿è¾¼ãã§ã¿ããã¨ã«ããã¹ãçã®ã¢ããªãç°¡åã»æ軽ã«é å¸ã§ãã¦éçºç¾å ´ã®ç¡é§ãçããã¨ããDeployGateã使ãåæã¯ã©ããªæããªã®ã§ããããï¼ è¨äºã®çµããã«ã¯Android Wearâ¢ãå½ãããã¬ã¼ã³ãã®ãç¥ãããï¼ ï¼â»ãã®è¨äºã¯æ ªå¼ä¼ç¤¾ãã¯ã·ã£ã«ããPRè¨äºã§ãï¼ â DeployGateã§éçºä¸ã®ã¢ããªãæ軽ã«é å¸ DeployGateã¯ã2012å¹´9æã«ã¹ã¿ã¼ããããã¹ãçã¢ããªé ä¿¡ãµã¼ãã¹ã§ããã¹ãã¼ããã©ã³ã¢ããªãæä¾ããéçºè ã»ä¼ç»è ãããã¶ã¤ãã¼ããã¹ã¿ã¼ãªã©ãã¼ã ã®ã¡ã³ãã¼ã«å¯¾ãããã¹ãçã¢ããªããªã¢ã¼ãã§ç°¡åã«é å¸ã§ãã¾ãã â½ DeployGate - An incredibly easy way to
Capistranoã¯ãè¤æ°ã®ãªã¢ã¼ããã·ã³ã§ã¹ã¯ãªãããå®è¡ããããããã¤ãã¼ã«ï¼ç®¡çãã¼ã«ã¨ãã¦ã使ããããï¼ï¼ Chefãã¡ãã£ã¨åå¼·ããã®ã§æ¬¡ã¯ãã£ã¡ããªãã¨ããç¨åº¦ã®ä¸ç´ãã§è©¦ãã¦ã¾ãã ã¾ããä»ã®ä»äºã§å ¨ã使ããªãã§ããããã¼ã«ã®ï¼ã¤ã§ããã çµæ§ããããªãµã¤ããåèã«ãã¾ããï¼éä¸ã§åç §ã«ããã¦ãªããã¤ï¼ http://tech.aainc.co.jp/archives/3773 http://yakinikunotare.boo.jp/orebase2/capistrano https://github.com/capistrano/capistrano å¿ è¦æ¡ä»¶ ã¹ã¯ãªããã®éä¿¡å ã«RubyãCapistranoã®ã¤ã³ã¹ãã¼ã«ãå¿ è¦ã éä¿¡å ãããªã¢ã¼ããã·ã³ã«SSHã§æ¥ç¶ã§ãããã¨ãè¤æ°ã®ãªã¢ã¼ããã·ã³ãããå ´åããã¹ã¦ã®ãã·ã³ã«åãã¦ã¼ã¶/ãã¹ã¯ã¼ãã§æ¥ç¶ã§ããå¿ è¦ã
ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ãèªååãã¹ããªã®ã¯è¨ãã¾ã§ããªããã¨ã§ãã ä¸å¿æåã§ãããã¤ãè¡ãå ´åã®åé¡ç¹ã«ã¤ãã¦æ´çãã¦ããã¨ä»¥ä¸ã«ãªãã¾ãã ããã¸ã§ã¯ãã®æéä¸ããã¦éç¨ã«å ¥ã£ã¦ãããä½åº¦ãæã§ãããã¤ããã¨ãããã¨ã¯ã¨ã¦ã¤ããªãå¤ãã®æéãæä½æ¥ã«è²»ãããã¨ã«ãªããããã¤å ã®ç°å¢ã®æ°ãå¤ããªãã°ãªãã»ã©ä½æ¥ã®æéãå¢ããæä½æ¥ã§ä½æ¥ããã¨ééãããããç¹ã«æé ãè¤éã ã£ããç°å¢ãå¤ãã£ããããã¨ç¢ºçã¯é£èºçã«ããããããããã¤ããã¢ããªã±ã¼ã·ã§ã³ã«åé¡ããã£ã¦ããã«æ»ããªããã°ãªããªãå ´åã«å¤ãã®æéãããããå ´åã«ãã£ã¦ã¯ãã¸ãã¹ä¸ã®æ©ä¼æ失ã«ç¹ããæ¬æ¥ã¯ä¾¡å¤ãçããã£ã¼ãã£ã¼ãå®è£ ãããã¨ã«æéãããããã¯ããããããããã¨ããã£ã¦ããã¨ã©ãã©ãæéããªããªã£ã¦ããã¾ããã¾ãæä½æ¥ã®ãªã¹ã¯ãæ¶è²»ãããæéãæãã¦ãããã¤ã®åæ°ãæ¸ããã¦ãã¾ãã®ã¯ããã¸ãã¹å´ããã¿ãã¨ç´å¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}