1. 程式人生 > >Linux開發環境搭建(二)

Linux開發環境搭建(二)

Ubuntu下安裝Samba讓Windows訪問你的檔案

安裝過程參考下面這個連結:
Ubuntu下安裝Samba讓Windows訪問你的檔案_Linux教程_Linux公社-Linux系統入口網站
下面就簡要列出執行步驟:
1. 安裝samba服務,#sudo apt-get install samba cifs-utils
2. 修改配置檔案,根據上面的連結提供的做法來配置,但步驟有些許問題,好像版本更新了,上述連結中

檔案開啟後,查詢如下行並取消其註釋(刪掉行首的“;”)。它應該是這樣的:

security = user

這步無法執行,因為版本已經允許使用者訪問
3. 新增一步能夠使檔案可在Windows進行讀寫,將配置檔案中

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
;read only = yes

取消註釋,並改為read only = no,使其能夠寫,
4. 然後在檔案管理器中輸入虛擬機器Ubuntu的地址,輸入賬號密碼即可訪問到該賬號/home目錄