Both sides previous revision
Previous revision
|
|
howto:solaris:install [2012/01/29 12:13] n3mmr |
howto:solaris:install [2013/01/10 17:35] (current) zip |
**//<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> |
//** | //** |
| |
| |
<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> |
</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"/> |