Kodi Community Forum
Easy Setup Guide For NFS in Linux - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Easy Setup Guide For NFS in Linux (/showthread.php?tid=175097)



Easy Setup Guide For NFS in Linux - protocol77 - 2013-10-06

hey does anyone know an easy to follow guide for setting up NFS for my xbmc machines i would be setting this up on an Ubuntu Based (Lubuntu) Home Server and i cannot seem to find an easy to use guide for connecting my xbmc machines (some windows and some openelec) to nfs shares


RE: Easy Setup Guide For NFS in Linux - artrafael - 2013-10-06

Have you read this wiki article already? NFS (wiki)


RE: Easy Setup Guide For NFS in Linux - protocol77 - 2013-10-06

yeah i have but i was looking for noob guide something like

Step 1: type this.....

Step 2 then type this...


preferrably with images if possible

i am just starting to learn linux so need to dumb it down for me Smile

basically i want to just share my tv show and movies folders with xbmc machines so i can scan then in and watch stuff i know i can simply use samba but i am looking to get the most performance as possible over the network


RE: Easy Setup Guide For NFS in Linux - doug piston - 2013-10-06

I'm not going to do pics but...

Code:
sudo apt-get install nfs-kernel-server
sudo nano /etc/exports

The last command will create your exports file by opening it in a text editor called nano. In that file you decide which directory you'd like to share and to what IP. For example I want to share the 'media' directory in my home directory and to my XBMC box which is at IP 192.168.1.110 so I would add this line

Code:
/home/adam/media 192.168.1.110(rw,no_subtree_check,async,insecure)

After that hold ctrl and hit 'x'. Follow the little guide at the bottom and it'll write and save the file.

Then restart the nfs server
Code:
sudo service nfs-kernel-server restart

PS> It's good to have static IP's for both the server and the client
PSS> I hate nano but it has an on screen guide and is a bit more newbie friendly.


RE: Easy Setup Guide For NFS in Linux - shadow - 2013-10-06

If you want to have any system on your LAN able to access the shares instead of just one, use this as the IP
192.168.1.0/24

Modify to your needs.