Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
æè¿ãVagrant(ãã¤ã°ã©ã³ã)ã使ãå§ãã¦ããã便å©ã ãªãã¨æããã®ã§ãVagrantã«é¢ããè¨äºãè²ã ã¨èªãã§æ´çãã¦ã¿ã¾ãããWindowsç°å¢ã§ã®ã»ããã¢ããæé ãæ¸ãã¦ãã¾ãã (â»Windowsåãã®æé ãæ¸ãã¦ãã¾ãããMacã§ãã»ã¼åæ§ã§ã) 2016-02-29æç¹ã§ã®ææ°ãã¼ã¸ã§ã³ã使ã£ã¦ãã¾ãã Vagrant 1.8.1 VirtualBox 5.0.14 Vagrantã£ã¦ãªã«ï¼ ä»®æ³ãã·ã³ã®ç°¡åãªæ§ç¯ããã©ãã§ãåãç°å¢ãåç¾ã§ããããã«ä»®æ³ãã·ã³ã管çããããã®ã³ãã³ãã©ã¤ã³ãã¼ã«ã§ãã Rubyã§å®è£ ããã¦ãã¦ãWindowsãMac OS XãLinuxã§åä½ãã¾ãã Vagrantèªä½ã«ã¯ä»®æ³åæ©è½ã¯ç¡ããVirtualBoxãªã©ã®ä»®æ³åã½ããã®ããã³ãã¨ã³ãã¨ãã¦æ©è½ããä»®æ³åã½ããã®æä½ãç°¡åãªã³ãã³ãã§ä»£è¡ãã¦ããã¾ãã å ¬å¼ãã¼ã¸ http:
ãè¿½è¨ 2016/06/21ã Docker for Macããªãªã¼ã¹ããã¾ãããããã§VirtualBoxã使ãå¿ è¦ã¯ãªããªã£ãã®ã§ããã®è¨äºã«ããdinghyãå°å ¥ããå¿ è¦ã¯ããã¾ããã OSXã§Dockerã使ãã¨ãã«ã¯ãVirtualBox + Docker Machineã使ãäºãå¤ãã¨æãã¾ããããããVirtualBoxã®å ±æãã©ã«ãæ©è½ã¯åãé ãããããã®ä¸ã§åãDockerãå ±æVolumesã使ãã¨é ããªãã¨ããåé¡ãããã¾ãã Vagrantã®å ´åã«ã¯ãNFSãã¦ã³ãã使ãäºã§æ©ããããã¨ãã§ãã¾ãããDocker Machineã«ã¯ãã®æ©è½ãããã¾ããã ããã§ãOSXã®Docker Machineã®Volumesæ©è½ãNFSã«å ¥ãæ¿ãã¦ãããdinghyã試ãã¦ã¿ã¾ããã codekitchen/dinghy: faster, friendlier Docker
ç§ã®PCã¯Windows7ã¨Ubuntu(14.04ï¼) ã®ãã¥ã¢ã«ãã¼ãç¶æ ã«ããã ã ãå¯è½ã§ããã°ãåæã«ä¸¡OSãèµ·åããWindowsä¸ã§ããã¥ã¡ã³ãã®ä½æãUbuntuã«ããããã°ã©ãã³ã°ãè¡ããããªå½¢æ ãã¨ãããã¨èããã ãã®ããã«ã¯Virtual Boxãªã©ã®ä»®æ³ç°å¢ã使ããã¨ãå¿ è¦ãªã®ã ããããã«ã¯ä¸ã¤æ¸å¿µäºé ãããã GPGPU (General Purpose GPU) ããã°ã©ãã³ã°ç¨ã®CUDAã®ä½¿ç¨ã«é¢ãã¦ã ã CUDAã¯GPUã使ã£ã並åè¨ç®ãå¯è½ã¨ããç¨éã«ãã£ã¦ã¯æ°ç¾åã®è¨ç®é«éåãæããã ããããªãããCUDAããã°ã©ãã³ã°ãè¡ããã¨ã¯ãGPUã¨ãããã¼ãã¦ã§ã¢ãå©ç¨ããã¨ãããã¨ã§ãããä»®æ³ç°å¢ä¸ã§ã¯å®¹æãªãã¨ã§ã¯ç¡ããããã 以ä¸ã®è¨äºã¯ãä¸è¨ã®äºé ãå®è¡ããã失æã«çµãã£ãä¾ã§ããã www.rokudw.net çµæçã«ãPCIãã¹ã¹ã«ã¼ã¨ããæ©
GUEST ADDITIONSã¨ã¯ VirtualBox Guest Additionsã¯ã²ã¹ãOSã«ã¤ã³ã¹ãã¼ã«ãããã¨ã§ããã¹ãOSã¨ã²ã¹ãOSéã®ããç·å¯ãªçµ±åãè¡ããVirtualBoxã®ä½¿ãåæãåä¸ããã¾ãã ä¾ãã°ã ã²ã¹ããã·ã³ã«OSãå ¥ããç´å¾ã§ã¯ããã¹ã¯ãããç»é¢ãã¯ãªãã¯ããã¨ãã¦ã¹ã«ã¼ã½ã«ãã²ã¹ãOSã®ä¸ã«å ¥ã£ã¦ãã¾ããå³Altãã¼ãæ¼ããªãã¨ãã¹ãOSã«ã«ã¼ã½ã«ãæ»ã£ã¦ãã¾ããã ããããã¦ã¹ãã£ããã£ã¼ã¨è¨ãã¾ãã ãã®ã¾ã¾ã§ã¯ä½¿ãåæãæªãã®ã§ããã¹ãOSã¨ã²ã¹ãOSéã§ãã¦ã¹ã«ã¼ã½ã«ãã·ã¼ã ã¬ã¹ã«ç§»åãããããã«ãGuest Additionsãã¤ã³ã¹ãã¼ã«ãã¾ãã ãã®ä»Guest Additionsãã¤ã³ã¹ãã¼ã«ãããã¨ã§æä¾ãããæ©è½ã¯ä»¥ä¸ã®ã¨ããã§ããã ãã¦ã¹ã«ã¼ã½ã«ã®ã·ã¼ã ã¬ã¹ãªç§»å ã·ã¼ã ã¬ã¹ãªã¦ã£ã³ãã¦ãµã¤ãºã®å¤æ´ é«è§£å度ã®ãã¹ã¯ãããç»é¢
VirtualBoxã§Ubuntuã使ç¨ãã¦ãã¦GuestAdditionsãç¡å¹ã«ãªã£ãã¨ãåã¤ã³ã¹ãã¼ã«ã§æ¥½ããããã [ããããã¨ã»ãããããã¨ã»ç®æ¨]VirtualBoxã§Ubuntuã使ç¨ãã¦ãã¦GuestAdditionsãç¡å¹ã«ãªã£ãã¨ãåã¤ã³ã¹ãã¼ã«ã§æ¥½ããããã [ç°å¢]Ubuntu Lucid Lynx 10.04 on VirtualBox 3.2.8 [ç¶æ³]VirutalBoxä¸ã«Ubuntuãã¤ã³ã¹ãã¼ã«ãããã©ãã«ã¼ãã«ã®ã¢ãããã¼ãããããã¨GuestAdditions ãç¡å¹ã«ãªãã ãã¡ãã¡ãã¦ã³ããã¦ã¢ã¸ã¥ã¼ã«ã®ã¤ã³ã¹ãã¼ã«ãããã®ããã«ã¤ã Ubuntuãã¢ãããã¼ããããCompizã使ããªããªã£ãã Ubuntuãã¢ãããã¼ããããè¦è¦å¹æãå¹æãªãã«ãªã£ãã [対å¦æ¹æ³ãï¼ã¤ãã£ãã] (01) ã«ã¼ãã«ã®ã¢ãããã¼ãããããã¨GuestAdd
(ä¸æºå) 端æ«ããå®è¡ sudo apt-get update sudo apt-get install linux-headers-generic build-essential i386çã¯linux-headers-genericã®ä»£ããã«linux-headers-generic-paeãã¤ã³ã¹ãã¼ã«ããã <端æ«ããã®Guest Additionsã®ã¤ã³ã¹ãã¼ã«> 端æ«ããå®è¡ cd (Guest Additionsã®å ´æ) sudo sh autorun.sh ãªã¼ãã©ã³ãå®è¡ã§ããªãå ´å 端æ«ããå®è¡ cd (Guest Additionsã®å ´æ) sudo sh VBoxLinuxAdditions.run Guest Additionsã®å ´æã¯VirtualBoxã®ãã¼ã¸ã§ã³ã«ãã£ã¦ãã£ã¬ã¯ããªåãç°ãªãã®ã§æ³¨æã ã¾ããGuest Additionsã®ãã¡ã¤ã«åãå¤æ´
Ubuntuãã¤ã³ã¹ãã¼ã«ããããGuest Additionsãã²ã¹ãOSã«ã¤ã³ã¹ãã¼ã«ãã¾ãã Guest Additionsãã¤ã³ã¹ãã¼ã«ãããã¨ã§ã åçãªè§£å度ã®å¤æ´ãã·ã¼ã ã¬ã¹ãªãã¦ã¹ã®ç§»åãªã©ä½¿ãåæãå¢ãã¾ãã äºåã«ã¢ãããã¼ãããã¼ã¸ã£ã¼ãèµ·åãã¦ãUbuntuãææ°ã®ç¶æ ã«ãã¾ãã ã²ã¹ãOSã ãã§ãªãããã¹ãOSãææ°ã®ç¶æ ã«ãã¦ããã¨ããã§ãããã ã¾ããã¢ãããã¼ãã§ã·ã¹ãã é¢ä¿ï¼ç¹ã«Linuxã«ã¼ãã«ï¼ãã¢ãããã¼ããããå ´åã¯ã PCãVirtualBoxã®ã²ã¹ãOSãåèµ·åãã¦ããä½æ¥ãè¡ãã¾ãã äºåæºå ããããã²ã¹ãOSã§ä½æ¥ãã¾ãã 1.Generic Linux kernel headersã®ã¤ã³ã¹ãã¼ã« Ubuntuã½ããã¦ã§ã¢ã»ã³ã¿ã¼ãããlinux-headers-genericãã§æ¤ç´¢ãã¾ãã 注æï¼ Ubuntu 12.04 32bit
VirtualBox ã®Ubuntuèµ·åç´å¾ãããã¤ã¢ãã°ãåºç¾ã VBoxClient: the VirtualBox kernel service is not running. Exiting.åèURLï¼http://qiita.com/Ikumi/items/07a7a4f56b0c13c7213c Guest Additionsã®å ¥ããªããã°è§£æ±ºããã¿ããã Guest Additionsã®ã¤ã³ã¹ãã¼ã«ã¯ãã¡ãâ http://d.hatena.ne.jp/namtcerid/20140619/1403159757
çµæã¯æå¾ã« VBoxClient: the VirtualBox kernel service is not running. Exiting. ã¨ããOSDãã§ãããã«ãªãã¾ããã ä½æ ãåããã¾ããã èããããã®ã¯VirtualBox-5.0ãã¤ã³ã¹ãã¼ã«ãããã¨ã«ããä¸å ·åã VBoxClient: the VirtualBox kernel service is not running. Exiting. - Qiita ä¸ã®ãã¼ã¸ã§ã¯ãGuest Additionsãå ¥ããªããã¦ãã¾ããããç§ã®ç°å¢ã§ã¯ãã¾ãããã¾ããã§ããã dmesgã«ã¯ä»¥ä¸ã®ãããªã¨ã©ã¼(?)ãããã¾ããã systemd-sysv-generator[24123]: Overwriting existing symlink /run/systemd/generator.late/vboxdrv.ser
ä»®æ³ãã£ã¹ã¯(VDI)ã®ãã£ã¹ã¯ã»ãµã¤ãºãæ¡å¤§ããã«ã¯ä»¥ä¸ã®æ¡ä»¶ãå¿ è¦ã§ãã ãã¡ã¤ã«å½¢å¼ãVDI ã¾ã㯠VHD ä»®æ³ãã£ã¹ã¯ãå¯å¤ãµã¤ãº ãã¡ã¤ã«å½¢å¼ãæ¡ä»¶ã«åããªãå ´åãã¾ãã¯ä»®æ³ãã£ã¹ã¯ãåºå®ãµã¤ãº (Fixed-size storage) ã®å ´åã¯ãä¸æ¦å¥ãã¡ã¤ã«ã¸ã³ãã¼ãã¾ãã 1. ã¡ãã¥ã¼ã®[ãã¡ã¤ã«(F)] -> [ä»®æ³ã¡ãã£ã¢ããã¼ã¸ã£ã¼(V)...] ã§ä»®æ³ã¡ãã£ã¢ããã¼ã¸ã£ã¼ãèµ·åããã 2. 該å½ããä»®æ³ãã£ã¹ã¯ããã¦ã¹ã§é¸æããå³ã¯ãªãã¯ãã¾ãã ãããã¢ããã¡ãã¥ã¼ã表示ãããã®ã§ããã³ãã¼(C)...ããé¸æãã¾ãã 3. ã³ãã¼å ã®ä»®æ³ãã£ã¹ã¯ã表示ããã¾ãã ã次ã¸(N)ããã¿ã³ããã¦ã¹ã§ã¯ãªãã¯ãã¾ãã 4. ãVDI (VirtualBox Disk Image )ããé¸æãã¦ãã次ã¸(N)ããã¿ã³ããã¦ã¹ã§ã¯ãªãã¯ãã¾ãã 5. ãå¯å¤ãµã¤ãº(D)
è¿æã® Joshin ã§æ°ãããã¸ã«ã¡ç¨ã®ã±ã¼ã¹ãè²·ãã¾ããã (ã¡ã¼ã«ã¼ç´æ£ã¯é«ãã®ã§ ELECOM ã®ãã¤ãã) ãµã³ã¯ãµãã©ã¤ã®ã¹ãã©ããã欲ããã£ãã®ã§ãããå¸æã®ãã®ã¯å£²ã£ã¦ãã¾ããã§ããã ---------- çªç¶ã§ããããããªè¡¨ç¤ºãåºã¾ããã (ãã£ã¹ã¯ã®ç©ºããï¼GBãåã£ã¦ãã(706.7MB)ãªãã¦ï¼ï¼ï¼) Ubuntu ã«ä½¿ç¨ãã¦ãã VirtualBox ã®ä»®æ³ãã£ã¹ã¯ã®å®¹éãã20GBãã«ãã¦ããã®ã§ãããããã®ç©ºãããããªãã¨ã ããã¯ããã¾ãããæ©æ¥ã«å¯¾çãå¿ è¦ã§ãã æåã«èããã®ã¯ãä»®æ³ãã£ã¹ã¯ã®ãµã¤ãºããã£ã¨å¤§ãããããã ããããã®æ¹æ³ã web ã§èª¿ã¹ãã¨ããããã£ã¹ã¯ã®ãã¼ãã£ã·ã§ã³ãããã£ããããå¿ è¦ããã£ã¦ãçµæ§é¢åãããªãã§ãããã (Gpartedã¨ã使ãããã£ã¦ã¿ããæ¹ã¯æ¬¡åç §ï¼VirtualBox ã®ä»®æ³ãã¼ããã£ã¹ã¯ã®å®¹éãå¢ããæ¹æ³
$ df ãã¡ã¤ã«ã·ã¹ 1K-ãããã¯ ä½¿ç¨ ä½¿ç¨å¯ 使ç¨% ãã¦ã³ãä½ç½® /dev/mapper/centos-root 1361920 1306184 55736 96% / devtmpfs 242508 0 242508 0% /dev tmpfs 251028 0 251028 0% /dev/shm tmpfs 251028 4408 246620 2% /run tmpfs 251028 0 251028 0% /sys/fs/cgroup /dev/sda1 508588 136960 371628 27% /boot ãªã«ãèãããã¨ããããä»®æ³HDDããã2GB追å ãã¦ã«ã¼ããã¹ /ãæ¡å¼µãã¦ã¿ã¾ãã #VirtualBoxã§æ°ããä»®æ³HDDã追å 追å ããVMã®ã¹ãã¬ã¼ã¸è¨å®ç»é¢ãéãã¾ãã ãã³ã³ããã¼ã©ã¼ï¼ SATAããé¸æããã¨ã®å³ã®ã»ãã«HDD追å ãã¿ã³ ãã§
å æ¥ãVirtualBoxã§èµ·åãã¦ããUbuntuãã¢ããã°ã¬ã¼ããããã¨ãããããã£ã¹ã¯å®¹éãä¸è¶³ãã¦ãã¦ã¢ããã°ã¬ã¼ãã§ãã¾ããã§ããã ããã§ãVirtualBoxã®ä»®æ³ãã¼ããã£ã¹ã¯ã®å®¹éãå¢ããäºã«ãã¾ããã è¡ã£ãã®ã¯VirtualBox 4.0.4ã§ãHost OS: Windows VistaãGuest OS: Ubuntu 11.04 alpha2ã§ãã ã¡ãã£ã¨é¢åã§ããããã¨ãGpartedã使ãã¾ããããã¡ãã®èª¬æã¯çç¥ãã¦ãã¾ãããã¨ãããæ¹ã®ä¸ã«åºã¦ããswap,mount(ãã¦ã³ã),fstab,UUIDãªã©ã®è©³ãã説æã¯è¨è¿°ãã¦ãã¾ããããã ããããã«é¢ãã¦ããç¨åº¦ç¥èãç¿å¾ããä¸ã§è¡ãããæ¹ãè¯ãã¨æãã¾ãã â»â»ã注æãâ»â» ãã¼ãã£ã·ã§ã³ãå¤æ´ããã®ã§ãè¡ãéã¯ããã¯ã¢ãããåããªã©ãã¦åå注æãã¦è¡ã£ã¦ãã ããã ããæ¹ã¯ãçµæ§é·ãã®ã§ç¥ãããæ¹
VirtualBoxã¯ã¨ã¦ã便å©ãªãã§ãããUSBã¡ã¢ãªãªãããã²ã¹ãOSã«èªèãããã®ãå²ã¨è¦æã§ãããããã£ã¨èªèã§ããªãã¨ãã®è¦æ¸ãæ®ãã¦ããã¾ãã ã¡ãªã¿ã«è©³ãããã¨ã¯ããããã£ã¦ãªãã§ãã ãã¹ãå´ã§ãã©ã¤ãããªãUSBæ©å¨ã§ãã²ã¹ãå´ã§èªèããããã¨ããã³ãã¯ã§ããã®ã§èª¿æ´ãã¾ãããã ãããã¨ã¯ãã§ãã¯ãã¤ã³ãã¯3ã¤ã§ãã Extension Packãããã¨ãï¼ vboxusersã°ã«ã¼ãã«è¿½å ãã¦ããï¼(linux) USBããã¤ã¹ãã£ã«ã¿ã¼ã«è¿½å ãã¦ããï¼ æºå Extension Packãã¤ã³ã¹ãã¼ã«ãã¦ããã¾ãããã https://www.virtualbox.org/wiki/Downloads USB2.0ãªããã使ããããã«ãªãã¿ããã§ãã Linuxã§USBæ©å¨ã®ä¸è¦§ãã§ãªã USBæ©å¨ã®ä¸è¦§ãã§ãªãã¨ãã¯ãvirtualboxãèµ·åããã¦ã¼ã¶ãvbox
VirtualBoxã§ãã¹ãOSã¨ã²ã¹ãOSéã§ãã©ã«ãã¼ãå ±æããæ¹æ³ãç´¹ä»ãã¾ãã ããã¹ãã§ç·¨éãããã¡ã¤ã«ãã²ã¹ãã§ãé²è¦§ã»ç·¨éãããï¼ãããããã§ãããVirtualBoxã«ã¯ããã¹ãã¨ã²ã¹ãéã§ãã©ã«ãã¼ãå ±æããæ©è½ãä»ãã¦ããã®ã§ãã¯ãªãã¯ã®ã¿ã§ç°¡åã«è¨å®ãããã¨ãã§ãã¾ãã ãã¹ãã¨ã²ã¹ãéã§ãã©ã«ãã¼ãå ±æããã«ã¯ãGuest Additionsããå¿ è¦ã§ããã¤ã³ã¹ãã¼ã«ãã¦ããªãæ¹ã¯ãã¡ããåèã«ã¤ã³ã¹ãã¼ã«ãã¾ãããã Guest Additions ã®ã¤ã³ã¹ãã¼ã« ããã§ã¯ãå®éã«ãã©ã«ãã¼ãå ±æããæ¹æ³ãã¿ã¦ããã¾ãããã ããã§ã¯ãã¹ãOSã«ãMacããã²ã¹ãOSã«ãWindows8ãã¨ããç°å¢ã§ã®ãã©ã«ãã¼å ±ææ¹æ³ã解説ãã¾ãã ã¾ãããã¹ãOSã«å ±æãã©ã«ãã¼ãä½æãã¾ãï¼ããã§ã¯ãVM-Shareï¼ã /Users/ã¦ã¼ã¶ã¼å/VirtualBox VM
æ¯å©ã§ãã èªå® ã§ã¯VirtualBoxã¨ã²ã¹ãOSãã¤ã³ã¹ãã¼ã«ããã ãã§ç¹ãã£ã¡ããã®ããä¼ç¤¾ã ã¨ãã¾ããããªãã®ã§ã¡ã¢ã åãã£ã¦ãã¾ãã°ããã¼ ããããããããªãã ãã©ã ãããã¯ã¼ã¯ã¯ãã¾ãèªåã§ãããªãããè¦æã â¦ã ããããã㨠ãã¹ãOSï¼Windowsï¼ããã²ã¹ãOSï¼Linux(ubuntu)ï¼ã¸sshæ¥ç¶ï¼sshã¯ã©ã¤ã¢ã³ãã¯puttyï¼ ã²ã¹ãOSï¼Linux(ubuntu 12.04)ï¼ã®ããã±ã¼ã¸ç®¡çï¼ã¤ã³ã¿ã¼ãããã¸ã®æ¥ç¶ãå¿ è¦ï¼ çç¶ ãã¹ãOSããã²ã¹ãOS(ifconfig ã§è¡¨ç¤ºãããIP)ã¸sshæ¥ç¶ãããã¨ãã¦ãåºæ¥ãªã ã²ã¹ãOS㧠"apt-get" ã失æããï¼ã¨ããããã¤ã³ã¿ã¼ãããã«æ¥ç¶ã§ããªãï¼ www.yahoo.co.jpçã«pingé£ã°ãªã ç¹ã«è¨å®ãããããããªãããã²ã¹ãOSã¤ã³ã¹ãã¼ã«å¾ãVirtualBoxã®ãããã¯ã¼ã¯ã¢
VirtualBox ã«ããã¦ãã²ã¹ãOSã®è§£å度ã®èª¿æ´ããããã 以ä¸ã®æ¹æ³ã試ããããVirtualBoxã®ã¡ãã¥ã¼ãããDevicesãâãInstall Guest Addsinionsããã¯ãªãã¯ãã¾ãããã®æç¹ã§ãããã¦ã³ãã§ãã¾ããï¼could not mount mediaï¼ãã¨ã¨ã©ã¼ãåºã¦ãã¾ãã http://pc-karuma.net/mac-virtualbox-fullscreen-mode/ 解決æ¹æ³ã¯ä»¥ä¸ã®éãã ã²ã¹ãOSãã·ã£ãããã¦ã³ãVirtual Box ããã¼ã¸ã£ã®ãè¨å®ãâãã¹ãã¬ã¼ã¸ããéããå³å´ããã«ã®ãã³ã³ããã¼ã©ï¼IDEãâãVBoxGuestAdditions.isoããé¸æãããã«å³ããã«ã®ãå±æ§ãâãCD/DVDãã©ã¤ããã®å³å´ã«ãããã¿ã³ãæ¼ãããããããã¦ã³è¡¨ç¤ºã®ä¸ãããä»®æ³ãã©ã¤ããããã£ã¹ã¯ãé¤å»ããã¯ãªãã¯ãã²ã¹ãOSãå
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}