Easy Setup Guide For NFS in Linux
#1
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
Reply
#2
Have you read this wiki article already? NFS (wiki)
Reply
#3
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
Reply
#4
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.
Reply
#5
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Easy Setup Guide For NFS in Linux0