Getting Started
First, make sure the computer running Windows 7 is connected to the local network through a wired connection. Then under Ubuntu 11.10, make a right-click on the folder you want to share and select "Sharing Options":
Check on "Share this folder", a new window will pop-up, click "Install service":
To start the installation of "samba", click "Install" (root password required):
If prompted to install an additional software (libpam-smbpass), click "Install":
Click "Restart session" to enable sharing:
After restarting the session, right-click again on the folder you want to share and select "Sharing Options". Make sure "Share this folder" and "Allow others to create and delete files in this folder" are well selected, then hit "Create Share":
In the pop-up window, click "Add the permissions automatically":
The folder is now ready. To access it from Windows 7, you need to do the following:
- Press Windows Logo + R and run this command:
\\ubuntu-computer-name\shared-folder-name
Replace ubuntu-computer-name with the name of the computer running Ubuntu. You can find this info using this command from the terminal:
hostname
Replace also shared-folder-name with the name of the folder already shared.
Submit your Ubuntu username and password to establish the connection. If you are unable to connect, then under Ubuntu 11.10, open the terminal and run this command (replace username with your own Ubuntu username):
sudo smbpasswd -a username
Reconnect now under Windows 7. If the connection is successful, then the shared folder will be accessible from the network section under Windows 7.
Sumber: http://www.upubuntu.com/2011/11/how-to-share-files-and-folders-between.html