This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:solaris:install [2012/01/18 12:25] n3mmr |
howto:solaris:install [2013/01/10 17:35] (current) zip |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | The below procedure installs | + | ====== How to install |
- | It will likely work just as well, with possibly minor details changed, on Solaris | + | |
+ | === Note that, Solaris or OpenIndiana or any other Solaris descendant, is NOT Linux === | ||
+ | <fc # | ||
+ | Most of the visible differences occur in admin software, but a few quirks exist in userland, too. | ||
+ | And the package system is aggressively different. | ||
+ | Still, most any Java library is likely to run w/o any problem, and most Linux software | ||
+ | can be automatically transformed to run in Solaris descendants. | ||
+ | And, given its heritage, Solaris makes for very good and reliable servers. //</ | ||
- | First, make sure you have the appropriate supporting SW installed: | + | The below procedure installs serviio as a service under SMF in Openindiana v 151a and later. |
+ | 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: | ||
ffmpeg 0.9.1 with rtmp-support, | ffmpeg 0.9.1 with rtmp-support, | ||
http:// | http:// | ||
- | from where you can install using the IPS installer, pkg, of your openindiana | + | from where you can install using the IPS installer, pkg, of your OpenIndiana |
+ | |||
+ | **Get the distro and install it** | ||
- | Then get the linux tar distro, and extract it under / | + | Download |
- | Now test it by running it manually: | + | Create a group " |
- | **//<fc # | + | **//<fc # |
+ | |||
+ | and a user " | ||
+ | |||
+ | **//<fc # | ||
+ | |||
+ | On my system, 103 was free in both cases, and one might as well use the same number for both. | ||
+ | |||
+ | Now, make sure the / | ||
+ | **//<fc # | ||
+ | prompt> cd /usr/local; chown -R serviio: | ||
+ | //** | ||
+ | |||
+ | Now test it by running it manually, as user serviio: | ||
+ | |||
+ | <fc # | ||
+ | **//<fc # | ||
</ | </ | ||
**//<fc #0000FF> | **//<fc #0000FF> | ||
Line 31: | Line 60: | ||
Make sure serviio is stopped! | Make sure serviio is stopped! | ||
- | Now create a group " | + | **Lastly, define |
- | + | ||
- | **//<fc # | + | |
- | + | ||
- | and a user " | + | |
- | + | ||
- | **//<fc # | + | |
- | + | ||
- | On my system, 103 was free in both cases, and one might as well use the same number for both. | + | |
- | + | ||
- | Now, make sure the / | + | |
- | **//<fc # | + | |
- | prompt> cd /usr/local; chown -R serviio: | + | |
- | //** | + | |
Save the xml text found at the end of this page in a file " | Save the xml text found at the end of this page in a file " | ||
**// | **// | ||
Line 57: | 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 # | + | **//<fc # |
</ | </ | ||
+ | |||
+ | You can look at the serviio service by doing | ||
+ | ** | ||
+ | //<fc # | ||
and as you can see, you need not use the full fmri, as long as you use enough of the name to make it unique. | and as you can see, you need not use the full fmri, as long as you use enough of the name to make it unique. | ||
+ | As a final check, just in case, look at / | ||
+ | This might be wrong if you had an earlier copy running as some user other than serviio, or you did the manual test above not as user serviio. | ||
+ | < | ||
---------serviio.xml file contents------------ | ---------serviio.xml file contents------------ | ||
Line 84: | Line 106: | ||
< | < | ||
</ | </ | ||
- | |||
- | |||
- | | ||
- | | ||
- | | ||
| | ||
< | < | ||
Line 94: | Line 111: | ||
</ | </ | ||
- | < | + | < |
< | < | ||
Line 100: | Line 117: | ||
< | < | ||
<propval name=" | <propval name=" | ||
- | | ||
- | | ||
<propval name=" | <propval name=" | ||
</ | </ | ||
Line 108: | Line 123: | ||
| | ||
</ | </ | ||
- | | ||
| | ||
< | < | ||
Line 124: | Line 138: | ||
</ | </ | ||
-------end of serviio.xml contents--------------- | -------end of serviio.xml contents--------------- | ||
+ | </ |