2013年6月17日 星期一

ubuntu中的SAMBA設定


  1. sudo apt-get install samba
  2. Create a new section at the bottom of the file, or uncomment one of the examples, for the directory to be shared:
    [share]
        comment = Ubuntu File Server Share
        path = /srv/samba/share
        browsable = yes
        guest ok = yes
        read only = no
        create mask = 0755
    
  3. sudo mkdir -p /srv/samba/share
  4. sudo chown nobody.nogroup /srv/samba/share/
    /etc/init.d/smb restart
  5. sudo restart smbd

沒有留言: