Lab environment:
Under Vbox, Rehat5 virtual machine
Purpose: Upload file to server using samba server
[root@rh55 ~]# service smb start //Report error, no smb service
smb: unrecognized service
//Next install samba server
[root@rh55 ~]# mount /dev/cdrom /media/
mount: block device /dev/cdrom iswrite-protected, mounting read-only
[root@rh55 ~]# yum install -y samba-* -- Use yum to install the package. For information about yum, please refer to the related information
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
base |
1.3 kB 00:00
Setting up Install Process
Package samba-common-3.0.33-3.28.el5.i386 alreadyinstalled and latest version
Package samba-client- 3.0.33-3.28.el5.i386 alreadyinstalled and latest version
Resolving Dependencies
--> Running transaction check
---> Package samba.i386 0 :3.0.33-3.28.el5 setto be updated
--> Processing Dependency: perl(Convert::ASN1)for package: samba
---> Package samba-swat .i386 0:3.0.33-3.28.el5set to be updated
--> Running transaction check
---> Package perl-Convert-ASN1.noarch0:0.20-1.1 Set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==================== =========================================================== ===========
Package Arch Version Repository Size
======================= =========================================================== ========
Installing:
samba i386 3.0.33-3.28.el5 base 16 M
samba-swat i386 3.0.33-3.28.el5 base 8.2 M
Installing for dependencies:
perl-Convert-ASN1 noarch 0.20-1.1 base 41 k
Transaction Summary
========================================================= =================================================================================================== Upgrade 0 Package(s)
Total download size: 24 M
Downloading Packages:
----------------- -------------------------------------------------- -------------
Total 8.1GB/s |
24 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing :perl-Convert-ASN1 1/3
error: failed to stat /media/RHEL_5.5 i386 DVD:No such file or directory
Installing : samba 2/3
Installing : samba-swat 3/3
Installed:
samba.i386 0:3.0.33-3.28.el5 samba-swat.i386 0:3.0. 33-3.28.el5
Dependency Installed:
perl-Convert-ASN1.noarch 0:0.20-1.1
Complete!
[root@rh55 ~]# service smb start
Starting SMB services: [ OK ]
Starting NMB services: [ OK ]
[root@rh55 ~] # smbpasswd -a oracle
New SMB password:
Retype new SMB password:
Added user oracle.
Copy the required files to the shared oracle directory as follows:
At this point, complete the configuration for the Samba server
*** ********************************************statement*** *********************************************
Original works, from the "deep blue blog" blog, welcome to reprint, please be sure to indicate the source when reprinting (http://blog.csdn.net/huangyanlong).
ubuntu configuration SSH password-free login 1. Install SSH: 2. Whether to generate .ssh
In general, there are three main ways to install software under Linux: one is source install
After reinstalling Win7, I have never tried to install Linux again, occasionally playing, an
The pstree command shows the derived relationship between processes in a tree diagram, and
Use external device (optical drive) to install and update library
How to add permanent routes to multiple Linux NICs
Linux switch command (shutdown, reboot, halt, init)
Linux service configuration linux system routing configuration
Linux compiles the kernel and adds system calls
Linux ITDB+LDAP implements the functions that ITDB imports into LDAP users
Centos7 modify SSH port number
Linux network based routing DHCP configuration
The difference between the linux command su and su- The maximum essential difference between the
Character encoding and conversion tool for files under GnuLinux
What should I do if the Mtp USB installation fails on the Win7 connected phone?
What features have been removed in Win8?
Win10 system running QQ browser error prompt has stopped working how to do?
How to delete windows.old file
Linux operating system classic practical skills 33
Where is win8 management wireless network? Win8 wireless network setup tutorial
Windows 7 Tips: Step by step to defend the game account
How to open the screen keyboard in Win10
CF weekend ten times experience high turn the day to get the challenge set online