Fedora 8 installed
Host Name:west
IP address: 15.100.100.5/8
/etc/hosts
15.100.100.5 west
15.200.200.26 mylinux
Computer2:
Fedora 7 installed
Host Name: mylinux
IP address: 15.200.200.26/8
/etc/hosts
15.100.100.5 west
15.200.200.26 mylinux
Computer1:
Add the following lines to /etc/sysconfig/nfs
STATD_PORT=4001
LOCKD_TCPPORT=4002
LOCKD_UDPPORT=4002
MOUNTD_PORT=4003
Append the following two lines to /etc/services
rquotad 4004/tcp # rpc.rquotad tcp port
rquotad 4004/udp # rpc.rquotad udp port
Restart the nfs services
/etc/init.d/nfs restart
/etc/init.d/nfslock restart
/usr/sbin/rpcinfo -p
As shown, the portmapper,nfs,rquotad,nlockmgr, and mountd are started.
configure the Linux firewall to open the following ports:
111/tcp, 111/udp,4004/tcp,4004/udp,4003/tcp,4003/udp, 4002/tcp,4002/udp, 2049/tcp and 2049/udp.
mkdir /projects
mkdir /tests
/etc/exports
/projects mylinux(rw)
/tests mylinux(ro)
exportfs
computer2:
mkdir /projects.home
mkdir /tests.home
mount west:/projects /projects.home
mount west:/tests /tests.home