Create a Fully accessed Shared directory2011/05/28 |
Install Samba and Create a shared directory that anybody can read and write, and authentication is not needed.
|
|
[1] | Install and Configure Samba |
[root@lan ~]#
[root@lan ~]# yum -y install samba mkdir /home/share [root@lan ~]# chmod 777 /home/share
[root@lan ~]#
vi /etc/samba/smb.conf # near line 66: add unix charset = UTF-8
# line 87: change (Windows' default) workgroup = WORKGROUP
# line 93: uncomment and change IP address you allow hosts allow = 127. 10.0.0.
# line 119: change (no auth) security = share
# add at the last line [Share]
# any name you like path = /home/share # shared directory writable = yes # writable guest ok = yes # guest OK guest only = yes # guest only create mode = 0777 # fully accessed directory mode = 0777 # fully accessed share modes = yes # warn if some people access to a file /etc/rc.d/init.d/smb start Starting smb (via systemctl): Starting SMB services: [ OK ] [ OK ] [root@lan ~]# /etc/rc.d/init.d/nmb start Starting nmb (via systemctl): Starting NMB services: [ OK ] [ OK ] [root@lan ~]# chkconfig smb on [root@lan ~]# chkconfig nmb on |
[2] | Configure on Windows client. This example is on Windows 7. Select [My Computer] - [Map Network Drive] like following example. |
[3] | Specify shared folder's place in Folder section like example and Click 'Finish' button to enter. |
[4] | Just accessed to shared folder. |
Sponsored Link |