Install and configure the samba service on Fedora

Source: Internet
Author: User
In embedded development, file transmission and other data are often involved in windows and linux. For example, sourceinsight is used as a common code editing tool, but compiled in linux. The common method is to share the code in linux with windows for editing. In linux, you can use the samba service to share files. Using the samba service, you can share tools in linux like sharing functions in windows. The following is your installation record for your reference only. Because

In embedded development, file transmission and other data are often involved in windows and linux. For example, source insight is used as a common code editing tool, but compiled in linux. The common method is to share the code in linux with windows for editing. In linux, you can use the samba service to share files. Using the samba service, you can share tools in linux like sharing functions in windows. The following is your installation record for your reference only. Because the file name is wrong several times based on the configuration of other books, the following instance directory should be as simple as possible.

Environment:

[Root @ localhost nfs] # lsb_release-
LSB Version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarch
Distributor ID: Fedora
Description: Fedora release 9 (Sulphur)
Release: 9
Codename: Sulphur


Installation: the installation file with samba is installed on the Fedora installation disc.

1. mount the disc to/mnt/cdrom with mount

Mkdir/mnt/cdrom

Mount/dev/cdrom/mnt/cdrom

Cd/mnt/cdrom/Packages

2. View and install the samba-related RPM installation package on the CD.

View:

0; root @ localhost:/mnt/cdrom/Packages [root @ localhost Packages] # ls | grep samba

Samba-3.2.0-1.pre3.9.fc9.i386.rpm
Samba-client-3.2.0-1.pre3.9.fc9.i386.rpm
Samba-common-3.2.0-1.pre3.9.fc9.i386.rpm
Samba-winbind-3.2.0-1.pre3.9.fc9.i386.rpm
System-config-samba-1.2.63-1.fc9.noarch.rpm

Use the rpm-ivh samba-3.2.0-1.pre3.9.fc9.i386.rpm to install the above five rpm packages separately.

The following error occurs during installation:

Error: Missing Dependency: perl (Convert: ASN1) is needed by package samba-3.2.0-1.pre3.9.fc9.i386.rpm


Here, we are prompted to install samba and perl (Convert: ANS1) with dependencies. You need to install them first:

Run rpm-ivh perl-Convert-ASN1-0.21-3.fc9.noarch.rpm

Now install samba, and it will be smooth sailing, so that the software required by samba will be installed, and then perform simple configuration.

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.