Sharing compiler license through NFS

For a system with a compiler license:

  1. Login as a root.
  2. # share -F nfs -o ro /opt/SUNWspro
  3. # dfshares [host name]
    Above is a temporary solution. If you want to change it permanently,
  4. Edit /etc/dfs/dfstab
  5. Add line: share -F nfs -o ro /opt/SUNWspro
  6. # shareall

For a client system:

  1. # mkdir /opt/SUNWspro
  2. # mount -F nfs -o ro [host name with compiler]:/opt/SUNWspro /opt/SUNWspro
  3. # cd /opt/SUNWspro/bin
  4. # ./cc test.c (to confirm the license)