Friday, November 30, 2007

Install samba server on ubuntu

samba use to share file between linux and window.
I will show how to install your computer to samba server on ubunutu 7.04.

open the terminal and following this command.
sudo apt-get install samba smbfs

samba will installed your on computer. next open the config file in.
sudo nano /etc/samba/smb.conf

in this file you can set workgroup too.next

uncomment the security line, and make it look like this:
security = SHARE

I set 'SHARE' because, I want to every one can logon.(simple sharing)

restart samba by following this command
sudo /etc/init.d/samba restart

Testing share folder.
System -> Administration -> Shared Folders
enter your password.


select add button and choose path that you want to share folder and set
Share through : Windows network (SMB)

look like this picture.
now everyone on window can get file from ubuntu.

No comments: