{"id":4165,"date":"2017-03-07T02:54:55","date_gmt":"2017-03-06T17:54:55","guid":{"rendered":"https:\/\/kumapress.com\/wp\/?p=4165"},"modified":"2018-05-04T00:06:31","modified_gmt":"2018-05-03T15:06:31","slug":"vagrant%e3%82%92macos%e3%81%a7%e5%8b%95%e3%81%8b%e3%81%99%ef%bc%81%e3%81%97%e3%81%8b%e3%82%82parallels%e3%81%a7","status":"publish","type":"post","link":"https:\/\/kumapress.com\/?p=4165","title":{"rendered":"Vagrant\u3092MacOS\u3067\u52d5\u304b\u3059\uff01\u3057\u304b\u3082Parallels\u3067(^^;"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">\u304f\u307e\u304b\u3051\u306f\u666e\u6bb5\u306fMac\u3067\u958b\u767a\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067\u3001Linux\u3084Windows\u306e\u3068\u304d\u306fParallels\u4f7f\u3063\u3066\u3001\u8d77\u52d5\u3057\u3066\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4ee5\u524d\u304b\u3089Vagrant\u306f\u8208\u5473\u3092\u6301\u3063\u3066\u305f\u3093\u3067\u3059\u304c\u3001VirtualBox\u3063\u3066\u306e\u304c\u5f15\u3063\u304b\u304b\u3063\u3066\u305f\u3093\u3067\u3059\u3088\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067\u3001\u4eca\u56de\u3001Parallels\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u304c\u3042\u3063\u305f\u306e\u3067\u69cb\u7bc9\u3057\u307e\u3057\u305f(^^)<\/span><\/p>\n<h2>Parallels\u3063\u3066\u306a\u3093\u3067\u3059\u304b\uff1f<\/h2>\n<p><span style=\"font-size: 14pt;\">\u4e00\u5fdc\u3053\u306e\u3042\u305f\u308a\u304b\u3089\u8aac\u660e\u3092\u3002\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4eee\u60f3\u30de\u30b7\u30f3\u3001VM\u3068\u3057\u3066\u306fWindows\u306e\u4e16\u754c\u3067\u306fVMware\u304c\u6709\u540d\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3066\u304b\u3001\u307b\u3068\u3093\u3069\u4e00\u629e\u3067\u3059\u3088\u306d\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u305d\u308c\u3068\u540c\u69d8\u306b\u3001Mac\u3067\u306fParallels\u304c\u6614\u304b\u3089\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4166 size-medium\" src=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/parallels_box-300x300.jpg\" width=\"300\" height=\"300\" srcset=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/parallels_box-300x300.jpg 300w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/parallels_box-150x150.jpg 150w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/parallels_box.jpg 600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\"><a href=\"http:\/\/www.parallels.com\/jp\/\" target=\"_blank\" rel=\"noopener\">\u516c\u5f0f\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089\u3002\u3002\u3002<\/a><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">2017\/03\u73fe\u5728\u3067\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306fVer.12\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3044\u3064\u306e\u9593\u306b\u304b\u8272\u3005\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u3067\u304d\u3066\u3044\u307e\u3059\u304c(^^;<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4eca\u4f7f\u3063\u3066\u3044\u308b\u306e\u306fVer.12 Pro Editsion\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u7d50\u69cb\u4ee5\u524d\u306bVMwareFusion\u3082\u4f7f\u3063\u3066\u307f\u305f\u3093\u3067\u3059\u304c\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5468\u308a\u304c\u306a\u3093\u304b\u3057\u3063\u304f\u308a\u305b\u305a\u3001Parallels\u3092\u4f7f\u3044\u7d9a\u3051\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h2>\u3044\u3088\u3044\u3088\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4167 size-thumbnail\" src=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/286ecc38574674b1fc384ad6f329456d-150x150.png\" width=\"150\" height=\"150\" srcset=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/286ecc38574674b1fc384ad6f329456d-150x150.png 150w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/286ecc38574674b1fc384ad6f329456d-298x300.png 298w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/286ecc38574674b1fc384ad6f329456d.png 301w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">Parallels\u3092Providor\u3068\u3057\u3066Vagrant\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u516c\u5f0f\u30b5\u30a4\u30c8\u3068\u3057\u3066\u306f\u3001<a href=\"http:\/\/parallels.github.io\/vagrant-parallels\/docs\/\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u306b\u8aac\u660e\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/a>(\u82f1\u8a9e\u3067\u3059\u304c(^^;))<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5229\u7528\u3067\u304d\u308b\u306e\u306f<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\">Parallels Desktop 10 for Mac<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Parallels Desktop 11 for Mac &#8211; \u300cPro\u300d\u304a\u3088\u3073\u300cBusiness\u300d\u30a8\u30c7\u30a3\u30b7\u30e7\u30f3\u306e\u307f<\/span><\/li>\n<li><span style=\"font-size: 14pt;\">Parallels Desktop 12 for Mac &#8211; \u300cPro\u300d\u304a\u3088\u3073\u300cBusiness\u300d\u30a8\u30c7\u30a3\u30b7\u30e7\u30f3\u306e\u307f<\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt;\">\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001Standard Edition\u306f\u3069\u3046\u3084\u3089\u30c0\u30e1\u307f\u305f\u3044\u3067\u3059\u3002\u3054\u6ce8\u610f\u4e0b\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001vagrant\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001\u74b0\u5883\u3092\u4f5c\u6210\u3059\u308b\u3063\u3066\u624b\u9806\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4eca\u56de\u306f\u3001vagrant\u81ea\u4f53\u59cb\u3081\u3066\u3060\u3063\u305f\u3053\u3068\u3082\u6709\u308a\u3001<a href=\"http:\/\/qiita.com\/kegamin\/items\/8339049e876ba953e410\" target=\"_blank\" rel=\"noopener\">\u300cVagrant+Parallels\u4e0a\u3067CentOS\u3092\u52d5\u304b\u3059\u300d<\/a>\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/span><\/p>\n<h3>\uff11\uff09vagrant\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p><span style=\"font-size: 14pt;\"><a href=\"https:\/\/www.vagrantup.com\/downloads.html\" target=\"_blank\" rel=\"noopener\">vagrant\u306e\u30b5\u30a4\u30c8<\/a>\u304b\u3089\u3001Mac\u7528\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4168 size-medium\" src=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/599c234fbce22b781cfcfc0a8a999278-300x79.png\" width=\"300\" height=\"79\" srcset=\"https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/599c234fbce22b781cfcfc0a8a999278-300x79.png 300w, https:\/\/kumapress.com\/wp\/wp-content\/uploads\/2017\/03\/599c234fbce22b781cfcfc0a8a999278.png 336w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">\u203b\u4eca\u56de\u306fVer.1.9.2\u3067\u3057\u305f\u3002<\/span><\/p>\n<h3>\uff12\uff09\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p><span style=\"font-size: 14pt;\">$ vagrant plugin install vagrant-parallels<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u203b\u66f4\u65b0\u3059\u308b\u6642\u306f\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n<pre><span style=\"font-size: 14pt;\"><span class=\"nv\">$ <\/span>vagrant plugin update vagrant-parallels<\/span><\/pre>\n<h3>\uff13\uff09Vargrantfile\u3092\u6e96\u5099\u3057\u307e\u3059\u3002<\/h3>\n<p><span style=\"font-size: 14pt;\">\u9069\u5f53\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u3061\u3089\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$mkdir vagrant<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$mkdir centos7.1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$cd centos7.1<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3>\uff14\uff09vagrant\u3092\u8d77\u52d5\u3057\u307e\u3059<\/h3>\n<p><span style=\"font-size: 14pt;\">$vagrant init parallels\/centos-7.1<\/span><\/p>\n<p>A `Vagrantfile` has been placed in this directory. You are now<br \/>\nready to `vagrant up` your first virtual environment! Please read<br \/>\nthe comments in the Vagrantfile as well as documentation on<br \/>\n`vagrantup.com` for more information on using Vagrant.<br \/>\nMacintosh-3:centos7.1 toshisan$ ls<br \/>\nVagrantfile<\/p>\n<p><span style=\"font-size: 14pt;\">$ vagrant up &#8211;provider=parallels<\/span><br \/>\n<span style=\"font-size: 14pt;\">Bringing machine &#8216;default&#8217; up with &#8216;parallels&#8217; provider&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Registering VM image from the base box &#8216;parallels\/centos-7.1&#8217;&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Cloning new virtual machine&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Unregistering the box VM image&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Setting the default configuration for VM&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Checking if box &#8216;parallels\/centos-7.1&#8217; is up to date&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Setting the name of the VM: centos71_default_1488820673878_57976<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Preparing network interfaces based on configuration&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: Adapter 0: shared<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Clearing any previously set network interfaces&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Booting VM&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Waiting for machine to boot. This may take a few minutes&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: SSH address: 10.211.55.39:22<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: SSH username: vagrant<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: SSH auth method: private key<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: Warning: Connection refused. Retrying&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default:<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: Vagrant insecure key detected. Vagrant will automatically replace<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: this with a newly generated keypair for better security.<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default:<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: Inserting generated public key within guest&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: Removing insecure key from the guest if it&#8217;s present&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: Key inserted! Disconnecting and reconnecting using new SSH key&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Machine booted and ready!<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Checking for Parallels Tools installed on the VM&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Parallels Tools installed on this VM are outdated! In most cases<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: this is fine but in rare cases it can cause things such as shared<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: folders to not work properly. If you see shared folder errors,<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: please update Parallels Tools within the virtual machine and<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: reload your VM.<\/span><br \/>\n<span style=\"font-size: 14pt;\">==&gt; default: Mounting shared folders&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: \/vagrant =&gt; \/Users\/toshisan\/vagrant\/centos7.1<\/span><\/p>\n<h3>\uff15\uff09vagrant\u306b\u63a5\u7d9a\u3057\u307e\u3059<\/h3>\n<p><span style=\"font-size: 14pt;\">\u3053\u3053\u3067\u3001vagrant ssh\u3063\u3066\u3084\u308c\u3070os\u3068\u3064\u306a\u304c\u308b\u3093\u3067\u3059\u304c\u3001\u4e0b\u8a18\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Parallels DHCP leases file is not accessible. The Parallels provider<\/span><br \/>\n<span style=\"font-size: 14pt;\">uses it to detect an IP address of virtual machine. This file must be<\/span><br \/>\n<span style=\"font-size: 14pt;\">readable for the user that is running Vagrant.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Parallels DHCP leases file: \/Library\/Preferences\/Parallels\/parallels_dhcp_leases<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3069\u3046\u3084\u3089DHCP\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u8aad\u307f\u8fbc\u3081\u306a\u3044\u3068\u306e\u6a21\u69d8\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$ ls -al \/Library\/Preferences\/Parallels\/parallels_dhcp_leases<\/span><br \/>\n<span style=\"font-size: 14pt;\">-rw&#8212;&#8212;- 1 root admin 2137 3 6 18:42 \/Library\/Preferences\/Parallels\/parallels_dhcp_leases<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3042\u3001\u305d\u308a\u3083\u305d\u3046\u3067\u3059\u3088\u306d\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u5bfe\u51e6\u65b9\u6cd5\u3092\u8abf\u3079\u3066\u307f\u305f\u3093\u3067\u3059\u304c\u3001\u898b\u3064\u3051\u3089\u308c\u305a\u3001\u53d6\u308a\u6562\u3048\u305a\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5bfe\u51e6\u3057\u307e\u3057\u305f(^^;<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$ sudo chmod 644 \/Library\/Preferences\/Parallels\/parallels_dhcp_leases<\/span><br \/>\n<span style=\"font-size: 14pt;\">Password:<\/span><br \/>\n<span style=\"font-size: 14pt;\">$ ls -al \/Library\/Preferences\/Parallels\/parallels_dhcp_leases<\/span><br \/>\n<span style=\"font-size: 14pt;\">-rw-r&#8211;r&#8211; 1 root admin 2137 3 6 18:42 \/Library\/Preferences\/Parallels\/parallels_dhcp_leases<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3053\u306e\u3042\u3068<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">vagrant ssh<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3067\u7121\u4e8b\u63a5\u7d9a\u3067\u304d\u307e\u3057\u305f\u3002\u3084\u308c\u3084\u308c\u3002\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$ vagrant ssh<\/span><br \/>\n<span style=\"font-size: 14pt;\">Last login: Mon Mar 6 16:02:19 2017<\/span><br \/>\n<span style=\"font-size: 14pt;\">[vagrant@centos-7 ~]$<\/span><\/p>\n<h3>\uff16\uff09\u4eee\u60f3\u74b0\u5883\u3068PC\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u671f\u3055\u305b\u308b<\/h3>\n<p><span style=\"font-size: 14pt;\">\u3053\u308c\u304c\u4fbf\u5229\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u4eee\u60f3\u74b0\u5883\u5185\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u5916\u304b\u3089\u7de8\u96c6\u304c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u30fb\u4eee\u60f3\u74b0\u5883<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">[vagrant@centos-7 ~]$ ls -al \/<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">drwxr-xr-x. 1 vagrant nfsnobody 238 3\u6708 6 17:17 vagrant<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">[vagrant@centos-7 ~]$ echo &#8220;hello&#8221; &gt; \/vagrant\/hello.txt<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u30fb\u30db\u30b9\u30c8\u74b0\u5883<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">$ ls -al\u00a0vagrant\/centos7.1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">-rw-rw-r&#8211; 1 hoge hoge \u00a06 3 7 02:23 hello.txt<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\">\u5225\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u6307\u5b9a\u306a\u3093\u304b\u3082\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p><a href=\"http:\/\/qiita.com\/okoi\/items\/8fbf87772217c1b1ffb7\" target=\"_blank\" rel=\"noopener\"><span style=\"font-size: 14pt;\">\u3053\u3061\u3089\u3092\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u3002<\/span><\/a><\/p>\n<h2>\u4eca\u56de\u306e\u6700\u5f8c\u306b\u4e00\u3064\u3002\u3002<\/h2>\n<p><span style=\"font-size: 14pt;\">Parallels Tool\u306e\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u7d44\u307f\u8fbc\u3093\u3060\u3089\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u30aa\u30fc\u30ca\u30fc\u3055\u3093\u304croot\u306b\u306a\u3063\u3061\u3083\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">[vagrant@centos-7 ~]$ ls -al \/<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">drwxr-xr-x. 1 vagrant nfsnobody 272 3\u6708 6 17:44 vagrant<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3053\u308c\u304c\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u3066\u8d77\u52d5\u3055\u305b\u308b\u3068<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">config.vm.provider &#8220;parallels&#8221; do |vb|<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u00a0vb.update_guest_tools = true<\/span><br \/>\n<span style=\"font-size: 14pt;\"> end<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u307e\u305a<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">==&gt; default: Mounting shared folders&#8230;<\/span><br \/>\n<span style=\"font-size: 14pt;\"> default: \/vagrant =&gt; \/Users\/toshisan\/vagrant\/centos7.1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u3066<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">[vagrant@centos-7 ~]$ ls -al \/<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">drwxr-xr-x. 1 root\u00a0root 272 3\u6708 6 17:44 vagrant<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3063\u3066\u306a\u3063\u3066\u3057\u307e\u3046\u3093\u3067\u3059\u3002\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3053\u308c\u3067\u306f\u30c1\u30e7\u30c3\u30c8\u4f7f\u3044\u306b\u304f\u3044\u306e\u3067\u3001\u4eca\u56de\u306fTool\u306e\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u7121<\/span><span style=\"font-size: 14pt;\">\u3057\u306b\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u3055\u3066\u3001\u307e\u3060\u3053\u308c\u304b\u3089\u3067\u3059\u304c\u3001\u30b3\u30b3\u3067\u4e00\u65e6\u7d42\u4e86\u3067\u3059(^^)<\/span><\/p>\n<h2>\u8ffd\u8a18 2018\/05\/03<\/h2>\n<p>\u4e45\u3005\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002\u7d50\u69cb\u30cf\u30de\u308a\u307e\u3057\u305f(^^;<\/p>\n<p>\u30fbVagrant 2.0.4\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3067CentOS7.3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f<\/p>\n<p>$<span style=\"font-size: 14pt;\">vagrant init parallels\/centos-7.3<\/span><\/p>\n<p>Vagrantfile\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>$ vagrant up<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3002\u3002\u3002<\/p>\n<p>Parallels Tool\u304c\u53e4\u3044\u304b\u3082\u3060\u304b\u3089Update\u3057\u3066\u3001VM\u3092\u518d\u8d77\u52d5\u3057\u306a\u3044\u3055\u3088\uff01<\/p>\n<p>\u3063\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3002\u3002<\/p>\n<p>\u3067\u3001Vargrantfile\u306b\u81ea\u52d5\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u8ffd\u52a0\u3002\uff08\u5185\u5bb9\u306f\u4e0a\u8a18\u3092\u53c2\u7167\u3057\u3066\u4e0b\u3055\u3044\uff09<\/p>\n<p>\u3053\u308c\u3067\u4e00\u65e6\u518d\u8d77\u52d5\u3002<\/p>\n<p>$ vagrant reload<\/p>\n<p>\u3053\u3046\u3059\u308b\u3068\u3001\u3069\u3046\u3082\u300cKernel\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u304c\u5fc5\u8981\u3067\u3059\u300d\u3063\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3067\u307e\u3059\u3002<\/p>\n<p>VM\u81ea\u4f53\u306f\u52d5\u3044\u3066\u3044\u308b\u306e\u3067\u3001vagrant ssh\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001yum update\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>[vagrant@centos7 ~]$ sudo yum update<\/p>\n<p>\u305d\u308c\u3068\u3001kernel-develop\u3082\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3089\u3057\u3093\u3067\u3001yum install kernel-deveop\u3057\u3068\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u3067VM\u3092\u518d\u8d77\u52d5\u3059\u308b\u3068\u3001\u8d77\u52d5\u3057\u3066\u3001\u5171\u7528\u30d5\u30a9\u30eb\u30c0\u3082\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<aside class=\"row veu_insertAds after\"><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 2\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"5379270693\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><div class=\"col-md-6\"><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- \u7b2c 1 \u9762 - 1\uff08www.kumapress.com\uff09 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-5987681888830890\"\r\n     data-ad-slot=\"7353370294\"\r\n     data-ad-format=\"auto\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div><\/aside>","protected":false},"excerpt":{"rendered":"<p>MacOS + Parallels + Vagrant\u306e\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u305d\u306e\u4e2d\u3067\u5f15\u3063\u304b\u304b\u3063\u305f\u3053\u3068\u306a\u3093\u304b\u3082\u8a18\u8f09\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"vkexunit_cta_each_option":"","footnotes":""},"categories":[126],"tags":[133,132],"class_list":["post-4165","post","type-post","status-publish","format-standard","hentry","category-blog-memo","tag-parallels","tag-vagrant"],"_links":{"self":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4165"}],"version-history":[{"count":10,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4165\/revisions"}],"predecessor-version":[{"id":4356,"href":"https:\/\/kumapress.com\/index.php?rest_route=\/wp\/v2\/posts\/4165\/revisions\/4356"}],"wp:attachment":[{"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kumapress.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}