A Software
which is available in host1 called "SUNWman" is to be shared in
network and host2 machine on network
want to mount the "SUNWman" which is shared in host1 as a
local file resource. After Mounting the man software in
host2, the user can view the man pages in
host2.
IStep :
1
Share the "/usr/share/man" folder in
host1. Edit the file /etc/dfs/dfstab for permanent
sharing
share
-F nfs
/usr/share/man
Step : 2
Start the NFS Server daemons on NFS server (
host1)
# /etc/init.d/nfs.server
start
Step : 3
Verify the folder "/usr/share/man" is shared in
host1
# dfshares
Step : 4
Create a Local mounting point in host2
.
# mv /usr/share/man
/usr/share/man.org
# mkdir
/usr/share/man
Step : 5
Mount the "/usr/share/man" in
NFS client ( host2 ) . Edit the file /etc/vfstab for permanent
entry
host1:/usr/share/man
-
/usr/share/man
nfs
-
yes
soft,bg
Step : 6
Restart host2 and verify it is mounted
# mount
Step :
7
Issue a Man command in host2 and the man pages will be
listed
# man ls
( Solaris
Topics
)