티스토리 뷰

OpenSUSE 11 Samba Server Fully accessed shared Folder


Fully accessed shared Folder

 

Install Samba to Configure File Server.

For example, Create a fully accessed shared Folder which anybody can read and write, and authentication is not required.



1. Install and Configure Samba.


smb:~ # zypper -n install samba samba-client

smb:~ # mkdir /home/share 

smb:~ # chmod 777 /home/share 


smb:~ # vi /etc/samba/smb.conf

# line 5: add

unix charset = UTF-8

# add to the end

[Share]# any name you like

   path = /home/share# shared directory

   writable = yes# writable

   guest ok = yes# guest OK

   guest only = yes# guest OK

   create mode = 0777# fully accessed

   directory mode = 0777# fully accessed

   share modes = yes# warn if some people access to a file


smb:~ # /etc/init.d/smb start 

smb:~ # /etc/init.d/nmb start 


smb:~ # chkconfig smb on 

smb:~ # chkconfig nmb on

저작자 표시 비영리 변경 금지
신고
댓글