NFS server

Post here if you are a new Porteus member and you're looking for some help.
Fistandantilus
White ninja
White ninja
Posts: 14
Joined: 20 Jul 2011, 18:31
Location: Germany

NFS server

Post#1 by Fistandantilus » 05 Apr 2012, 13:01

Hi,

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

thx F.

mailmegx
White ninja
White ninja
Posts: 29
Joined: 23 Mar 2012, 18:44
Distribution: Porteus 1.2 XFCE 64bit
Location: Cyprus

Re: NFS server

Post#2 by mailmegx » 06 Apr 2012, 03:30

Hi Fistandantilus

Its easy enough all you need is nfs utils, I got mine from here:
http://packages.zenwalk.org/?p=nfs-util ... on=current

you will need to convert this to a porteus pagckage

Code: Select all

wget http://distro.ibiblio.org/pub/linux/distributions/zenwalk/i486/current/n/nfs-utils-1.2.3-i486-3.txz
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

su
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

GX

Post Reply