RHEL5 enterprise-level server configuration Part 2 Samba Server Configuration

Source: Internet
Author: User
1. Check whether the required software rpm-qa | grepsamba2 for samba is installed. Run the following command rpm-ivhsamba * to install the rpm package for samba *. rpm (common tool and library package, graphical management toolkit for main package client package) or if you have configured YUM, you can directly use the following command to operate yuminstallsamba (this method is the best, you can install all samba packages completely.) 3

1. Check whether samba software is installed.

Rpm-qa | grep samba

2. Install the samba rpm package and use the following command.

Rpm-ivh samba *. rpm

(Master package client package common tools and library package, graphical management toolkit)

Or if you have configured YUM, you can directly use the following command to operate

Yum install samba (this method is the best, you can install all the packages about samba completely)

3. Build a process

[1] edit the main configuration file/etc/samba/smb. conf, specify the shared directory, www.linuxidc.com, and set the sharing permission for the shared directory;

[2] specify the log file name and storage path in the main configuration file smb. conf;

[3] set local system permissions for the shared directory;

[4] Reload the configuration file or restart the smb service to make the configuration take effect.

4. samba Server Security Mode

[1] share security level Mode

When a customer logs on to the server, the user can browse server resources without entering the user name and password. It is applicable to public shared resources with poor security.

[2] user security mode

When a customer logs on to the server, the account and password must be submitted for access after verification. This is the default level.

[3] server Security Mode

The customer needs the account password and submits it to a server for verification. If an error occurs, the user-level access will be used.

[4] domain security level mode,

If a server is added to a domain, domain control is required for verification. A domain-level server is only a member client of the domain and does not have the characteristics of the server.

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.