Skip to Content

最新评论

  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • warning: Creating default object from empty value in /var/www/www.minilinux.net/htdocs/sites/all/modules/views/modules/comment/views_handler_field_comment_username.inc on line 32.
  • 孤风   12 年 17 周   回复
    3. Create Fred as a Samba user with rpcclient. Note that the Samba user Fred requires a password, but the Puppy user Fred does not.
    用rpcclient创建弗雷德Samba用户时,请注意,Samba用户弗雷德需要密码,而Puppy用户弗雷德没有。

    4. Add an entry to smb.conf:
    在smb.conf文件中添加一项记录
    代码:
    [fred]
    path = /mnt/home/fred
    writable = yes
    valid users = fred

    5. Restart the Samba server, go to a client machine and login as Fred.
    重新启动Samba服务器,到客户机以弗雷德身份登录。

    You may want a setup where no initial login is required. Open your smb.conf and uncomment the "map to guest" line by removing the semicolon.
    您可能需要对初始登录进行设置。打开smb.conf文件,找到“map to guest”行删除分号。
    代码:
    [global]
    security = user
    map to guest = Bad Password

    Or you might want a read-only public folder.
    或者,你可能想要一个只读的公共文件夹。
    代码:
    [public]
    path = /mnt/home/public
    guest ok = yes
    read only = yes

    To let anyone write to the public folder, use
    为了让任何对公共文件夹有写权限,请使用
    代码:
    [public]
    path = /mnt/home/public
    guest ok = yes
    writable = yes
    force user = root



    To auto-start the Samba server at bootup, install the samba-autostart-1.1.pet below. It puts a script in /root/Startup that waits until your network is active, then runs samba-start. You can also use the script to mount any drives that you want to share.
    想要在开机时自动启动Samba服务器,安装下面的这个附件:samba-autostart-1.1.pet。它在 /root /Startup里放入一个启动脚本,等待你的网络激活,然后运行samba。您还可以使用脚本来安装任何驱动器共享。

    Or you can try adding the script to your rc.local. Then you could boot Puppy with the "pfix=nox,fsck" argument and run headless! And, if you don't mind working from the command line, you can install Openssh on the server and manage it remotely.
    或者你可以尝试将脚本添加到您的rc.local中。然后,你可以在Puppy开始启动时以“Pfix=nox,fsck”的参数来运行(run headless这不太懂,见谅哈!)而且,如果你不介意工作在命令行中,你可以安装Openssh在服务器上进行远程管理。
  • 孤风   12 年 17 周   回复
    原帖地址找到:http://www.murga-linux.com/puppy/viewtopic.php?t=60204

    接一楼内容:
    Avoid making changes to the server while clients are connected. This can cause hangups that will require rebooting to clear. If Samba starts to behave strangely, shut down any client machines and restart the Samba server.
    当客户端连接到服务器时要避免更改,这可能会导致挂断,同时需要重新启动服务来清除。如果Samba开始出现奇怪现象,任何客户端都会导致Samba服务器关掉或者重新启动。

    The Samba-TNG package contains the utility program rpcclient. Use it to create additional Samba users. For example:
    在Samba-TNG包里含有实用程序rpcclient,可用它来创建额外的Samba用户。例如:
    代码:
    rpcclient
    $help
    $enumusers
    $createuser spot -p barkbark
    $quit

    Any new Samba users you create must already exist as Puppy users. Also, Samba must be running in order for rpcclient to work.
    您创建任何新的Samba用户必须已经是Puppy用户。此外,Samba必须运行以便rpcclient工作。

    In the above default configuration, all the shares you create are public. But you might want to give each user their own private folder on the server. Here's how:
    在上面的默认配置中,你创建的所有的共享都是公开的。不过,你可以给每个用户在服务器上拥有自已的私人文件夹。具体方法如下:

    1. Create a Puppy user named Fred:
    创建一个名为弗雷德的Puppy用户:
    代码:
    adduser -D -h /mnt/home/fred fred

    2. To verify that you have made Fred's account correctly, type:
    为了验证弗雷德帐户是否正确,请键入:
    代码:
    ls -lH /mnt/home

    There should be an entry for fred with fred:fred ownership. If you make a mistake, type deluser fred and try again.
    应该有一个条目为弗雷德:弗雷德私人所有。如果你犯了一个错误,键入“deluser fred”命令然后再试一次。
  • 孤风   12 年 17 周   回复
    哈哈哈~~~真是太高兴了!翻译到此,也一边尝试。没想到一直想得到的效果出来了!

    windows xp可以在网上邻居里访问Puppy的共享文件夹了。原来这么简单?
  • 孤风   12 年 17 周   回复
    仔细看官网论坛的这篇帖子有启发哦~

    How to Use Samba-TNG Server in Puppy ?

    http://www.murga-linux.com/puppy/viewtopic.php?t=60204
  • wsgdmzr   12 年 17 周   回复
    期待大神的最新作品。
  • 匿名用户   12 年 17 周   回复
    期待大神的最新作品。
  • 匿名用户   12 年 17 周   回复
    期待大神的最新作品。
  • hzwpuppy   12 年 17 周   回复
    我好久没来这里看了。如果大家还喜欢的话,我可能会在今年有空的时候再次更新到最新的官方版本。
  • zyhx   12 年 18 周   回复
    precises系统集成的库可以使用ubuntu12.04的软件包;racy系统适用于较新的电脑;Wary系统适用于较旧的电脑(支持单核CPU和模拟拨号调制解调器)。
  • zyhx   12 年 18 周   回复
    precise-5.5.iso为母本定制,若编译软件当然是用该版本。