1. Mount the disc
2. Virtual machine loading ISO file
3. Virtual machine under the pastry disc symbol, choose Connect
4. Executive Mkdir/media/cdrom
5.mount/dev/cdrom/media/drom
6. Query Samba Installation Rpm-qa | grep Samba
7. Installation of three files
Cd/media/cdrom/centos
RPM-IVH samba-3.0.33-3.28.el5.i386.rpm-f--nodeps
RPM-IVH samba-client-3.0.33-3.28.el5.i386.rpm-f--nodeps
RPM-IVH samba-common-3.0.33-3.28.el5.i386.rpm-f--nodeps
8. Configure/etc/samba/smb.conf
9. Back up smb.conf before configuring
MV Smb.conf Smb.confbak
10. Create a new smb.conf
Touch smb.conf
11. Write the following code with vim to the configuration file smb.conf
[Global] #全局配置
Workgroup = Linuxgrp #设定工作组
NetBIOS name = centos# Sets the computer names
Server string = Linux Samba server# Servers description
Security = Share #登录验证方式
[Linuxserver] #windows里面显示的共享目录
Path =/opt/linuxserver #共享文件夹路径
writeable = yes #设置可写权限
browseable = yes #设置可以浏览
Guest OK = yes #设置可以匿名登录
12. Create the appropriate directory and authorize
Mkdir-p/opt/linuxserver
Chown-r Nobody:nodoby/opt/linuxserver
13. Start Samba and NMBD servers
Smaba
Nmbd
14.windows Open Network Places
Run inside Input: \\192.168.1.128 (virtual server IP address)
VMware Virtual machine CentOS installation Samba entire process