2012年8月15日 星期三

CentOS 6.2(五)-安裝SAMBA


CentOS 6.2(五)-安裝SAMBA

Function: set up a documents file server

I prepare three machines, two Operation systems for CentOS and one  Windows 7 system, 

改:

I prepare three machines, two of which equip with CentOS and the other one is windows 7



To major of test windows 7 Network Neighborhood to whether measuring two CentOS Operation systems inside /temp folder, and create file inside /temp forder 

改:
The object is tesing win7 Network Neighborhood can connect to /temp folder in each two centOs machine or not, and create files in temp folder 


我準備了三台機器,二台CentOS,一台Windows 7

主要是要測看Windows 7網芳有無測到這兩台CentOS內的/temp資料夾,及新增檔案在temp資料夾內。



一、先下指令rpm -qa | grep samba查看有無安裝samba

     








二、我後來整個測試完後,我再下了一次yum install sasmba指令,
       
       因為好像有些東西沒裝到~無法執行!!!

       (原本以為重新安裝設定會不見,沒想到還在,剛好不用再重設定一次)






安裝成功



三、下指令編輯smb.conf設定

        1、cd /etc/samba
        2、vim smb.conf





四、啟動相關服務




五、因為我架設了兩台練習,所以以下兩張圖都是用CentOS 6.2架設SAMBA


六、進入MYServer97測試,在裡面新增一個abc 文字檔。

七、左邊是Windows 7,右邊是CentOS 6.2,有同步,測試成功~~~




參考資料:

鳥哥Linux私房菜
http://linux.vbird.org/linux_server/0370samba.php#server

沒有留言:

張貼留言