Pengen Punya WebSite instan kualitas intan ?

Wednesday, April 28, 2010

compile nfs kernel module on gento kernel 2.6.32

configure nfs modules
cd /usr/src/linux && make menuconfig


File systems  --->

[*] Network File Systems  --->

<M>   NFS client support                                        
[*]     NFS client support for NFS version 3

<M>   NFS server support                                        
[*]     NFS server support for NFS version 3


build kernel modules
make modules && make modules_install

load module on-the-fly
modprobe nfs && modprobe nfsd

Add "nfs" and "nfsd" to /etc/modules.autoload.d/kernel-2.6 to have the modules loaded each time you boot.
nano /etc/modules.autoload.d/kernel-2.6


nfs
nfsd


you can edit /etc/modules.autoload.d/kernel-2.4 files, if used kernel 2.4 on the box.

Emerging NFS


Install the nfs-utils package on both the server and the client (while not necessary for basic NFS on the client, it provides some useful features such as locking) with: emerge nfs-utils
emerge nfs-utils

starting nfsd
/etc/init.d/nfs start

0 comments:

Post a Comment