Skip to content
nanakira edited this page Apr 24, 2016 · 5 revisions

Install

% sudo apt-get install samba

Change config

% sudo emacs /etc/samba/smb.conf

[global]
workgroup = WORKGROUP
hosts deny = all
hosts allow = 127.0.0.0/8 192.168.10.0/24

[homes]
comment = %U Home directory
read only = no

[share]
comment = Shared
path = /your/directory/path
guest ok = no
read only = no

% sudo smbpasswd -a username
% sudo service smbd restart

Auto start up

% /sbin/chkconfig smbd on
Clone this wiki locally