Manually configure the VirtualBox Linux system with Windows shared files
First, to install the VirtualBox extension tool , this ISO can be found under the Virtual host installation directory.
Copy this file to your Linux host and unzip it to see a list of the files as follows:
Then, execute the vboxlinuxadditions.run file directly in one step
Command:./vboxlinuxadditions.run
Note that it is important to get execute permission, otherwise it will report no permissions error
(You can perform chmod-r 777 vboxguestadditions).
After installing the extension tool successfully, Configure the shared file information
And remember the shared folder name: I'm configuring htdocs here.
Next, you can mount the shared folder to the Linux directory ,
Use command: Mount-t vboxsf htdocs/mnt/shared
This allows the htdocs to be shared to the corresponding/mnt/shared path
Configuring VirtualBox Linux systems to share files with Windows