Kodi Community Forum

Full Version: Easy Setup Guide For NFS in Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Have you read this wiki article already? NFS (wiki)
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
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.
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.