Enable Samba Server in Ubuntu 10.10 (or 10.04)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Samba server provides a simple and convenient way of sharing files between your Linux machine and your Windows network. You can use tasksel to install samba without much fuss, if you haven’t installed tasksel already, go ahead and install it by doing

sudo apt-get install tasksel

Now launch it

sudo tasksel

use arrow keys to select the Samba file server option and hit space bar to select it (“*” should show against it) hit tab to select ok and press spacebar to continue with the installation.

To share folders via samba all you need to do is, right click on the folder you want to share and choose sharing options

Just tick the share this folder box, you can also specify the name for the share, and choose whether you want to give write permissions. If you don’t want to have to enter password to access the folder, make sure you tick the Guest access box.

If you want to modify the WORKGROUP and  other setting, you can do so by modifying the Samba configuration file located in /etc/samba/ folder. Before editing this file, it is advisable to back it up by doing

sudo cp /etc/samba/smb.conf smb.conf_backup

You can edit the configuration file by using any editor like gedit

gksudo gedit /etc/samba/smb.conf

File is self explanatory, after you are done making your changes, you can restart the samba server to reflect those changes by running the following command

sudo service smbd restart

You might also like

Access or Stream Windows 7 Multimedia Share to Linux Windows 7 samba...
Mount Linux NFS Share on Windows 7 One convenient...
Solution to Windows 7 Ubuntu 9.10 Share Problem If you are...
Easily Backup Network Share for Windows 7 in Linux (Ubuntu) While there...

About the Author

has written 346 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

2 Comments on “Enable Samba Server in Ubuntu 10.10 (or 10.04)”

  • steve wrote on 23 December, 2010, 20:48

    you missed out a few commands like ‘cp’ and ‘gedit’

    Like or Dislike: Thumb up 0 Thumb down 0


    lifehacker Reply:

    Thanks for pointing it out, sorry for these typos.

    Like or Dislike: Thumb up 0 Thumb down 0


Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!


Copyright © 2017 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes