構建samba檔案伺服器

來源:互聯網
上載者:User

構建samba檔案伺服器 環境:fedora 12 i386 伺服器IP:192.168.3.202 1使用yum網路安裝的方式安裝軟體包 root@ns1 ~]# ping www.baidu.comPING www.a.shifen.com (61.135.169.125) 56(84) bytes of data.64 bytes from 61.135.169.125: icmp_seq=1 ttl=57 time=17.2 ms64 bytes from 61.135.169.125: icmp_seq=2 ttl=57 time=54.7 ms64 bytes from 61.135.169.125: icmp_seq=3 ttl=57 time=19.2 ms 安裝 [root@ns1 ~]# yum install samba已載入外掛程式:presto, refresh-packagekit設定安裝進程解決依賴關係--> 執行事務檢查---> 軟體包 samba.i686 0:3.4.9-60.fc12 將被 安裝--> 完成依賴關係計算 依賴關係解決 ==================================================== 軟體包             架構              版本                          倉庫                  大小====================================================正在安裝: samba              i686              3.4.9-60.fc12                 updates              4.3 M 事務概要=====================================================Install       1 Package(s) 總下載量:4.3 MInstalled size: 14 M確定嗎?[y/N]:y下載軟體包:Setting up and reading Presto delta metadataProcessing delta metadataPackage(s) data still to download: 4.3 Msamba-3.4.9-60.fc12.i686.rpm                                            | 4.3 MB     02:33     運行 rpm_check_debug 執行事務測試事務測試成功執行事務  正在安裝       : samba-3.4.9-60.fc12.i686                                                1/1  已安裝:  samba.i686 0:3.4.9-60.fc12                                                                   完畢! 2配置samba伺服器的設定檔 [root@ns1 ~]# vim /etc/samba/smb.conf [global] workgroup = ceshizu  //顯示伺服器工作群組 security = share     //伺服器安全層級share(所有,不許要驗證) [share]              //本地目錄在網路中的共用名稱 comment = ceshimulu  //註解 path = /var/public/ceshi  //伺服器本地路徑 public = yes              //在網路位置中是否可見 writable = yes            //能否建立修改檔案  3測試通過,(任意使用者都能查看到共用目錄但是不能刪除,不能建立,) (根據需要調整許可權) 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.