"Mission Analysis and Requirements"
This task is an extension of the entire training project, if the server in the server farm has Windows architecture, we will resolve the http://www.aliyun.com/zixun/aggregation/13440.html by configuring the Samba service Sharing information between heterogeneous systems
provides directory/l-w_share/public, implements SMB service sharing, shares name public, allows EC, Tom Group members to read and write
provides directory/L-W_SHARE/EC, implements SMB service sharing, shares name EC, allows EC group members to read and write
provides directory/l-w_share/tom, implements SMB service sharing, shares named Tom, allows Tom Group members to read and write
"Hardware and Software Environment"
using virtual machines to integrate with real host environment
Install red Hat Enterprise Linux Server 5.0 in VMware Virtual machine systems
ISO file with Linux installation CD on hard drive
"Step Decomposition"
This training task can be implemented in two ways, which are character mode configuration and graphical configuration. Here we use character-based methods.
1. Install Samba
Packages that need to be installed:
samba-3.0.23c-2.i386.rpm
samba-client-3.0.23c-2.i386.rpm
samba-common-3.0.23c-2.i386.rpm
SYSTEM-CONFIG-SAMBA-1.2.39-1.EL5.NOARCH.RPM (Graphics Configuration tool, not required for this task)
2, create a directory
#mkdir/l-w_share/public
#mkdir/l-w_share/ec
#mkdir/l-w_share/tom
3, set directory permissions
#chmod 777/l-w_share/public
#chown Ec:ec/l-w_share/ec
#chown Tom:tom/l-w_share/tom
#chomd 770/l-w_share/ec
#chomd 770/l-w_share/tom
4. Edit/etc/samba/smb.conf configuration file and start service
5. Adding Samba users using the SMBPASSWD command
Other users can do the same.
6, start the service and test