Monday, October 5, 2015

Share folder between Windows 8.1 and Ubuntu 14.04 via samba

This topic shows the way how to share a folder from guest Ubuntu 14.04 of VMware to Windows 8.1 (other version also) while shared folder functions of VMware getting problems.

Step 1: Update Ubuntu 14.04

sudo apt-get update

Step 2: Install samba

sudo apt-get install -y samba samba-common python-glade2 system-config-samba

 Step 3: Altering samba configuration

In terminal, type:

sudo vi /etc/samba/smb.conf

Scrolling down to workgroup, change WORKGROUP (default) to your host Windows group

Then go to end of smb.conf file and add a folder to share.

Example, I share folder named sharedfolder:

Restart the samba with following command:

sudo service smbd restart

Now your host computer will see the Ubuntu name (in my situation is sukata). And you can use this shared folder for both machines.

** Note:
- You need to set mode of sharedfolder to 777
- Host computer and guest computer should are same in the network. In my case, I setting VMware use bridge connection with the real computer.

No comments:

Post a Comment