A-A+

互通有无:LinuxMint使用“个人文件共享”与Windows共享

2013年04月18日 软件技巧 阅读 23,284 views 次

说到与Windows文件共享,众多Linuxers首先想到的肯定是Samba。可是Samba那繁琐的配置、晦涩的参数、该死的乱码和莫名其妙的连接失败,足够令新手退却,令老鸟憎恨。

今天薄荷开源网小编要介绍的是使用LinuxMint自带的“个人文件共享”,与其他操作系统(Linux或Windows)进行文件共享。毫无疑问,如果这个办法比Samba还复杂,也就没有介绍的必要了。使用“个人文件共享”非常简单、快捷,而且人人都可以配置成功。

首先,在 主菜单--首选项 中打开“个人文件共享”。它会提示由于缺少必要的软件,“个人文件共享”暂时无法启用。

那我们就在终端中安装这些软件:
sudo apt-get install apache2.2-bin libapache2-mod-dnssd

安装完毕,由于涉及到网络安全,所以再修改一下主文件夹的权限。
chmod 0711 ~
上述命令表示:所有者拥有完全权限,其他人无法查看和修改文件,但若知道该处某个具体的文件,即可查看或修改。

再次打开“个人文件共享”,勾选“在网络中共享公开文件”,并按照自身要求选择是否需要密码。从图中可知,“个人文件共享”不仅可用于局域网文件共享,还可用于蓝牙共享。

然后,打开主文件夹,右键点击“公共的”文件夹,选择“共享选项”,并在“共享选项”中设置共享和匿名用户访问。

需要特别指出的是,如果使用的是Cinnamon桌面环境,由于同时存在Nautilus和Nemo这2个文件管理器,二者有冲突。如果右键点击“公共的”文件夹,弹出的菜单中没有“共享选项”,则使用右键点击该文件夹,在“打开方式”中选择“文件”。其实就是使用Nautilus来打开。打开后,再次右键点击“公共的”,即可看到“共享选项”了。

设置完毕,我们在另外一台LinuxMint电脑上打开文件管理器,在左侧栏里,打开网络,即可看到当前局域网内提供共享的机器。

双击后,该共享文件夹会被挂载,从左侧栏中打开进入,即可看到其中的共享文件。

接下来,我们进入Windows 7,看看能否访问该共享文件夹。在Windows 7中打开网上邻居,即可看到局域网内的计算机。

双击提供“个人文件共享”的Acer计算机,即可看到该机器上提供的共享文件夹和打印机。

双击“公共的”,果真非常好用,操作其中的文件像操作本机文件一样方便。

对于一般的文件共享,“个人文件共享”是非常称职的。现在可以大胆地甩掉Samba了吧。如果再配合IPtux之类的局域网聊天工具,一般的办公环境下游刃有余啦。

22 条留言  访客:22 条  博主:0 条

  1. avatar cinnamon

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  2. avatar 寸草心

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  3. avatar Jamie

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  4. avatar 还魂草

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  5. avatar hosiet

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
    • avatar 薄荷叶

      Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
      • avatar 乌鸦

        Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  6. avatar 藍冰

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
    • avatar 薄荷叶

      Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
      • avatar spoopo

        Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  7. avatar spoopo

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
    • avatar 薄荷叶

      Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
      • avatar spoopo

        Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
        • avatar 还魂草

          Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  8. avatar spoopo

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  9. avatar Lockvictor

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  10. avatar AURA

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
  11. avatar AURA

    Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
    • avatar 还魂草

      Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
      • avatar AURA

        Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
        • avatar 还魂草

          Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263
          • avatar AURA

            Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /home/litaowan/public_html/wp-content/themes/Ality/functions.php on line 263

给我留言

您必须 登录 才能发表留言!

Copyright © 薄荷开源网 保留所有权利.   Theme  Ality

用户登录

分享到: