日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

怎樣在 Ubuntu 13.04 Raring Ringtail , 12.10,

系統 2366 0

Samba 是一款功能強大的共享工具,可以實現與windows的共享,就是我們經常在windows計算機之間使用的網上鄰居功能 ,可以共享文件和打印機等。今天要介紹的是在 Ubuntu 13.04 Raring Ringtail , 12.10, 12.04 中安裝和設置,當然也可以在以前的版本上使用。

?

Ubuntu 上安裝Samba:

?

1 安裝Samba文件

我們需要做的第一件事是安裝Samba,你可以在 Ubuntu 軟件中心搜索軟件,然后安裝。如果你想通過終端安裝,可復制這個命令:

      sudo apt-get install samba samba-common
    

?

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

      sudo apt-get install python-glade2
    

?

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

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

      sudo apt-get install system-config-samba
    

?

4 添加一個 Linux/Unix user:

      adduser pirat9
    

?

5 為用戶 pirat9 設置密碼:

      passwd pirat9
    

?

6 現在打開 samba 配置工具。

samba configuration tool

?

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

share

?

設置權限訪問

permissions

?

8 連接到共享前,你必須創建samba用戶:

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

?

配置完成。


提示:你可以選擇你要共享的文件夾,目錄上右鍵打開菜單選擇“share options(共享配置)”

share options

?

并且激活共享:

activate share

?

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

working test

?

working test

?

working test

?

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

Connect from windows

?

Connect from windows

?

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

?

本文鏈接地址: 怎樣在 Ubuntu 12.04 中安裝和設置 Samba 實現網上鄰居共享

?

?

Configuring Samba

To get Samba to work the way we want it to work, we have to make some changes to its configuration file.

In the terminal,

          gksu gedit /etc/samba/smb.conf
        
?

This will open the config file in Gedit.

Scroll down the page until you see the line:

          workgroup = WORKGROUP
        
?

This is the identifier of your PC. You can keep it as the default, but it is best to change it to something more meaningful, like “HOME-DESKTOP”.

samba-workgroup

?

Next, scroll down further till you reach the “Authentication” section. You should see the line:

          #   security = user
        
?

Remove the “#” at the front of the line.

samba-security

?

來源: http://www.maketecheasier.com/install-and-configure-samba-in-ubuntu-for-file-sharing/2012/06/12

怎樣在 Ubuntu 13.04 Raring Ringtail , 12.10, 12.04 中安裝和設置 Samba 實現網上鄰居共享


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 卓资县| 耿马| 邵阳市| 县级市| 出国| 丹阳市| 唐山市| 略阳县| 阿拉善右旗| 永宁县| 思南县| 耒阳市| 鄯善县| 高邮市| 马龙县| 绩溪县| 阿坝| 公主岭市| 益阳市| 多伦县| 甘南县| 老河口市| 乌恰县| 嵊泗县| 新丰县| 康定县| 怀来县| 博兴县| 兴业县| 白朗县| 米易县| 吉木萨尔县| 凤阳县| 嘉祥县| 迁西县| 临高县| 法库县| 大港区| 涪陵区| 乡宁县| 资兴市|