Environment:
VirtualBox ubuntu12.04
First of all, if you go to this step, it means that your window and Linux network has been well-equipped, they can ping each other, if not, please see my previous article
Because my Linux connection Way is the external network uses the bridged intranet uses the Only-host, originally this design is in order to fix the intranet IP,Samba service best uses a fixed IP address, This does not need to be remapped every time.
Install the software first:
ubuntu12.04 has installed the Samba server, do not need to install, of course, if you want to reinstall, you can follow the following method (recommended 12.04 before the following method of reinstallation)
Uninstall samba,smbclient, Samba-common All write up, also do not know which installed which did not install
Sudoapt-get Remove Samba-common
Sudoapt-get Remove Smbclient
Sudoapt-get Remove Samba
After the uninstall is clean, you can install the
Sudoapt-get Install Samba Smbfs
After the installation is successful, a configuration file called smb.conf can be set under/etc/samba.
I do not understand this thing, too lazy to study, so directly installed Samclient interface, simple and efficient, wow haha ...
Sudoapt-get Install System-config-samba
Start after loading
Sudosystem-config-samba
Can be found in Ubuntu's system
The access page is set to the current user or root user according to your requirements
Restart Samba when configuration is complete
SUDO/ETC/INIT.D/SMBD restart
At this point, you can go to the window and hang up Linux .
Right-click My Computer- Map Network
The company's Ubuntu suddenly do not go to the net, can only come back to fill, found that insist on writing blog very good, the original salary has been not to go because I did not write blog
Pull away ...
Click Map Network Driver
After this set up will be on your computer more than a disk, you can put the file in or out, note that when the window file is put in, it is possible to indicate that there is no permission, this time you can set the Ubuntu path and its subdirectories are 777
The access page is set to the current user or root user according to your requirements
Restart Samba when configuration is complete
SUDO/ETC/INIT.D/SMBD restart
Under Window
The company's Ubuntu suddenly do not go to the net, can only come back to fill, found that insist on writing blog very good, the original salary has been not to go because I did not write blog
Pull away ...
Click Map Network Driver
After this set up will be on your computer more than a disk, you can put the file in or out, note that when the window file is put in, it is possible to indicate that there is no permission, this time you can set the Ubuntu path and its subdirectories are 777
http://blog.csdn.net/ac_huang/article/details/24269327
Ubuntu 12.04 Simple configuration Samba service for host and virtual machine interoperability (set up Windows virtual Disk)