It is so easy to allow the ubunt Virtual Machine to access the local hard disk. The procedure is as follows:
1. Run the following command to install SSH in Ubuntu:
Sudo apt-Get Install SSH OpenSSH-Server
2. view the Ubuntu IP address in the VM. The command is as follows:
Ifconfig
&
This is the IP address of my ubuntu.
3. install FTP in Windows
I am using filezilla, download address: http://hi.baidu.com/adikebu (that is, the "filezilla" in the "Download Area" on the blog homepage ")
Startup software: 6
This is after my connection is successful. Where,
- HOST: enter your Ubuntu IP address (My address is 192.168.80.130)
- User name: your user name In ubuntu (AMA)
- Password: Your User Password (I won't tell you)
- Port: The default value is 22 In ubuntu (I will not display it after the connection is successful)
Click "quick connection. The figure shows the local site files (files in your hard disk) and remote site files (Ubuntu files in the virtual machine ).
4. file exchange
You only need to drag the file you want to upload back and forth on both sides.
.