Page 1 of 1

NFS server

Posted: 05 Apr 2012, 13:01
by Fistandantilus

is there any how to for setting up a NFS server under Porteus? Do I need a package to install?

thx F.

Re: NFS server

Posted: 06 Apr 2012, 03:30
by mailmegx
Hi Fistandantilus

Its easy enough all you need is nfs utils, I got mine from here: ... on=current

you will need to convert this to a porteus pagckage

Code: Select all

txz2xzm nfs-utils-1.2.3-i486-3.txz nfs-utils-1.2.3-i486-3.xzm
then add nfs-utils-1.2.3-i486-3.xzm to your modules folder
in order to share files you need to configure permissions in /etc/exports

so what I did was this (after activating nfs-utils-1.2.3-i486-3.xzm), be sure to have configured /etc/exports first!

Code: Select all

mkdir -p nfsconf/etc/rc.d
cp /etc/exports nfsconf/etc
cp /etc/rc.d/rc.nfs nfsconf/etc/rc.d
cp /etc/rc.d/rc.rpc nfsconf/etc/rc,d
chmod +x nfsconf/etc/rc,d/rc.nfs
chmod +x nfsconf/etc/rc,d/rc.rpc
dir2xzm nfsconfig zz_nfsconfig.xzm
Add zz_nfsconfig.xzm to modules folder

rc.nfs and rc.rpc are two services need to start at boot time.

Hope this helps