Sharing compiler license through NFS
For a system with a compiler license:
- Login as a root.
- # share -F nfs -o ro /opt/SUNWspro
- # dfshares [host name]
Above is a temporary solution. If you want to change it permanently,
- Edit /etc/dfs/dfstab
- Add line: share -F nfs -o ro /opt/SUNWspro
- # shareall
For a client system:
- # mkdir /opt/SUNWspro
- # mount -F nfs -o ro [host name with compiler]:/opt/SUNWspro /opt/SUNWspro
- # cd /opt/SUNWspro/bin
- # ./cc test.c (to confirm the license)