ã²ã¹ãOSä¸ã§éçºãã¦ããWebã¢ããªã«ãã¹ãã¼ããã©ã³ãªã©ã®å¤é¨æ©å¨ãã æ¥ç¶ããåä½ç¢ºèªããããã¨ããããã¨æãã¾ãã VirtualBoxã使ç¨ãã¦ããå ´å ã»ãããã¯ã¼ã¯ã¢ããã¿ã«ããªãã¸ã¢ããã¿ã使ç¨ããã²ã¹ãOSã«åºæã®IPãæ¯ãã å¤é¨æ©å¨ããã¯ã²ã¹ãOSã«ãåºæã®IPã§æå®ãã¦æ¥ç¶ããã ã»ãããã¯ã¼ã¯ã¢ããã¿ã«NATã使ç¨ãããã¼ããã©ã¯ã¼ãã£ã³ã°ã§ã²ã¹ãOSã«æ¥ç¶ããã å¤é¨æ©å¨ããã¯ãã¹ãOSã®IPãæå®ãã¦æ¥ç¶ãããã®æ¥ç¶ãã²ã¹ãOSã«ãã©ã¯ã¼ãããã ãã®ããããããã¯ã¼ã¯å ã®IPã¢ãã¬ã¹ãå¢ããå¿ è¦ããªãã ã®2éãããã¾ãããä»åã¯æ軽ãªNATã使ç¨ããæé ã«ã¤ãã¦èª¬æãããã¨æãã¾ãã 以ä¸ãæé ã§ãã ãã¹ãOSã¯Windows7ãã²ã¹ãOSã¯CentOSã§ãã 1.ãããã¯ã¼ã¯ã¢ããã¿ã®è¨å®ãç¢ºèª VirtualBox ããã¼ã¸ã£ã¼ä¸ã§ä»®æ³ãã·ã³ãé¸æã
VirutalBoxã®ã²ã¹ãOSã¨ãã¦CentOSã®ä»®æ³ãã·ã³ãä½æããã®ã§ããããã¹ãOSã§ããWindowsã¨ã®éã§pingãéããªãåé¡ã«ééãã¾ãããçã®åå ã¯å¤ããªãã®ã§ãããã²ã¹ãOSã§NATã¨ããªãã¸ã®è£ åé ãå¤ãã¦ãããã¡ã«è§£æ±ºãã¾ããã ãããªåé¡ã¯ç§ã ãããããã¾ãããã念ã®ããè¨ãã¦ããã¾ãã ç°å¢ VirtualBox 4.3.30/5.0.4 Windows 7ï¼ãã¹ãOSï¼ CentOS 6.6ï¼ã²ã¹ãOS) Windowsã®ãããã¯ã¼ã¯æ§æ ãã¼ã«ã«ã¨ãªã¢æ¥ç¶ï¼Realtek PCIe GBE Family Controllerï¼ ãã¼ã«ã«ã¨ãªã¢æ¥ç¶ï¼ï¼ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapterï¼ VirtualBox Host-Only Ethernet Adapterï¼#1,#2,#3ï¼ Linuxã®ã
ç®ç Vagrant ã使ç¨ãã¦ä»®æ³ãã·ã³ãä½æãã¦ã¿ã åä½ã¯ Mac ä¸ã§ç¢ºèª vagrant ã¤ã³ã¹ãã¼ã« http://www.vagrantup.com/ ãã¦ã³ãã¼ããã使ç¨ãã¦ãã OS ã®ã¤ã³ã¹ãã¼ã©ãåå¾ããã¤ã³ã¹ãã¼ã«ãã(ä»å㯠Mac) ä»®æ³ãã·ã³ãä½æãããã¼ã«ãå¿ è¦ãªã®ã§ VirtualBox ãã¤ã³ã¹ãã¼ã«ãã https://www.virtualbox.org/ ãã¼ã¸ã§ã³ç¢ºèª ã¿ã¼ããã«ãéããä¸è¨ã³ãã³ããå ¥å
ã¿ãªãã¾ãã¯ããã¾ãã¦ã @keiichiroy ã㨠山æ¬æ ¶ä¸éã¨ç³ãã¾ãã Qiitaåæ稿ã§ããæ¥é ãããä¸è©±ã«ãªã£ã¦ããã®ã§ãããã£ããã¨ã調ã¹ããã¨ã誰ãã®å½¹ã«ç«ã¦ããããæ¸ãã¦ããããã¨æãã¾ãã æè¿èªå® ãä¼ç¤¾ã§VagrantãPackerã使ã£ã¦Virtualboxã«è§¦ãããã¨ãå¤ãã®ã§ãããéãç°å¢ã§å®è¡ããã¨ãæãã¬ã¨ã©ã¼ã«ã¶ã¤ãããªãã¦ãã¨ãããã¾ãããï¼ ã¯ããèªåãä¾å¤ã«æ¼ãããã§ãã 表é¡ã®çç¶ã¯ãåå ããæ¸ãã¨ããã¼ãã¦ã§ã¢ä»®æ³å(VT-x)ã®ãµãã¼ãããªãCPUç°å¢ã§VT-xã使ããã¨ãã¦ãããããã§ããæåã«ããã¨å½ããåãªã®ã§ãããPackerããVeeweeãªã©ãéæ¥çã«VirtualBoxãæ±ã£ã¦ãããããæ°ä»ãã®ãé ãã¾ãã...orz ä»®æ³ãã·ã³ã®æ§æãã¡ã¤ã«ãç´ãããã¦ãããã©ã«ãã®ãã°åºåãä¸è¨ã®ãããªç¶æ ã§ããã°ããã®çç¶ã«è©²å½ããã¨æãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}