Ubuntu中使用samba來共享文件夾

思路方式:1,將共享文件夾的linux虛擬機做爲samba 服務器,完成安裝。

                    2,設定共享文件夾。

                    3, 其他機器(windows or linux)就可以訪問該共享文件件。


操作鏈接:

                http://imcn.me/html/y2012/10717.html


linux中安裝軟件的命令:apt-get   install[remove]    name.


對於ubuntu14.04來說,其安裝包爲:

sudo apt-get install samba samba-common system-config-samba python-glade2 gksu

同時,注意:

   1)  如果要在更目錄建立一個文件夾實現共享,必須也要將/etc/smba/smb.conf

        Ask the administrator to add the line "usershare owner only = false" 
to the [global] section of the smb.conf to allow this.

  2)  從windows中訪問linux虛擬機內容,因IP地址會一直變化,所以建議以計算機名字去訪問。

比如根目錄之下建立了一個share目錄,計算機爲xxxxx@ubuntu,那麼訪問的路徑就爲:

     \\ubuntu\share.




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章