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/19 09:50] 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 | + | |
- | The likeliest change needed is " | + | |
+ | === Note that, Solaris or OpenIndiana or any other Solaris descendant, is NOT Linux === | ||
- | First, make sure you have the appropriate supporting SW installed: | + | <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. //</ | ||
+ | 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 serviio linux tar distro, and extract it under / | + | Download |
Create a group " | Create a group " | ||
Line 16: | Line 29: | ||
**//<fc # | **//<fc # | ||
- | and a user " | + | and a user " |
- | **//<fc # | + | **//<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 / | + | Now, make sure the / |
**//<fc #0000FF> | **//<fc #0000FF> | ||
- | prompt> cd /usr/local; chown -R serviio: | + | prompt> cd /usr/local; chown -R serviio: |
//** | //** | ||
Line 30: | Line 43: | ||
<fc # | <fc # | ||
- | **//<fc # | + | **//<fc # |
</ | </ | ||
**//<fc #0000FF> | **//<fc #0000FF> | ||
Line 47: | Line 60: | ||
Make sure serviio is stopped! | Make sure serviio is stopped! | ||
+ | **Lastly, define a system service that controls Serviio, and start it** | ||
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 59: | 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 # |
</ | </ | ||
Line 93: | Line 106: | ||
< | < | ||
</ | </ | ||
- | |||
- | |||
- | | ||
- | | ||
- | | ||
| | ||
< | < | ||
Line 103: | Line 111: | ||
</ | </ | ||
- | < | + | < |
< | < | ||
Line 109: | Line 117: | ||
< | < | ||
<propval name=" | <propval name=" | ||
- | | ||
- | | ||
<propval name=" | <propval name=" | ||
</ | </ | ||
Line 117: | Line 123: | ||
| | ||
</ | </ | ||
- | | ||
| | ||
< | < |