With Ubuntu Samba Server
Samba package installed in Ubuntu terminal, enter the command:
sudo apt-get, install samba
sudo apt-get, install smbclient to
Samba server's command to open the Samba service
sudo / etc / init.d / samba start
Close the Samba service
sudo / etc / init.d / samba the stop
Restart the Samba service
sudo / etc / init.d / samba restart
Hey, st0p just erected up to facilitate the virtual machine access my physical hard disk data. So simply add anyone can access can write shared.
sudo gedit / etc / samba / smb.conf
Modify
# Security = user
For
security = share
Add the following is not the end of
[D]
path = / media/sda5
public = yes
writable = yes
[E]
path = / media/sda6
public = yes
writable = yes
[F]
path = / media/sda7
public = yes
writable = yes
[G]
path = / media/sda8
public = yes
writable = yes
[D] for the shared name
path behind the shared path
Save, and then type sudo / etc / init.d / samba restart
Then in a virtual machine by \ \ IP access










































315 Trackback (s)
You must be logged in to post a comment.