Prepare the disc (my operating system is X86)
[[email protected] ~]# Rpm-q Samba queries whether samba installs
[[email protected] ~]# mount/dev/cdrom/mnt mount the disc file to the/MNT directory
[[email protected] ~]# cp/mnt/packages/samba*/home Copy the file from Samba to/home
[Email protected] ~]# rpm-ivh/home/samba-common-3.5.10-125.el6. x86_64.rpm installation based on operating system selection
[Email protected] ~]# rpm-ivh/home/samba-3.5.10-125.el6.x86_64.rpm
[Email protected] ~]# rpm-ivh/home/samba-client-3.5.10-125.el6.x86_64.rpm
[[Email protected] ~]# service SMB start start Samba services
[[email protected] ~]# useradd Jie create user Jie
[[email protected] ~]# passwd Jie set password
[Email protected] ~]# cat/etc/passwd | MKSmbpasswd.sh >/ETC/SAMBA/SMBPASSWD
[[email protected] ~]# smbpasswd jie-a activating user
New SMB Password:
Retype new SMB Password:
Added user Jie.
Access Linux files on Windows \\192.168.100.123
Unable to access the file and "You may not have permission to use network resources" when entering the Linux share
[[email protected] ~]# Setenforce 0 temporarily stop SELinux
[[email protected] ~]# Setenforce 1 enable SELinux
[Email protected] ~]# setsebool-p samba_enable_home_dirs on
Linux Install Samba