Fedora 21
Sponsored Link

Fully Accessed Shared Folder
2014/12/23
 
Install Samba to build a File Server.
This example shows to create a fully accessed shared Folder which anybody can read and write, and authentication is not required.
[1] Install and Configure Samba.
[root@lan ~]#
yum -y install samba samba-client
[root@lan ~]#
mkdir /home/share

[root@lan ~]#
chmod 777 /home/share

[root@lan ~]#
vi /etc/samba/smb.conf
# near line 66: add follows

unix charset = UTF-8
dos charset = CP932
# line 90: change (Windows' default)

workgroup =
WORKGROUP
# line 96: uncomment and change IP address you allow

hosts allow = 127.
10.0.0.
# line 126: add ( no auth )

security = user
passdb backend = tdbsam
map to guest = Bad User
# add follows 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 only

   create mode = 0777
# fully accessed

   directory mode = 0777
# fully accessed

   share modes = yes
# warn if some people access to a file
[root@lan ~]#
systemctl start smb

[root@lan ~]#
systemctl start nmb

[root@lan ~]#
systemctl enable smb

[root@lan ~]#
systemctl enable nmb

[2] It's the way to access to the shared folder. This example is on Windows 7.
Select [Computer] - [Map Network Drive].
[3] Specify the shared folder's place in Folder section and Click the 'Finish' button to enter.
[4] Just accessed to the shared Folder.
Matched Content
 
Tweet