Setting up an NFS server

From Alpine Linux
(Redirected from Setting up a nfs-server)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Installation

Install package:

apk add nfs-utils

Make it autostart

Export dirs in /etc/exports, then

rc-update add nfs

If you need just to mount nfs share from fstab file at booting of the system

rc-update add nfsmount

or

rc-update add netmount

You can check your boot services:

rc-status

Start it up now

rc-service nfs start

or if you need to mount nfs share from fstab file now

rc-service nfsmount start

or

rc-service netmount start