First, configure the local yum source. You must have an iso installation file for the operating system on the local machine. The following uses Oracle linux as an example.
# Cd/etc/yum. repos. d
-- Rename other repo files
# Ls
Public-yum-el5.repo.1 public-yum-el5.repo.2 public-yum-el5.repo.bk
-- Create a new repo file. The Server folder is the path of the rpm package.
# Vi local_yum_el5.repo
[Oelr5u8]
Name = oelr5u8
Baseurl = file: // mnt/Server
Gpgcheck = 0
Enabled = 1
# Yum clean all
# Yum list
# Yum install oracle-validated
[Root @ rh56 dev] # yum install samba
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Oelr5u8 | 1.1 kB: 00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package samba. x86_64. 0.33-3.37.el5 set to be updated
--> Processing Dependency: samba-common = 3.0.33-3.37.el5 for package: samba
--> Processing Dependency: perl (Convert: ASN1) for package: samba
--> Running transaction check
---> Package perl-Convert-ASN1.noarch. 20-1.1 set to be updated
---> Package samba-common.x86_64. 0.33-3.37.el5 set to be updated
--> Processing Dependency: libsmbclient = 3.0.33-3.37.el5 for package: samba-common
--> Running transaction check
---> Package libsmbclient. i386. 0.33-3.37.el5 set to be updated
---> Package libsmbclient. x86_64. 0.33-3.37.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
========================================================== ========================================================== ========================================================== =
Package Arch Version Repository Size
========================================================== ========================================================== ========================================================== =
Installing:
Samba x86_64 3.0.33-3.37.el5 oelr5u8 16 M
Installing for dependencies:
Perl-Convert-ASN1 noarch 0.20-1.1 oelr5u8 42 k
Samba-common x86_64 3.0.33-3.37.el5 oelr5u8 6.8 M
Updating for dependencies:
Libsmbclient i386 3.0.33-3.37.el5 oelr5u8 908 k
Libsmbclient x86_643.0.33-3.37.el5 oelr5u8 917 k
Transaction Summary
========================================================== ========================================================== ========================================================== =
Install 3 Package (s)
Upgrade 2 Package (s)
Total download size: 25 M
Is this OK [y/N]: y
Downloading Packages:
Bytes --------------------------------------------------------------------------------------------------------------------------
Total 643 MB/s | 25 MB
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating: libsmbclient 1/7
Installing: samba-common 2/7
Updating: libsmbclient 3/7
Installing: perl-Convert-ASN1 4/7
Installing: samba 5/7
Cleanup: libsmbclient 6/7
Cleanup: libsmbclient 7/7
Installed:
Samba. x86_64. 0.33-3.37.el5
Dependency Installed:
Perl-Convert-ASN1.noarch. 20-1.1 samba-common.x86_64-3.37.el5
Dependency Updated:
Libsmbclient. i386 3. 0.33-3.37.el5 libsmbclient. x86_64 3. 0.33-3.37.el5
Complete!
Samba details: click here
Samba: click here
Samba file sharing-heterogeneous Communication
The speed of accessing samba from Ubuntu dual Nic of VMWare Virtual Machine doubles
Add the Samba File Sharing Server to the Windows Server 2003 Domain
Samba installation Configuration
Samba service configuration in CentOS 6.2
How to Build the Win7 + VMware + Fedora18 Samba Server