1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="vboxwebsrv-solaris">
|
---|
4 | <title>Oracle Solaris: Starting the Web Service With SMF</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>On Oracle Solaris hosts, the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> web service daemon is
|
---|
8 | integrated into the SMF framework. You can change the parameters, but do not have to if the defaults below already
|
---|
9 | match your needs: </p>
|
---|
10 | <pre xml:space="preserve">svccfg -s svc:/application/virtualbox/webservice:default setprop config/host=localhost
|
---|
11 | svccfg -s svc:/application/virtualbox/webservice:default setprop config/port=18083
|
---|
12 | svccfg -s svc:/application/virtualbox/webservice:default setprop config/user=root</pre>
|
---|
13 | <p>The table in <xref href="vboxwebsrv-linux.dita#vboxwebsrv-linux"/> showing the parameter names and defaults also
|
---|
14 | applies for Oracle Solaris. The parameter names must be changed to lowercase and a prefix of
|
---|
15 | <codeph>config/</codeph> has to be added. For example: <codeph>config/user</codeph> or
|
---|
16 | <codeph>config/ssl_keyfile</codeph>. If you make any change, do not forget to run the following command to put
|
---|
17 | the changes into effect immediately: </p>
|
---|
18 | <pre xml:space="preserve">svcadm refresh svc:/application/virtualbox/webservice:default</pre>
|
---|
19 | <p>If you forget the above command then the previous settings are used when enabling the service. Check the current
|
---|
20 | property settings as follows: </p>
|
---|
21 | <pre xml:space="preserve">svcprop -p config svc:/application/virtualbox/webservice:default</pre>
|
---|
22 | <p>When everything is configured correctly you can start the <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
|
---|
23 | web service with the following command: </p>
|
---|
24 | <pre xml:space="preserve">svcadm enable svc:/application/virtualbox/webservice:default</pre>
|
---|
25 | <p>For more information about SMF, please refer to the Oracle Solaris documentation. </p>
|
---|
26 | </body>
|
---|
27 |
|
---|
28 | </topic>
|
---|