Configuring and Managing Samba Servers

Source: Internet
Author: User
Keywords Samba Server
Tags aliyun analysis configuration configure directory group html http

"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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.