LONEADMIN.COM
Resources for Crusty Old Sysadmins
--------------------------------------------------------

Home

UNIX Crap
- Export and Mount NFS Shares

Network Crap
- Use a Raspberry Pi as a WiFi Router

SGI/IRIX Crap
- Basic SGI hardware info
- Installing Photoshop 3.0.1
- Installing Illustrator

Classic Macintosh Crap
- Mac Plus SCSI and using a BlueSCSI
- Mac IIci repair notes

Sun/Solaris Crap
- SunPCi cards

NeXT Crap
- Basic hardware info

Abandonware Resources

Export an NFS Share
Raspberry Pi
Edit /etc/exports and add a line that specifies the exported directory:
/export/dir.to.share *(rw,all_squash,insecure,no_subtree_check,anonuid=1000,anongid=1000)
(No, this is not secure and restrictive. It's quick and dirty, and gets the job done. Secure configs can be added once you have the basic incantation.)

Run the below command to export the share:
exportfs -a
Start the NFS daemon:
/etc/init.d/nfs-kernel-server start

Mount a Remote NFS Share
Basically any UNIX or Linux
mount -t nfs ip.of.ser.ver:/path/to/share /path/to/mnt
or
mount -t nfs name.of.server:/path/to/share /path/to/mnt



© 2022 Kurt Huhn