VirtualBox에서 호스트 측 (windows)과 게스트 측 (CentOS7)에서 공유하는 방법
VirtualBox에서 호스트 측 (windows)과 게스트 측 (CentOS7)에서 공유하는 방법
VirtualBoxで
- ホスト(windows)側
- ゲスト(CentOS7)側
で、フォルダーを共有する方法があります。
Guest Additions 설치
# yum update
# yum install gcc make bzip2 kernel-devel

# mount /dev/cdrom /mnt/
mount: /dev/sr0 is write-protected, mounting read-only
# cd /mnt
# ./VBoxLinuxAdditions.run
# shutdown -h now
VirtualBox에서 공유 설정 수행



게스트 측에서 확인
# ls -l /mnt/
合計 0
drwxr-x---. 2 root root 6 9月 1 21:33 home_dir
공유 확인

# ll /mnt/home_dir/
合計 0
-rwxrwx---. 1 root vboxsf 0 9月 1 22:03 test.txt
# touch /mnt/home_dir/test.txt
# ll /mnt/home_dir/
-rw-r--r--. 1 root root 0 9月 1 21:54 /mnt/home_dir/test.txt

참고
Reference
이 문제에 관하여(VirtualBox에서 호스트 측 (windows)과 게스트 측 (CentOS7)에서 공유하는 방법), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/miyuki_samitani/items/eaa230b2e8d3f6d38028텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)