$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

Nfs File Share Antix Linux Setup – Step-by-step

September 6, 2018 | By the+gnu+linux+evangelist.

Setting Up Server

  1. Setting up Server

    1. 1. Accessing Shell

      Open a Shell Session
      Terminal Window on a Desktop
      (Press “Enter” to Execute Commands)

    2. 2. Installing Software

      Now Install Required Packages
      With:

      sudo apt install nfs-kernel-server rpcbind nfs-common
    3. 3. Configuring

      Again

      Make Configuration.

      1. Configure rpcbind.

        sudo nano /etc/default/rpcbind

        Append:

        OPTIONS=""

        Ctrl+x to Save & Exit from nano Editor.

        Again:

        sudo nano /etc/hosts.allow

        For Example on a Local Network:

        portmap: 192.168.1.

        To Find your Machine IP Address do:

        ifconfig

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

      2. Configure idmapd.

        sudo nano /etc/default
        fs-common

        Inserts:

        NEED_IDMAPD=YES

        Then:

        sudo nano /etc/idmapd.conf

        The Content should Correspond to:

        [General]
        Verbosity = 0
        Pipefs-Directory = /var/lib
        fs/rpc_pipefs
        Domain = localdomain
        
        [Mapping]
        Nobody-User = nobody
        Nobody-Group = nogroup
        
      3. Configure NFS.

        sudo 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)
    4. 4. Bindinding Directories

      Now Make and Bind the Sharing Directories.

      sudo mkdir -p /exports/home

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

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

      To have this SetUp Loaded on Boot Edit fstab:

      sudo nano /etc/fstab

      Appending like in Example:

      /home /exports/home none bind
    5. 5. Starting Services

      Now StartUp server File Sharing over Network Services
      Run:

      sudo /etc/init.d
      fs-kernel-server start

      And again:

      sudo /etc/init.d/rpcbind start

Contents