[PC1]ç¬èªboxãä½æãã VM 㧠/etc/udev ãç¡å¹åãã ã¾ããããè¡ããªãã¨MACã¢ãã¬ã¹ãåºå®åããã¦ãã¾ããå¥ã®PCã§vagrant upã§ããªããªãã
Intro åãªãæ§ç¯ã¡ã¢ã§ãã chefãã¡ã³ããã¦ããCentOS6.5ã®ã¤ã¡ã¼ã¸ãå ¥ãã¦ã¿ã¾ãã å¿ è¦ãªç© VirtualBox ç°å¢ MacBook Pro Retina, 15-inch, Late 2013 OS X 10.9.5ï¼13F34ï¼ iTerm or Terminal æé 1.Vagrantãã¦ã³ãã¼ã http://www.vagrantup.com/downloads.html ããdmgããã¦ã³ãã¼ãããã¤ã³ã¹ãã¼ã«ã(ç¾æç¹ã§ã¯1.6.5) 2.Vagrantç¨ã®ãã£ã¬ã¯ããªä½ã ä»åã¯ãã¼ã ã«Vagrantãã£ã¬ã¯ããªãä½ããã¨ã«ããã mkdir -p ~/Vagrant 3.boxã¤ã¡ã¼ã¸ããã¦ã³ãã¼ã esã®ããã¯ã¹ã¤ã¡ã¼ã¸ããè½ã¨ããã¨æã£ãã ã¡ã³ããã³ã¹ãé©å½ãããã https://vagrantcloud.com/discover/ ãã
ç°å¢ãªãã¦MAMPã¨XAMPPãããã°å ¨ã¦è§£æ±ºããã ãªãã¦æã£ã¦ããã ããä»ã¾ã§ã¯ã ããããã¤ã§ããã ãããæã®æµãã¯æ©ããã®ã§ããã ä»åã¯VirtualBoxã¨Vagrantã§ç°å¢æ§ç¯ã¨ãããã¨ã§ãã¾ãããããããªããããã¨è¨ãã¨ããããã ã¾ããVirtualBoxãªãã§ãããç¡æã§ä½¿ç¨ã§ããx86ä»®æ³åã½ããã¦ã§ã¢ã»ããã±ã¼ã¸ã®ä¸ã¤ã§ãéçºã¯ãªã©ã¯ã«ãè¡ã£ã¦ãã¾ãã ãã®ä»ã«ãVMã®ç¨®é¡ã¨ãã¦VMware FusionãParallelsçãããã®ã§ããããããã¯æåã¨ãªã£ã¦ããã¾ãã ãªã«ã¯ã¨ããããã¦ã³ãã¼ããè¡ãã¾ãããã 以ä¸ã®URLãããã¦ã³ãã¼ãã§ãã¾ãã®ã§ãã使ãã®ç°å¢ã«åããã¦ãã¦ã³ãã¼ããã¾ãããã ãã¦ã³ãã¼ã https://www.virtualbox.org/wiki/Downloads ãã¦ã³ãã¼ããããæ示ã«å¾ã£ã¦ããããã¤ã³ã¹ãã¼ã«ãã¦ããã¾
Vagrant ã®åºç¤ç¥è Vagrantã¨ã¯ï¼ ãªã Vagrant ãªã®ãï¼ Box 㨠Provider å ±æãã©ã«ãæ©è½ (Synced Folder) ãããã¸ã§ãã³ã° (Provisioning) Windowsã§ã¯ãããVagrant 第1å : Vagrant ãWindowsã«ã¤ã³ã¹ãã¼ã«ããæé 第2å : WindowsçVagrantãå©ç¨ãã¦ä»®æ³ãã·ã¼ã³ãæä½ãã¦ã¿ãã è£è¶³1 : Windowsã§Vargentã使ãå ´åã®ãããã·è¨å® macOS ã§ã¯ããã Vagrant 第ä¸å : Vagrant ã macOS ã«ã¤ã³ã¹ãã¼ã«ããæé 第äºå : Mac OS X çVagrantãå©ç¨ãã¦ä»®æ³ãã·ã¼ã³ãæä½ãã¦ã¿ãã Vagrant ã®åºæ¬æä½ãè¦ããã Vagrant ã® Box ã®åºæ¬æä½(追å ã»æ´æ°ã»åé¤ã»ä¸è¦§)ãè¦ããã è¨å® Vagrantã«ã
ãVagrantãã£ã¦ä½ãï¼ï¼ã»oã»ï¼ï¼Vagrantéçºè Mitchell Hashimotoæ°ã«èãã ä»®æ³ã®éçºç°å¢ä½æãã¼ã«ã¨ãã¦äººæ°ãé«ã¾ã£ã¦ãããVagrantï¼ãã¤ã°ã©ã³ãï¼ãããã®éçºè ã§ããMitchell Hashimotoï¼ãããã§ã«ããã·ã¢ãï¼æ°ãæ¥æ¥ããã¨ã®æ å ±ãèãã2013å¹´7æ12æ¥ãVOYAGE GROUPã§è¡ããããã¼ãã¢ããã«é§ãä»ããã ãVagrantãã¨ã¯ Vagrantã¨ã¯ãéãç°å¢ã«ç§»è¡å¯è½ãªéçºç°å¢ãç°¡åã«æ§ç¯ã»ç®¡çããé å¸ãããã¨ãã§ããéçºç°å¢ä½æãã¼ã«ããã»ãã®æ°è¡æ¸ãã ãã§éçºç¨ã®ä»®æ³ãã·ã³ãæ§ç¯ã§ãããã¨ããåªããã®ã ã Vagrantã®ãã¸ã§ã³ã¯ããéçºè ã¨ã·ã¹ãã 管çè ã«ã¨ã£ã¦æé«ã®ãéçºããã¼ããæä¾ãããã¨ããVagrantããã¦ã³ãã¼ããã¦ãvagrant upãã¨å ¥åããå®è¡ããã ãã§ãããå¯è½ã¨ãªãã ã·ã¹ãã 管ç
Vagrant 便å©ã§ãããWeb ã·ã¹ãã æ§ç¯ã§ã¯ãµã¼ãæ§ç¯ãè¨å®ãä½åº¦ã¨ãªãç¹°ãè¿ãã®ã§ããããã£ããä½ã£ã¦ãå£ãã¦ãå ã«æ»ãããç°å¢ãèªåã® PC ã«ããã¨ããã®ã¯ã¨ã¦ãéå®ãã¾ãã ããã§ã¯ Vagrant1.0 ã使ã£ã¦ãMac OS X ä¸ã« CentOS ãµã¼ããæ§ç¯ãã¾ããã¾ã触ã£ã¦ã¿ã¦ä¾¿å©ã ã£ãæ©è½ãããã¤ããç´¹ä»ãã¾ãã 1. VirtualBox ã®ã¤ã³ã¹ãã¼ã« 2. Vagrant1.0 ã®ã¤ã³ã¹ãã¼ã« 3. box ãã¡ã¤ã«ã®ã¤ã³ã¹ãã¼ã« 4. Vagrantfile ã®ä½æ 5. ä»®æ³ãµã¼ããèµ·å 6. ä»®æ³ãµã¼ããåæ¢ 7. ä»®æ³ãµã¼ããåé¤ 8. ä»®æ³ãµã¼ãã§httpdãµã¼ããæ§ç¯ 9. sahara ãã©ã°ã¤ã³ã§ãä½ã£ã¦ãå£ãã¦ãå ã«æ»ããç°å¢ãæ§ç¯ 10. è¤æ°ã®ä»®æ³ãµã¼ããèµ·å 11. ä»®æ³ãµã¼ãã®ã¨ã¯ã¹ãã¼ã Q. OS X, ruby, gem ã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}