Linux and Windows implement sharing, need to install Samba server
Installation steps:
1. See if Samba is already installed
Rpm-q Samba
2. If you have installed, if you want to install again, you can uninstall
Rpm-e Samba
3. Attach your own installation files to Linux
mount/mnt/cdrom/
4. Copy the file from Sam to/home, ready to install
cp/mnt/cdrom/samba*/Home
5. Start the installation
RPM-IVH Samba-common-...
RPM-IVH samba-client ...
RPM-IVH samba-2.2.7 ...
6.samba installation Complete, create a youyou user
Useradd Youyou (tips: When creating a new user, a user group is created youyou,youyou the user by default in the Youyou user group)
passwd Youyou
123
7. Set Samba password for Youyou
Add all users to SMBPASSWD
cat/etc/passwd | mksmbpasswd.sh >/ETC/SAMBA/SMBPASSWD
Set Password
SMBPASSWD Youyou
123456
8. Start the Samba server test
Service SMB start start
Service SMB Stop Stop
Service SMB Restart restart
9.win7 shortcut key Win+r, the Run box appears, enter \\192.168.116.88
(1) An unreachable condition occurs because the firewall
"1" First look at whether SSH and Samba services on the Linux server are turned on
Service sshd Start
Service SMB Start
"2" If the service is turned on, see if the firewall is blocking the package.
Iptables-l look at the rules, if you understand the rules directly
Iptables-f Empty the firewall rule, and then
Service iptables Save rule
"3" Firewall is out of the box or not, so try it. SELinux off
Vi/etc/selinux/config
Selinux=disabled then start again and try again.
(2) Prompt user name and password error
Start, run, enter secpol.msc, open Local Security policy, open Local Policies, click Security Options in the Local Security Policy window, and then in the list on the right, locate network security: LAN
Manager Authentication Level ", change the value of this option to" Send LM and ntlm– if negotiated, use NTLMv2 session security ", click OK
Windows and Linux implement file sharing