1. The local machine is not connected to the Internet. Set yum to search for vi/etc/yum from the local device. repos. d/Centos-Media.repo 2. mount iso mount/dev/cdrom/mnt/cdrom3.yum install yum-y install samba * -- skip-broken4. modify the configuration file vi/etc/samba/smb. conf Add the shared directory [web] at the end of the configuration file // set the shared name path =/var/www/html // set the shared directory browseable = yes // readable writable = yes/ /writable 5. create a samba user smbpasswd-a apache/must have this user in the system (as long as apache is installed in rpm, there are apache users)-d disable-e enable-x Delete 6. start service smb restart Linux shared folder permission Division 1. directory permission setfacl-m u: apache: rwx-R/var/www/html setfacl-m d: u: apache: rwx-R/var/www/html 2. web permission-the apache service process executes the discount rpm package. (the User in the source code package is not modified by apache in the configuration file modification Search User.) Client Connection: linux: mount // ip address/shared name/mnt-user = user name, pass = PASSWORD window end: 1. network neighbors 2. shared name under dos \ IP address \ Settings 3. disk Drive ing