User Tools

Site Tools


install_dlinkdns3xx

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
install_dlinkdns3xx [2011/12/24 00:02]
cerberus
install_dlinkdns3xx [2012/01/22 09:19] (current)
cerberus
Line 1: Line 1:
 +<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 ======
  
Line 5: Line 9:
 ====== Method 1 - The simple method ====== ====== Method 1 - The simple method ======
  
-created a package with a debian squeeze, JRE6, apache2, curl, ssh, ffmpeg, lame, serviio and webui. +Package created with a debian squeeze, JRE6, ssh, ffmpeg, serviio and Web UI in Restful Ajax. 
-Just unzip the file and follow the instructions of README.+[[http://dl.free.fr/pwMve4L6n|the package with serviio 0.6.1]] 
 + 
 +//MD5 : B764F1E3B6D653136A4992D64D8BD314 
 +SHA-1 : 3395A2203C5251A00DBB4104EBD04A533132E5C7 
 +// 
 +After restartingthe password for the ssh client is : <fc #FF0000>serviio</fc> 
 + 
 +To connect in SSH to your NAS you can use putty or SecureCRT (google is your friend) 
 + 
 +More details: 
 + 
 + How to connect to your nas in ssh 
 + 
 +<code>ssh root@IpOfYourNas</code> 
 + 
 +the default password is "serviio" 
 + 
 +=== How to change the default password === 
 + 
 +<code>passwd</code> 
 + 
 +and follow the instruction 
 + 
 +=== How to launch WebUi in ajax === 
 +-> Launch WebUI's service : 
 + 
 +<code>/opt/serviio/bin/serviio-webui.sh &</code> 
 + 
 +-> Check if webui is running : 
 + 
 +<code>ps af | grep webui</code> 
 + 
 +you should see : 
 +XXXX ttyp0    S      0:00  \_ /bin/sh /opt/serviio/bin/serviio-webui.sh 
 + 
 +-> With your web broswer connect to the webUI 
 + 
 +<code>http://IpOfYourNas:8123/serviio/console</code> 
 + 
 + 
 +-> Configure the webUI 
 + 
 +<note important>When you have finish you must stop webUI to view serviio on your renderer </note> 
 + 
 +<code>ps auxef | grep webui</code> 
 +   
 +And Kill all the process. 
 +<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> 
 + 
 + 
 +=== How to modify the configure.xml file or to see serviio's log === 
 + 
 +<code>cd /opt/serviio/</code> 
 + 
 +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 === 
 + 
 +<code>top</code> 
 + 
 +or 
 + 
 +<code>ps auxef</code> 
 + 
 +or 
 + 
 +<code>ps auxef | grep serviio</code> 
 + 
 +you should see : 
 +/bin/sh /opt/serviio/bin/serviio.sh... 
 +\_ java -Xmx384M -Djava.net.preferIPv4Stack=true... 
 + 
 +====== Method 2 - The more complex method (or how I created this pack) ====== 
 + 
 +- Install a debian like squeeze, you will find here a [[ftp://ftp.dlink.pl/dns/dns-320/driver_software/DNS-320%26325_linuxDebian_revA_Squeeze_all_en_20110111.zip|Prebuild]] 
 +- Install serviio and webui 
 +- Install apache2, ffmpeg and lame 
 +- Configure apache2 to accept connections on port 8080 (because we want to let lighttpd) 
 +- Install open-JRE6 
 +- To start at boot, serviio we must add a line in the linuxrc 
 +=> And that's it ... 
 + 
 +====== 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.
  
 After restarting, the password for the ssh client is : serviio After restarting, the password for the ssh client is : serviio
Line 72: Line 169:
 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>
  
-====== Method 2 - The more complex method (or how I created this pack) ====== +\\
- +
-- Install a debian like squeeze, you will find here a [[ftp://ftp.dlink.pl/dns/dns-320/driver_software/DNS-320%26325_linuxDebian_revA_Squeeze_all_en_20110111.zip|Prebuild]] +
-- Install serviio and webui +
-- Install apache2, ffmpeg and lame +
-- Configure apache2 to accept connections on port 8080 (because we want to let lighttpd) +
-- Install open-JRE6 +
-- To start at boot, serviio we must add a line in the linuxrc +
-=> And that's it ... +
- +
-======  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
  
Line 117: Line 208:
 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~~
  
install_dlinkdns3xx.1324684961.txt.gz · Last modified: 2011/12/24 00:02 by cerberus