apt-get install samba
vi /etc/samba/smb.conf
[share] comment = Ubuntu File Server Share path = /srv/samba/share browsable = yes guest ok = yes read only = no create mask = 0755
mkdir -p /srv/samba/share
chown nobody:nogroup /srv/samba/share/
/etc/init.d/samba restart
コメント