Posts Tagged ‘linux mint file sharing’

Linux Mint 16 Petra How-to Share Files Over Network with Nfs4 from Server to Client

February 16th, 2014 by Stalker | Comments Off | Filed in Tutorial

Linux Mint 16 Petra Nfs4 File Sharing Over Network

The Tutorial Show Step-by-Step How-to SetUp Linux Mint 16 Petra to Share Files Over Network with Nfs4 from a Server to Local or Remote Clients.

This same Linux Mint 16 Petra File Sharing Over Network SetUp will Works for a Network Composed from All Debian/Ubuntu Based Systems.

With this SetUp You will be Able to Sharing Files Over Network with Nfs4 on Linux Mint 16 Petra.

The “rpcbind” Package have Replaced the Old “portmap” and “nfs-kernel-server” Service the Precedent “nfs-common” one.

Linux Mint 16 Petra How-to Share Files Over Network - Featured
  1. Server Side SetUp
    1. Open a Terminal Window
    2. Install Required Packages
      su 
      apt-get update
      apt-get install nfs-kernel-server rpcbind nfs-common
    3. How-to Install Evernote Clone on Linux Mint:

      Install Evernote Clone for Mint

    4. Make Configuration
      1. Configure rpcbind
        nano /etc/default/rpcbind

        Inserts:

        OPTIONS=""

        Ctrl+x to Save & Exit from nano Editor.

        Then:

        nano /etc/hosts.allow

        For Example on a Local Network Append:

        portmap: 192.168.1.

        In this Example Allow 192.168.1.0/24 to be Accessed on Network.

      2. Configure idmapd
        nano /etc/default/nfs-common

        Inserts:

        NEED_IDMAPD=YES

        Then:

        nano /etc/idmapd.conf

        The Content should Correspond to:

        							[General]
        							Verbosity = 0
        							Pipefs-Directory = /var/lib/nfs/rpc_pipefs
        							Domain = localdomain
         
        							[Mapping]
        							Nobody-User = nobody
        							Nobody-Group = nogroup
        						
      3. How-to Install Google-Chrome on Linux Mint:

        Installing Chrome for Mint

      4. Configure NFS
        nano /etc/exports

        Append something Like:

        /exports   192.168.1.0/255.255.255.0(rw,no_root_squash,no_subtree_check,crossmnt,fsid=0)
    5. Make and Bind the Sharing Directories
      mkdir -p /exports/home

      Then to Bind Your home to /exports/home do:

      cd /exports
      mount --bind /home ./home

      To have this SetUp Loaded on Boot Edit fstab:

      nano /etc/fstab

      Appending like in Example:

      /home /exports/home none bind
    6. StartUp server File Sharing over Network Services
      /etc/init.d/nfs-kernel-server start
      /etc/init.d/rpcbind start
  2. Client Side SetUp
    1. Open a Terminal Window
    2. Install Required Packages
      su 
      apt-get update
      apt-get install nfs-common rpcbind
    3. How to Mount the Sharing Directories on the Client

  3. So After this SetUp a Portion of Your Choice on the Linux Mint 16 Petra File Sharing Server will be Shared with the Enabled Ubuntu/Debian Based Clients on Network.

Tags: , , , , , , ,