![]() In this case the fstab entry should be:ġ0.1.1.1:/var/exports /mnt/shared nfs rw,auto,rw 0 0 You can also mount the share automatically at boot time. ![]() With this line the user can mount the directory /var/exports from the host owning the IP 10.1.1.1. For example:ġ0.1.1.1:/var/exports /mnt/shared nfs user,noauto,rw 0 0 On the guest, you have to insert the share into the file /etc/fstab. ![]() If you need to add another share or modify an existing share, you can use the exportfs utility.Įxportfs -a # add all folder from /etc/exportsĮxportfs 10.1.1.2:/var/exports # add only given folder for the client with IP You can declare the folders which are to be exported in the file /etc/exports. On the host you must install an NFS server and stat it. This is a more secure way.Ĭonfiguration of NFS is very easy. If your guests are Microsoft products, you must install an NFS driver on them or use CIFS (Windows file sharing) which is implemented by samba on UNIX systems.Īnother way of sharing folders is available on modern Linux systems under Gnome or KDE: you can use SSHFS, which uses the SSH protocol to simulate a file system. NFS has the advantage of being easy to configure and the disadvantage that possibly insecure services are necessary. This allows you to use network file systems as NFS which are available on UNIX systems such as for example Solaris, the various BSD incarnation and Linux. In order to share folders you must use the “Host Interface” networking facility. ![]() This paper is also applicable for the binary version as another way of sharing folders between guest(s) and host. With the OSE version of VirtualBox you will not be able to use the Shared Folder facility offered by the version delivered as binary. Sharing files between guest and host without VirtualBox shared folders ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |