File: vboxwebsrv-solaris.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (28 lines) | stat: -rw-r--r-- 2,008 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="vboxwebsrv-solaris">
  <title>Oracle Solaris: Starting the Web Service With SMF</title>
  
  <body>
    <p>On Oracle Solaris hosts, the <ph conkeyref="vbox-conkeyref-phrases/product-name"/> web service daemon is
      integrated into the SMF framework. You can change the parameters, but do not have to if the defaults below already
      match your needs: </p>
    <pre xml:space="preserve">svccfg -s svc:/application/virtualbox/webservice:default setprop config/host=localhost
svccfg -s svc:/application/virtualbox/webservice:default setprop config/port=18083
svccfg -s svc:/application/virtualbox/webservice:default setprop config/user=root</pre>
    <p>The table in <xref href="vboxwebsrv-linux.dita#vboxwebsrv-linux"/> showing the parameter names and defaults also
      applies for Oracle Solaris. The parameter names must be changed to lowercase and a prefix of
        <codeph>config/</codeph> has to be added. For example: <codeph>config/user</codeph> or
        <codeph>config/ssl_keyfile</codeph>. If you make any change, do not forget to run the following command to put
      the changes into effect immediately: </p>
    <pre xml:space="preserve">svcadm refresh svc:/application/virtualbox/webservice:default</pre>
    <p>If you forget the above command then the previous settings are used when enabling the service. Check the current
      property settings as follows: </p>
    <pre xml:space="preserve">svcprop -p config svc:/application/virtualbox/webservice:default</pre>
    <p>When everything is configured correctly you can start the <ph conkeyref="vbox-conkeyref-phrases/product-name"/>
      web service with the following command: </p>
    <pre xml:space="preserve">svcadm enable svc:/application/virtualbox/webservice:default</pre>
    <p>For more information about SMF, please refer to the Oracle Solaris documentation. </p>
  </body>
  
</topic>