Configure and install Samba and VSFTP in RedHatEnterpriseLinux5 (Red Hat Enterprise Edition 5)

Source: Internet
Author: User
The Server Message Block (SMB) protocol is a high-level protocol that allows different computers on the network to share files, printers, and different communication materials. Samba is a group of software packages. It enables Linux to support the SMB protocol, which is implemented on TCP/IP. It is the basis for Windows Network File Sharing and printing, handles and uses remote files and resources. Samba has two Daemon Processes: smbd and nmbd.

Server Message Block (SMB) is a high-level protocol that allows different computers on the network to share files, printers, and different communication materials.

Samba is a group of software packages. It enables Linux to support the SMB protocol, which is implemented on TCP/IP. It is the basis for Windows Network File Sharing and printing, handles and uses remote files and resources.

The core of Samba is the two daemon processes smbd and nmbd, which run continuously from the server startup to the stop. Smbd listens to the 139TCP port; nmbd listens to the 137 and 138UDP ports.

Features of Samba:

-Shared Linux File System

-Allows Windows users to browse networks using network peers

-Supports Windows Domain Controllers and Windows member servers to authenticate users using Samba resources.

Install SMB:

1.First, set the virtual optical drive to load the iso file of the second Fedora disc to our virtual machine.

2. Start the ora virtual machine, enter the command line, log on as the root user, and enter the following command:

Mount/dev/cdrom/mnt

The above command means to mount the disc to the/mnt directory, so that you can go to the/mnt directory to view the content on the disc.

3. Enter the/mnt directory.

Cd/mnt

4. Run the following command to check whether the corresponding software package is installed:

Rmp-qa | grep samba

5. Run the following command to install the software package.

Rpm-ihv samba-3.3.2-0.33.fc11.i586.rpm

Rpm-ihv samba-common-3.3.2-0.33.fc11.i586.rpm

Rpm-ihv samba-client-3.3.2-0.33.fc11.i586.rpm

Because my system has been installed, the above installation sequence may be different. If there is a dependency, install it according to the dependency.

After the installation is complete, enter testparm to check whether the command exists. If yes, the smb has been installed.

Configure SMB

1. Open the SMB configuration file,/etc/samba/smb. conf

2. edit parameters in smb. conf.

 

Samba security level ):

There are 4 security levels in Samba

-Share: If this level is used, the user can log on to the Samba server without the account and password.

-User: This is the default security level for Samba servers. The Samba server is responsible for checking accounts and passwords.

-Server: Under this level, you can specify a Windows server or Samba server to check the account and password.

-Domain: In this level, you must specify a Windows server to verify the account and password.

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.