ubuntu 鏈接window

在Ubuntu上安裝Samba: python

1 安裝Samba文件 windows

咱們須要作的第一件事是安裝Samba,你能夠在Ubuntu軟件中心搜索軟件,而後安裝。若是你想經過終端安裝,可複製這個命令: 服務器

sudo apt-get install samba samba-common 工具

2 爲配置工具安裝一些依賴包(不要忘記安裝python-glade2) 測試

sudo apt-get install python-glade2 spa

3 安裝 Samba 服務器配置工具 : get

安裝 samba 系統配置圖形界面工具 it

sudo apt-get install system-config-samba io

4 添加一個 Linux/Unix user: test

adduser pirat9

5 爲用戶 pirat9 設置密碼:

passwd pirat9

6 如今打開 samba 配置工具。

samba configuration tool

samba configuration tool

7 添加共享文件夾並設置權限訪問。

share

share

設置權限訪問

permissions

permissions

8 鏈接到共享前,你必須建立samba用戶:

sudo smbpasswd -a pirat9
New SMB password
retype New SMB Password

配置完成。
提示:你能夠選擇你要共享的文件夾,目錄上右鍵打開菜單選擇「share options(共享配置)」

share options

share options

而且激活共享:

activate share

activate share

9 如今來測試一下從另一臺Linux計算機看看samba共享是否已經工做,個人計算機時LinuxMint12 與 Ubuntu 12.04 實現共享,蓮臺計算機都安裝了samba,從菜單中打開鏈接到服務器並輸入你Ubuntu計算機的詳細信息:

 working test

working test

 working test

working test

 working test

working test

12 從windows 鏈接共享 (XP/Vista/7)

Connect from windows

Connect from windows

Connect from windows

Connect from windows

本文采用CC協議發佈,轉載請註明: 轉載自IMCN

相關文章
相關標籤/搜索