Skip to content

Instantly share code, notes, and snippets.

@okazbb
Created February 25, 2014 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save okazbb/9207020 to your computer and use it in GitHub Desktop.
Save okazbb/9207020 to your computer and use it in GitHub Desktop.
vagrantのディレクトリをローカルとリンク
sudo rm -rf /var/www/html
sudo ln -fs /vagrant /var/www/html
Vagrantfileには共有権限追加
config.vm.synced_folder "./", "/Vagrant", :owner=>'vagrant', :group=>'apache', :mount_options=>['dmode=777','fmode=777']
@okazbb
Copy link
Author

okazbb commented Feb 25, 2014

共有でエラー出るときはGuest AdditionsのバージョンとVirtualBoxのバージョンに不整合がないかチェック

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment