Enable Samba Server in Ubuntu 10.10 (or 10.04)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

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

If you found this useful, please consider leaving a comment or liking us on Facebook or following us on Twitter or subscribing to the RSS feed to have future articles delivered to your feed reader.

Possibly related posts (generated automatically):

  1. Mount / Open Windows Shares Locally on Ubuntu 11.04 or 10.10
  2. Enable Restart X server (Ctrl-Alt-BackSpace) in Ubuntu 10.10 Maverick Meerkat
  3. Enable Restart X server in Ubuntu 9.10
  4. Enable Restart X server (Ctrl-Alt-BackSpace) in Ubuntu 11.04 Natty Narwhal
  5. Enable Restart X server (Ctrl-Alt-BackSpace) in Ubuntu 11.10 Oneiric Ocelot
  6. Stream Multimedia from Linux Box (Enable UPnP on Ubuntu 10.04)
  7. Enable Encrypted DVD Playback in Ubuntu 10.10 Maverick Meerkat
  8. Enable Restart X server (Ctrl-Alt-BackSpace) in Ubuntu 10.04 LTS and Fedora 13

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 1314 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

    [Reply]

    lifehacker Reply:

    @steve,
    Thanks for pointing it out, sorry for these typos.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

Write a Comment

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

*
Your Ad Here

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