Академический Документы
Профессиональный Документы
Культура Документы
https://help.ubuntu.com/10.04/internet/C/networkin...
Official Documentation
Ubuntu Documentation > Ubuntu 10.04 > Internet and Networks > Home Networks > Share files and folders with other computers
1 of 4
07/20/2011 10:56 PM
https://help.ubuntu.com/10.04/internet/C/networkin...
1. Press Applications Accessories Terminal to open a Terminal. 2. Type shares-admin and press Enter to open Shared Folders. 3. You may receive a message which says Sharing services are not installed. If this happens, ensure that the two checkboxes in the message box are checked and press Install services. Sharing service support will then be downloaded and installed; this may take a while. 4. Press the button and enter your password in the Password field.
5. Press the Authenticate button. 6. Select the Shared Folders tab and press Add. 7. Select the location of the folder you wish to share by changing the Path option. 8. Choose Windows networks (SMB) from the Share through option. 9. Enter a name and comment for the shared folder. 10. If you would like people accessing the shared folder to be able to add, change and remove files in the folder, uncheck Read only. If you leave Read only checked, people will only be able to view files in the folder. 11. Press Share to make the shared folder available. Other people on the same network (LAN) as you should now be able to access the folder. See the Shared Folders Administration Tool manual for more information on managing network shares.
You may receive a message which says You do not have permission to create a usershare. If this happens, contact your system administrator or configure the Folder sharing service (samba).
See the Shared Folders Administration Tool manual for more information on managing network shares.
2 of 4
07/20/2011 10:56 PM
https://help.ubuntu.com/10.04/internet/C/networkin...
If you would like to access a shared folder hosted on an Ubuntu computer by using computers running Windows, you may have to perform some additional steps: 1. Press Applications Accessories Terminal to open a Terminal. 2. Type sudo smbpasswd -a username, replacing username with your own username. Press Enter to run the command.
You can find out what your username is by typing whoami into the Terminal and then pressing Enter.
3. Enter your password when prompted with [sudo] password for username: and press Enter again. 4. When prompted with New SMB password:, enter the password that you would like to use to access the shared folder and then press Enter. You can leave the password blank, which will allow anyone to access the shared folder. 5. When prompted with Retype new SMB password:, enter the password that you just entered and then press Enter. 6. You should now be able to connect to the shared folders on the Ubuntu computer.
The folder sharing service in Ubuntu that supports sharing with Windows computers is called Samba. The background process, or daemon, is called smbd.
If you are still unable to access the shared folder, check that the folder sharing service is running on the Ubuntu computer. In a terminal, run:
service smbd status
If you find that the service is stopped, try starting the service:
sudo service smbd start
3 of 4
07/20/2011 10:56 PM
https://help.ubuntu.com/10.04/internet/C/networkin...
The material in this document is available under a free license, see Legal for details For information on contributing see the Ubuntu Documentation Team wiki page. To report a problem, visit the bug page for Ubuntu Documentation
4 of 4
07/20/2011 10:56 PM