Difference between revisions of "Setting up a nfs-server"

From Alpine Linux
Jump to: navigation, search
(Created page with "= Installation = Install package: {{Cmd|apk add nfs-utils}} = Make it autostart = Export dirs in /etc/export, then {{Cmd|rc-update add nfs}} If you need just to mount nfs s...")
 
(Start it up now)
Line 16: Line 16:
 
= Start it up now =
 
= Start it up now =
 
{{Cmd|rc-service nfs start}}
 
{{Cmd|rc-service nfs start}}
 +
 +
or if you need to mount nfs share from fstab file now
 +
{{Cmd|rc-service nfsmount start}}

Revision as of 11:22, 20 February 2014

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

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