Project

General

Profile

Support #932

Setup an NFS Server on Alpine Linux

Added by Daniel Curtis over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Server
Target version:
Start date:
04/08/2018
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

This is a guide on setting up an NFS server on Alpine Linux.

Install NFS

  • Make a directory to serve files from:
    mkdir -p /srv/nfs/public
    
  • Install nfs-utils
    apk add nfs-utils
    
  • Edit the exports file:
    nano /etc/exports
    
    • And add the following:
      /srv/nfs/public 192.168.1.0/24(ro,all_squash,insecure,no_subtree_check)
      
  • Start and enable nfs at boot:
    rc-update add nfs
    rc-service nfs start
    

Resources

Also available in: Atom PDF