Project

General

Profile

Support #932

Updated by Daniel Curtis about 6 years ago

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

 h2. Install NFS 

 * Make a directory to serve files from: 
 <pre> 
 mkdir -p /srv/nfs/public 
 </pre> 

 * Install nfs-utils 
 <pre> 
 apk add nfs-utils 
 </pre> 

 * Edit the exports file: 
 <pre> 
 nano /etc/exports 
 </pre> 
 #* And add the following: 
 <pre> 
 /srv/nfs/public 192.168.1.0/24(ro,all_squash,insecure,no_subtree_check) 
 </pre> 

 * Start and enable nfs at boot: 
 <pre> 
 rc-update add nfs 
 rc-service nfs start 
 </pre> 

 h2. Resources 

 * https://wiki.alpinelinux.org/wiki/Setting_up_a_nfs-server

Back