This is an old revision of the document!
fonz fun plug on your nas - more info here
I created a package with a debian squeeze, JRE6, apache2, curl, ssh, ffmpeg, lame, serviio and webui.
Just unzip the file and follow the instructions of README.
After restarting, the password for the ssh client is : serviio
the package with serviio 0.6.0.1
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
the default password is “serviio”
How to change the default password
Code: passwd
and follow the instruction
How to launch WebUi
→Launch Apache's service :
Code: /etc/init.d/apache2 start
→Check if the apache is running :
Code: top
(You must have 4 line with apache2)
→With your web broswer connect to the webUI
Code: http://IPNAS:8080/serviio
Don't forget the :8080
→Configure the webUI
When you have finish you can stop apache2 to preserve cpu with :
Code: /etc/init.d/apache2 stop
How to modify the configure.xml file or to see serviio's log
Code: cd /opt/serviio/serviio-0.6.0.1/
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
or
Code: ps auxef
or
Code: ps auxef | grep serviio
you should see :
sh /opt/serviio/serviio-0.6.0.1/bin/serviio.sh…
\_ java -Xmx384M -Djava.net.preferIPv4Stack=true…
- Install a debian like squeeze, you will find here a 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 …
After download the last version of serviio (linux version, of course), unpack them in /opt/serviio
Keep your old folder, and above your library folder.
Delete the library's folder of your new version of serviio and create a symbolic link to the older.
For example, i updated Serviio 0.6.0.1 to 0.6.1
Code: rm -r /opt/serviio/serviio-0.6.1/library
Code: ln -s /opt/serviio/serviio-0.6.0.1/library /opt/serviio/serviio-0.6.1/library
if that works a ls -l must give you :
Code: library -> ../serviio-0.6.0.1/library
you must to update the webUI, so download the last version.
If it's necessary edit the file “config.php” and change the line $version_req = “0.6” to
Code: $version_req = "0.6.0.1";
and to finish change the line in www folder :
Code: ln -s /opt/serviio/[Folder of new WebUI] /var/www/serviio
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