Setting up an NFS server: Difference between revisions

From Alpine Linux
m (Categorized: Server)
(One intermediate revision by one other user not shown)
Line 25: Line 25:
or
or


{{Cmd|rc-service nfsmount start}}
{{Cmd|rc-service netmount start}}
 
[[Category:Server]]

Revision as of 03:05, 21 September 2017

Installation

Install package:

apk add nfs-utils

Make it autostart

Export dirs in /etc/export, 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