Samba consists of two programs running in the background: DBMS and nmbd. Can be briefly mentioned that the DBMS is a file server that will generate a new process for each client who is active duty while nmbd convert computer names (NetBIOS) into IP addresses as well as monitor the share on the network. Work DBMS itself is regulated through the configuration file / etc / samba / smb.conf. By making the appropriate configuration file, Samba can be used as file servers, print servers, domain controllers, and many other functions.
Previously make sure samba is installed, if not you can install it using the command :
$ sudo apt-get install samba
After samba is installed, edit the samba configuration with your favorite editor, for example using nano.
$ sudo nano /etc/samba/smb.conf
Adjust the following line, others do not ignore the clear.
workgroup = whatever you want..
security = share
Then add a line in the last line in the shared folder, suppose you want to share / media / DRIVE (adjust the mounting of partitions windowsnya folder etc: / mnt/hda1 or /media/hda1 or another can customize your own?
[DRIVE]
comment = Data Drive D
path = /media/DATA
browseable = yes
read only = no
guest ok = yes
After save and restart samba with command :
$ sudo /etc/init.d/samba restart
If still can not read and write then you have to change fstab,
$ sudo nano /etc/fstab
adjust as the default option on the partition line in the share with "umask = 0000" example: /dev/sda5 /media/DRIVE auto umask=0000 0 0
Restart again and goodluck
source : http://elhaidar.wordpress.com
Installing SAMBA on ubuntu 8.04
At the prompt enter the following command to install the SAMBA server and client applications:sudo apt-get install samba smbclient
To mount Windows filesystems using SMB, you will also need smbfs. Enter the command:
sudo apt-get install smbfs
Description: Install samba to share folder on ubuntu Rating: 4.5 Reviewer: Zein Okeh - ItemReviewed: Install samba to share folder on ubuntu
1 komentar:
Info yang baik sahabatku. Sukses ya
Post a Comment
Sorry if my english is bad