Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
install_dlinkdns3xx [2012/01/13 21:05] tihob |
install_dlinkdns3xx [2012/01/22 09:19] cerberus |
| <note> |
| Its recommended to install fresh with 0.6.1 as alot of changes and it will save you alot of time </note> |
| |
| |
====== Install this before starting ====== | ====== Install this before starting ====== |
| |
| |
Package created with a debian squeeze, JRE6, ssh, ffmpeg, serviio and Web UI in Restful Ajax. | Package created with a debian squeeze, JRE6, ssh, ffmpeg, serviio and Web UI in Restful Ajax. |
[[http://www.megaupload.com/?d=VP2VGJ13|the package with serviio 0.6.1]] | [[http://dl.free.fr/pwMve4L6n|the package with serviio 0.6.1]] |
| |
| //MD5 : B764F1E3B6D653136A4992D64D8BD314 |
| SHA-1 : 3395A2203C5251A00DBB4104EBD04A533132E5C7 |
| // |
After restarting, the password for the ssh client is : <fc #FF0000>serviio</fc> | After restarting, the password for the ssh client is : <fc #FF0000>serviio</fc> |
| |
How to connect to your nas in ssh | How to connect to your nas in ssh |
| |
Code: ssh root@IpOfYourNas | <code>ssh root@IpOfYourNas</code> |
| |
the default password is "serviio" | the default password is "serviio" |
| |
How to change the default password | === How to change the default password === |
| |
Code: passwd | <code>passwd</code> |
| |
and follow the instruction | and follow the instruction |
| |
How to launch WebUi in ajax | === How to launch WebUi in ajax === |
->Launch WebUI's service : | -> Launch WebUI's service : |
| |
Code: /opt/serviio/bin/serviio-webui.sh & | <code>/opt/serviio/bin/serviio-webui.sh &</code> |
| |
->Check if webui is running : | -> Check if webui is running : |
| |
| <code>ps af | grep webui</code> |
| |
Code: ps af | grep webui | |
you should see : | you should see : |
XXXX ttyp0 S 0:00 \_ /bin/sh /opt/serviio/bin/serviio-webui.sh | XXXX ttyp0 S 0:00 \_ /bin/sh /opt/serviio/bin/serviio-webui.sh |
| |
->With your web broswer connect to the webUI | -> With your web broswer connect to the webUI |
| |
Code: http://IpOfYourNas:8123/serviio/console | <code>http://IpOfYourNas:8123/serviio/console</code> |
| |
| |
->Configure the webUI | -> Configure the webUI |
| |
When you have finish you can stop webUI to preserve cpu with (sorry but you will use kill command): | <note important>When you have finish you must stop webUI to view serviio on your renderer </note> |
| |
Code: ps auxef | grep webui | <code>ps auxef | grep webui</code> |
| |
And Kill all the process. | And Kill all the process. |
For example : | <code> 4018 ttyp0 S 0:00 \_ /bin/sh /opt/serviio/bin/serviio-webui.sh TERM=vt100 SHELL=/bin/bash SSH_CLIENT=192.168.0.10 8397 22 SSH_TTY=/dev/ttyp0 USER=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/ SHLVL=1 HOME=/root LOGNAME=root SSH_CONNECTION=192.168.0.10 8397 192.168.0.15 22 _=/opt/serviio/bin/serviio-webui.sh OLDPWD=/opt/serviio/bin |
| 4025 ttyp0 Sl 0:06 | \_ java -Xms5M -XX:+UseParNewGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -Dfile.encoding=UTF-8 -Dserviio.home=/opt/serviio -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -classpath /opt/serviio/config:/opt/serviio/plugins/serviio-webclient.jar:/opt/serviio/plugins/serviio-wrapper.jar:/opt/serviio/lib/concurrent.jar:/opt/serviio/lib/derby.jar:/opt/serviio/lib/freemarker.jar:/opt/serviio/lib/groovy-all.jar:/opt/serviio/lib/gson.jar:/opt/serviio/lib/httpcore.jar:/opt/serviio/lib/jaudiotagger.jar:/opt/serviio/lib/jcl-over-slf4j.jar:/opt/serviio/lib/jcs.jar:/opt/serviio/lib/jdom.jar:/opt/serviio/lib/jul-to-slf4j.jar:/opt/serviio/lib/log4j.jar:/opt/serviio/lib/org.restlet.ext.gson.jar:/opt/serviio/lib/org.restlet.ext.net.jar:/opt/serviio/lib/org.restlet.ext.xstream.jar:/opt/serviio/lib/org.restlet.jar:/opt/serviio/lib/rome-modules.jar:/opt/serviio/lib/rome.jar:/opt/serviio/lib/sanselan.jar:/opt/serviio/lib/serviio-client.jar:/opt/serviio/lib/serviio.jar:/opt/serviio/lib/slf4j-api.jar:/opt/serviio/lib/slf4j-log4j12.jar:/opt/serviio/lib/winp.jar:/opt/serviio/lib/xstream.jar org.serviio.restui.RestletProxy USER=root SSH_CLIENT=192.168.0.10 8397 22 MAIL=/var/mail/root SHLVL=1 OLDPWD=/opt/serviio/bin HOME=/root SSH_TTY=/dev/ttyp0 SERVIIO_WEBUI_HOME=/opt/serviio LOGNAME=root _=/opt/serviio/bin/serviio-webui.sh TERM=vt100 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/bash PWD=/ SSH_CONNECTION=192.168.0.10 8397 192.168.0.15 22 LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/arm/server:/usr/lib/jvm/java-6-openjdk/jre/lib/arm:/usr/lib/jvm/java-6-openjdk/jre/../lib/arm |
| 4181 ttyp0 S+ 0:00 \_ grep webui TERM=vt100 SHELL=/bin/bash SSH_CLIENT=192.168.0.10 8397 22 SSH_TTY=/dev/ttyp0 USER=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/ SHLVL=1 HOME=/root LOGNAME=root SSH_CONNECTION=192.168.0.10 8397 192.168.0.15 22 _=/bin/grep OLDPWD=/opt/serviio/bin |
| </code> |
| |
| <code> |
| kill -9 4018 4025 |
| </code> |
| |
== <fc #000080>4018</fc> ttyp0 S 0:00 \_ /bin/sh /opt/serviio/bin/serviio-webui.sh TERM=vt100 SHELL=/bin/bash SSH_CLIENT=192.168.0.10 8397 22 SSH_TTY=/dev/ttyp0 USER=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/ SHLVL=1 HOME=/root LOGNAME=root SSH_CONNECTION=192.168.0.10 8397 192.168.0.15 22 _=/opt/serviio/bin/serviio-webui.sh OLDPWD=/opt/serviio/bin | |
<fc #000080>4025</fc> ttyp0 Sl 0:06 | \_ java -Xms5M -XX:+UseParNewGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -Dfile.encoding=UTF-8 -Dserviio.home=/opt/serviio -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -classpath /opt/serviio/config:/opt/serviio/plugins/serviio-webclient.jar:/opt/serviio/plugins/serviio-wrapper.jar:/opt/serviio/lib/concurrent.jar:/opt/serviio/lib/derby.jar:/opt/serviio/lib/freemarker.jar:/opt/serviio/lib/groovy-all.jar:/opt/serviio/lib/gson.jar:/opt/serviio/lib/httpcore.jar:/opt/serviio/lib/jaudiotagger.jar:/opt/serviio/lib/jcl-over-slf4j.jar:/opt/serviio/lib/jcs.jar:/opt/serviio/lib/jdom.jar:/opt/serviio/lib/jul-to-slf4j.jar:/opt/serviio/lib/log4j.jar:/opt/serviio/lib/org.restlet.ext.gson.jar:/opt/serviio/lib/org.restlet.ext.net.jar:/opt/serviio/lib/org.restlet.ext.xstream.jar:/opt/serviio/lib/org.restlet.jar:/opt/serviio/lib/rome-modules.jar:/opt/serviio/lib/rome.jar:/opt/serviio/lib/sanselan.jar:/opt/serviio/lib/serviio-client.jar:/opt/serviio/lib/serviio.jar:/opt/serviio/lib/slf4j-api.jar:/opt/serviio/lib/slf4j-log4j12.jar:/opt/serviio/lib/winp.jar:/opt/serviio/lib/xstream.jar org.serviio.restui.RestletProxy USER=root SSH_CLIENT=192.168.0.10 8397 22 MAIL=/var/mail/root SHLVL=1 OLDPWD=/opt/serviio/bin HOME=/root SSH_TTY=/dev/ttyp0 SERVIIO_WEBUI_HOME=/opt/serviio LOGNAME=root _=/opt/serviio/bin/serviio-webui.sh TERM=vt100 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/bash PWD=/ SSH_CONNECTION=192.168.0.10 8397 192.168.0.15 22 LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/arm/server:/usr/lib/jvm/java-6-openjdk/jre/lib/arm:/usr/lib/jvm/java-6-openjdk/jre/../lib/arm | |
4181 ttyp0 S+ 0:00 \_ grep webui TERM=vt100 SHELL=/bin/bash SSH_CLIENT=192.168.0.10 8397 22 SSH_TTY=/dev/ttyp0 USER=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/ SHLVL=1 HOME=/root LOGNAME=root SSH_CONNECTION=192.168.0.10 8397 192.168.0.15 22 _=/bin/grep OLDPWD=/opt/serviio/bin | |
== | |
| |
Code: kill -9 4018 4025 | === How to modify the configure.xml file or to see serviio's log === |
| |
How to modify the configure.xml file or to see serviio's log | <code>cd /opt/serviio/</code> |
| |
Code: cd /opt/serviio/ | |
| |
you can browse to the serviio's files with the command "cd" (type "man cd" to have more information) | you can browse to the serviio's files with the command "cd" (type "man cd" to have more information) |
| |
How to see if serviio realy running | === How to see if serviio realy running === |
| |
Code: top | <code>top</code> |
| |
or | or |
| |
Code: ps auxef | <code>ps auxef</code> |
| |
or | or |
| |
Code: ps auxef | grep serviio | <code>ps auxef | grep serviio</code> |
| |
you should see : | you should see : |
=> And that's it ... | => And that's it ... |
| |
====== Archive - Package with Serviio 0.6.0.1 and WEBUI ====== | ====== Archive of OLD packages ====== |
| |
| <hidden Archive - Package with Serviio 0.6.0.1 and WEBUI> |
| '' |
Package created with a debian squeeze, JRE6, apache2, curl, ssh, ffmpeg, lame, serviio and webui. | Package created with a debian squeeze, JRE6, apache2, curl, ssh, ffmpeg, lame, serviio and webui. |
| |
sh /opt/serviio/serviio-0.6.0.1/bin/serviio.sh... | sh /opt/serviio/serviio-0.6.0.1/bin/serviio.sh... |
\_ java -Xmx384M -Djava.net.preferIPv4Stack=true... | \_ java -Xmx384M -Djava.net.preferIPv4Stack=true... |
| '' |
| </hidden> |
| |
| \\ |
| |
====== How to update to Serviio 0.6.1 and after... ====== | <hidden Archive - How to update to Serviio 0.6.1 and after...> |
| '' |
After download the last version of serviio (linux version, of course), unpack them in /opt/serviio | After download the last version of serviio (linux version, of course), unpack them in /opt/serviio |
| |
For exemple, for me it gives (with ls -l /var/www/) : | For exemple, for me it gives (with ls -l /var/www/) : |
lrwxrwxrwx 1 root root 29 8 oct. 14:49 serviio -> ../../opt/serviio/serviio-0.6 | lrwxrwxrwx 1 root root 29 8 oct. 14:49 serviio -> ../../opt/serviio/serviio-0.6 |
| '' |
| </hidden> |
| |
| ~~NOTOC~~ |
| |