[root@lang Packages]# rpm -qa|grep samba
samba-winbind-3.2.4-0.22.fc10.i386
samba-common-3.2.4-0.22.fc10.i386
samba-client-3.2.4-0.22.fc10.i386
[root@lang Packages]# rpm -qa|grep smb
libsmbios-2.0.1-2.fc10.1.i386
libsmbclient-3.2.4-0.22.fc10.i386
gvfs-smb-1.0.2-3.fc10.i386
pam_smb-1.1.7-9.fc10.i386
smbios-utils-2.0.1-2.fc10.1.i386
[root@lang Packages]# service smb start
smb: unrecognized service
[root@lang Packages]# service samba status
samba: unrecognized service
以上說明你的機器上只是安裝好了samba的client,沒有服務端.載入你的光碟片,
[root@lang Packages]# ls samba*.*
samba-3.2.4-0.22.fc10.i386.rpm samba-client-3.2.4-0.22.fc10.i386.rpm samba-common-3.2.4-0.22.fc10.i386.rpm samba-winbind-3.2.4-0.22.fc10.i386.rpm
samba-3.2.4-0.22.fc10.i386.rpm 就是我們目前還缺少的,所以要安裝好它,有時候,它會提示說:
Error: Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
那你就要:
[root@lang Packages]# rpm -ivh perl-Convert-ASN1-0.21-3.fc9.noarch.rpm
Preparing... ########################################### [100%]
1:perl-Convert-ASN1 ########################################### [100%]
[root@lang Packages]# ls samba*.*
samba-3.2.4-0.22.fc10.i386.rpm samba-client-3.2.4-0.22.fc10.i386.rpm samba-common-3.2.4-0.22.fc10.i386.rpm samba-winbind-3.2.4-0.22.fc10.i386.rpm
[root@lang Packages]# rpm -ivh samba-3.2.4-0.22.fc10.i386.rpm
Preparing... ########################################### [100%]
1:samba ########################################### [100%]
[root@lang Packages]# service samba status
samba: unrecognized service
[root@lang Packages]# service smb status
smbd is stopped
[root@lang Packages]# service smb start
Starting SMB services: [ OK ]
安裝成功了,配置再說.