User Tools

Site Tools


howto:solaris:install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:solaris:install [2012/01/19 11:47]
n3mmr
howto:solaris:install [2013/01/10 17:35] (current)
zip
Line 13: Line 13:
 It will likely work just as well, with possibly minor details changed, on Solaris 10 or 11, Nexenta and OpenSolaris b134 (possibly earlier versions too). It will likely work just as well, with possibly minor details changed, on Solaris 10 or 11, Nexenta and OpenSolaris b134 (possibly earlier versions too).
  
 +The serviio console should normally be started from a separate copy of serviio, given the below setup.
 +In most useful cases, this is anyway the case, since you want serviio running on a server machine, and you run the console from another machine, say your laptop.
  
 **First, make sure you have the appropriate supporting SW installed:** **First, make sure you have the appropriate supporting SW installed:**
Line 27: Line 29:
 **//<fc #0000FF>prompt> groupadd -g 103 serviio</fc>//** **//<fc #0000FF>prompt> groupadd -g 103 serviio</fc>//**
  
-and a user "serviio" with home directory /usr/local/serviio-0.6.1/ and a uid > 100, and with the group serviio as it's primary group+and a user "serviio" with home directory /usr/local/serviio-1.1/ and a uid > 100, and with the group serviio as it's primary group
  
-**//<fc #0000FF>prompt> useradd -u 103 -g 103 -d /usr/local/serviio-0.6.1 serviio</fc>//**+**//<fc #0000FF>prompt> useradd -u 103 -g 103 -d /usr/local/serviio-1.1 serviio</fc>//**
  
 On my system, 103 was free in both cases, and one might as well use the same number for both. On my system, 103 was free in both cases, and one might as well use the same number for both.
  
-Now, make sure the /usr/local/serviio-0.6.1 tree is owned by the group serviio and the user serviio:+Now, make sure the /usr/local/serviio-1.1 tree is owned by the group serviio and the user serviio:
 **//<fc #0000FF> **//<fc #0000FF>
-prompt> cd /usr/local; chown -R serviio:serviio serviio-0.6.1</fc>+prompt> cd /usr/local; chown -R serviio:serviio serviio-1.1</fc>
 //** //**
  
Line 41: Line 43:
  
 <fc #0000FF>//**prompt> pfexec su serviio**//</fc> <fc #0000FF>//**prompt> pfexec su serviio**//</fc>
-**//<fc #0000FF>prompt> cd /usr/local/serviio-0.6.1 +**//<fc #0000FF>prompt> cd /usr/local/serviio-1.1 
 </fc>//** </fc>//**
 **//<fc #0000FF> **//<fc #0000FF>
Line 70: Line 72:
 Next enable the service, so that it will start up whenever the machine is booted, and will be restarted if it gets shot down by mistake. Next enable the service, so that it will start up whenever the machine is booted, and will be restarted if it gets shot down by mistake.
  
-**//<fc #0000FF>prompt> svcadm enable serviio+**//<fc #0000FF>prompt> pfexec svcadm enable serviio
 </fc>//** </fc>//**
  
Line 109: Line 111:
         </method_context>         </method_context>
  
-        <exec_method type="method" name="start" exec="/usr/local/serviio-0.6.1/bin/serviio.sh" timeout_seconds="60"/>+        <exec_method type="method" name="start" exec="/usr/local/serviio-1.1/bin/serviio.sh" timeout_seconds="60"/>
  
         <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>         <exec_method type="method" name="stop" exec=":kill" timeout_seconds="60"/>
howto/solaris/install.1326973654.txt.gz ยท Last modified: 2012/01/19 11:47 by n3mmr