本系列文章原則:灰常詳細,灰常簡單,新手包學包會!因其簡單,故未涉及安全性方面的考慮呵!
本實驗伺服器為rhel-5-server-i386,用戶端為windows xp。本實驗所用軟體包在rhel-5-server-i386-dvd.iso鏡像檔案的Server目錄下。
1、伺服器端配置
(2)、檢視IP是否修改成功。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/145237447.jpg"></a>
(3)、共需5個軟體包如下。其中*代表版本号,并非任意比對。
samba-*
samba-client-*
samba-common-*
(4)、檢視系統已安裝的軟體包。從圖中可以看到3個軟體包的後2個rhel系統已經安裝,是以我們隻要安裝第1個軟體包即可。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/145650808.jpg"></a>
(5)、安裝軟體包。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/145927618.jpg"></a>
(6)、編輯主配置檔案(/etc/samba/smb.conf)。删除大量注釋以後,我們修改配置檔案如下。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/150620105.jpg"></a>
(7)、啟動smb服務。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/150825965.jpg"></a>
(8)、給使用者授權
<a target="_blank" href="http://blog.51cto.com/attachment/201107/151553506.jpg"></a>
2、用戶端測試
(1)、配置IP。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/151756431.jpg"></a>
(2)、登入。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/151940493.jpg"></a>
<a href="http://blog.51cto.com/attachment/201107/083214933.jpg" target="_blank"></a>
<a target="_blank" href="http://blog.51cto.com/attachment/201107/152236244.jpg"></a>
(3)、建立walker.txt檔案。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/152522202.jpg"></a>
(4)、檢視伺服器端的/tmp檔案夾,發現walker.txt成功建立。
<a target="_blank" href="http://blog.51cto.com/attachment/201107/152717977.jpg"></a>
本文轉自walker snapshot部落格51CTO部落格,原文連結http://blog.51cto.com/walkerqt/601566如需轉載請自行聯系原作者
RQSLT