unix:freebsd:system_builds:nfsserver
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| unix:freebsd:system_builds:nfsserver [2020/04/24 22:38] – rodolico | unix:freebsd:system_builds:nfsserver [2026/04/14 18:29] (current) – rodolico | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| We also want to export to a couple of running virtuals to store large amounts of data. Since they have public interfaces, we need to set up our nfs server to only allow limited access to our nfs server, both by limiting through nfs and also with firewalls. | We also want to export to a couple of running virtuals to store large amounts of data. Since they have public interfaces, we need to set up our nfs server to only allow limited access to our nfs server, both by limiting through nfs and also with firewalls. | ||
| + | |||
| + | ===== Devuan (Debian) ===== | ||
| + | |||
| + | Linux does not, by default, install an nfs server. To install (Devuan, Debian derivative) | ||
| + | |||
| + | <code bash> | ||
| + | apt install -y nfs-kernel-server | ||
| + | </ | ||
| + | |||
| + | Also, the syntax for / | ||
| + | < | ||
| + | /srv/nfs 192.0.2.10(rw, | ||
| + | </ | ||
| + | |||
| + | And the way to start/ | ||
| + | |||
| + | <code bash> | ||
| + | exportfs -ra # re-export filesystems | ||
| + | exportfs -v # view exports | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | |||
| ===== Set up storage space ===== | ===== Set up storage space ===== | ||
| Line 61: | Line 84: | ||
| rpcbind_enable=" | rpcbind_enable=" | ||
| nfs_server_enable=" | nfs_server_enable=" | ||
| + | mountd_enable=" | ||
| + | |||
| # the -h below binds nfsd to a specific IP, so a machine with | # the -h below binds nfsd to a specific IP, so a machine with | ||
| # multiple IP's will only respond if this one is used for the | # multiple IP's will only respond if this one is used for the | ||
unix/freebsd/system_builds/nfsserver.1587785918.txt.gz · Last modified: by rodolico
