The new service management facility in Solaris 10 provides a powerful means of administering services. This addition to Solaris means significant changes to operations related to service administration. This tech-recipe describes the command that will enable the NFS server in Solaris 10.
The NFS server service is dependent on numerous other services. Manually enabling all of these services would be tedious. The svcadm command makes this simple with one command:
svcadm -v enable -r network/nfs/server
The -v option makes the command output verbose details about the services enabled. You can use the -t option (..enable -rt network…) to enable these services temporarily (so that they will not be automatically enabled when the system reboots). By default, enabling a service will enable it permanently (persistent across reboots until it is disabled).