{"id":1169,"date":"2019-03-20T08:15:56","date_gmt":"2019-03-19T23:15:56","guid":{"rendered":"https:\/\/manadream.net\/kat_blog\/?p=1169"},"modified":"2021-05-12T22:34:12","modified_gmt":"2021-05-12T13:34:12","slug":"vagrant-file-share-error","status":"publish","type":"post","link":"https:\/\/katblog.manadream.net\/index.php\/2019\/03\/20\/vagrant-file-share-error\/","title":{"rendered":"\u3010Vagrant\u3011\u5171\u6709\u30d5\u30a1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u306e\u5bfe\u51e6\u6cd5\u3010\u7c21\u5358\u3011"},"content":{"rendered":"<p>\u3069\u3046\u3082\u3001\u6b8b\u696d\u7d9a\u304d\u306ekat\u3067\u3059\uff01<\/p>\n<p>\u4eca\u56de\u306f\u3001Vagrant\u69cb\u7bc9\u3067\u8d77\u3053\u308a\u3084\u3059\u3044\u3001<strong>\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u30a8\u30e9\u30fc\u89e3\u6d88\u65b9\u6cd5<\/strong>\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>Vagrant\u306e\u69cb\u7bc9\u65b9\u6cd5\u81ea\u4f53\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u89e3\u8aac\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>https:\/\/katblog.manadream.net\/index.php\/2019\/03\/19\/vagrant-install-hello-world\/<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u306a\u305c\u30a8\u30e9\u30fc\u304c\u8d77\u3053\u308b\u306e\uff1f<\/h2>\n\n\n<p>\u307e\u305a\u306f\u3001\u524d\u7f6e\u304d\u3068\u3057\u3066\u3001Vagrant\u306b\u3064\u3044\u3066\u306e\u304a\u8a71\u306b\u306a\u308a\u307e\u3059\u304c\u3001Vagrant\u3068\u4e00\u8a00\u306b\u8a00\u3063\u3066\u3082\u3001\u69cb\u7bc9\u306b\u306f\u3001<\/p>\n<div class=\"simple-box4\">\n<ul>\n<li>VirtualBox<\/li>\n<li>&nbsp;Vagrant<\/li>\n<li>&nbsp;Vagrant box<\/li>\n<\/ul>\n<\/div>\n<p>\u304c \u6700\u4f4e\u9650\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u305d\u308c\u305e\u308c\u3001Windows\u3084Mac\u306a\u3069\u3001OS\u306b\u3088\u3063\u3066\u3082\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u9055\u3044\u304c\u51fa\u3066\u304d\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u3053\u308c\u3089\u3059\u3079\u3066\u306e\u76f8\u6027\u304c\u5408\u3063\u3066\u59cb\u3081\u3066\u3046\u307e\u304f\u52d5\u4f5c\u3059\u308b<\/strong><\/span>\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001\u5168\u3066\u6700\u65b0\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u4e0a\u624b\u304f\u3044\u304f\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001\u4f8b\u3048\u3070\u3001\u5f8c\u304b\u3089 Vagrant\u3060\u3051\u3092\u6700\u65b0\u7248\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u5834\u5408\u306a\u3069\u306b\u3001<strong><span style=\"color: #ff0000;\">VirtualBox\u3068\u306e\u76f8\u6027\u304c\u5408\u308f\u306a\u304f\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308b<\/span><\/strong>\u306a\u3069\u306f\u3001\u3088\u304f\u3042\u308b\u8a71\u3067\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u306e\u4e00\u3064\u3067\u3001\u30db\u30b9\u30c8OS\u3068\u30b2\u30b9\u30c8OS\u9593\u3067\u306e<strong>\u30d5\u30a9\u30eb\u30c0\u5171\u6709\u6642\u306b\u8d77\u304d\u308b\u30a8\u30e9\u30fc<\/strong>\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u4e8b\u8c61<\/h2>\n\n\n<p>&nbsp;vagrant up\u3057\u305f\u969b\u306b\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nVagrant was unable to mount VirtualBox shared folders. This is usually\nbecause the filesystem &quot;vboxsf&quot; is not available. This filesystem is\nmade available via the VirtualBox Guest Additions and kernel module.\nPlease verify that these guest additions are properly installed in the\nguest. This is not a bug in Vagrant and is usually caused by a faulty\nVagrant box. For context, the command attempted was:\n\nmount -t vboxsf -o uid=1000,gid=1000 var_www_html \/var\/www\/html\n\nThe error output from the command was:\n\nmount: unknown filesystem type 'vboxsf'\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">\u5bfe\u51e6\u65b9\u6cd5<\/h2>\n\n\n<p>\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$ vagrant plugin install vagrant-vbguest\n$ vagrant vbguest\n$ vagrant vbguest --status\n&#x5B;default] GuestAdditions 6.0.0 running --- OK.\n<\/pre><\/div>\n\n<p>\u4e0a\u8a18\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001 Vagrant\u3092\u8d77\u52d5\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n$  vagrant up # \u3059\u3067\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001 vagrant reload\n<\/pre><\/div>\n\n<p>\u6b63\u5e38\u306b\u8d77\u52d5\u3067\u304d\u308c\u3070OK\u3067\u3059\uff01<\/p>\n\n\n<h2 class=\"wp-block-heading\">\u6700\u5f8c\u306b<\/h2>\n\n\n<p>\u3044\u304b\u304c\u3060\u3063\u305f\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>Vagrant\u5468\u308a\u306f\u3001\u30a8\u30e9\u30fc\u304c\u8d77\u304d\u308b\u3053\u3068\u304c\u591a\u3005\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u51fa\u305f\u304b\u3089\u3068\u3044\u3063\u3066\u3001\u6c17\u8efd\u306b\u66f4\u65b0\u3057\u3066\u3057\u307e\u3044\u3001\u305d\u308c\u306b\u3088\u3063\u3066\u8d77\u304d\u305f\u30a8\u30e9\u30fc\u306e\u8abf\u67fb\u306a\u3069\u3067\u4f55\u6642\u9593\u3082\u8cbb\u3084\u3057\u3066\u3057\u307e\u3046<\/strong>\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u691c\u8a0e\u3059\u308b\u5834\u5408\u306f\u3001\u6642\u9593\u306b\u4f59\u88d5\u3092\u6301\u3063\u3066\u884c\u3046\u3088\u3046\u6c17\u3092\u3064\u3051\u307e\u3057\u3087\u3046\u306d\u3002<\/strong><\/span><\/p>\n<p>\u4ee5\u4e0a\u3001\u300cVagrant\u3067\u5171\u6709\u30d5\u30a1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308b\u5834\u5408\u306e\u5bfe\u51e6\u6cd5\u300d\u3067\u3057\u305f\uff5e\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u3001\u6b8b\u696d\u7d9a\u304d\u306ekat\u3067\u3059\uff01 \u4eca\u56de\u306f\u3001Vagrant\u69cb\u7bc9\u3067\u8d77\u3053\u308a\u3084\u3059\u3044\u3001\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u30a8\u30e9\u30fc\u89e3\u6d88\u65b9\u6cd5\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002 Vagrant\u306e\u69cb\u7bc9\u65b9\u6cd5\u81ea\u4f53\u306b\u3064\u3044\u3066\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3067\u306f\u89e3\u8aac\u3057\u3066\u304a\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u4e0b\u8a18\u306e\u8a18<\/p>\n","protected":false},"author":1,"featured_media":4833,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_locale":"ja","_original_post":"https:\/\/manadream.net\/kat_blog\/?p=1169","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[20,5],"tags":[32,60,59,44],"class_list":["post-1169","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vagrant","category-infra","tag-it","tag-linux","tag-vagrant","tag-44","ja"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/katblog.manadream.net\/wp-content\/uploads\/2018\/12\/Vagrant02.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paUgnN-iR","_links":{"self":[{"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/posts\/1169"}],"collection":[{"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/comments?post=1169"}],"version-history":[{"count":19,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/posts\/1169\/revisions"}],"predecessor-version":[{"id":4838,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/posts\/1169\/revisions\/4838"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/media\/4833"}],"wp:attachment":[{"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/media?parent=1169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/categories?post=1169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/katblog.manadream.net\/index.php\/wp-json\/wp\/v2\/tags?post=1169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}