[Linux] Share Files

876阅读 0评论2011-11-04 web_surf
分类:LINUX

  1. Samba
    Share files from Windows to Linux.
    input 'smb:/' on Location of File Explorer on Linux.
  2. NFS
  3. mount disk on network
    • In the same domain
      sudo mount /// -o username=myusername
    • In the different domain
      • mount direct
        a) Use mount
        sudo mount /// -o username=@

        b) Use smbmount
        smbmount :/ -o username=
      • make them in the same domain
        - Check & modify domian on Windows
          right click My Computer, and then switch to Computer Name tab,
        - Check & modify domain on Linux
          edit /etc/resolv.conf, and modify the line that contains 'domain'
      • xxx

  4. Copy files beteween Linux
    (The remote computer must run sshd)
    scp @:/
    scp @:/
  5. xxx
上一篇:[Java] Format & Parse: Date, Number, Decimal, Message
下一篇:[Java] Exception: try-catch-finally