User Tools

Site Tools


install_wd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
install_wd [2012/01/12 08:37]
cerberus
install_wd [2012/01/12 08:41] (current)
cerberus Updated to thejazzman's new version..
Line 10: Line 10:
 echo "export PATH=$PATH:/opt/bin:/opt/sbin:." >> /root/.bashrc echo "export PATH=$PATH:/opt/bin:/opt/sbin:." >> /root/.bashrc
 echo "export PATH=$PATH:/opt/bin:/opt/sbin:." >> /etc/profile echo "export PATH=$PATH:/opt/bin:/opt/sbin:." >> /etc/profile
-logout</code>+logout 
 +</code>
  
 Log back into the SSH Log back into the SSH
Line 19: Line 20:
 ipkg update ipkg update
 ipkg install nano ipkg install nano
-nano</code>+nano 
 +</code>
  
 A basic editor opens, hit ctrl-x to close. A basic editor opens, hit ctrl-x to close.
Line 27: Line 29:
 <code> <code>
 ipkg install coreutils ipkg install coreutils
-ln -s /opt/bin/coreutils-dirname /usr/bin/dirname</code>+ln -s /opt/bin/coreutils-dirname /usr/bin/dirname 
 +</code>
  
 5) Install Java 5) Install Java
Line 38: Line 41:
 java -version java -version
 export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/jre
-export PATH=$PATH:/usr/lib/jvm/java-6-openjdk/jre</code>+export PATH=$PATH:/usr/lib/jvm/java-6-openjdk/jre 
 +</code>
  
 6) Install Serviio and setup user account to run the program 6) Install Serviio and setup user account to run the program
Line 50: Line 54:
 cd /usr/local/serviio/ cd /usr/local/serviio/
 wget http://download.serviio.org/releases/serviio-0.6.1-linux.tar.gz wget http://download.serviio.org/releases/serviio-0.6.1-linux.tar.gz
-tar -xf serviio-0.6.1-linux.tar.gz</code>+tar -xf serviio-0.6.1-linux.tar.gz 
 +</code>
  
 7) Launch Serviio as a test 7) Launch Serviio as a test
Line 57: Line 62:
 cd serviio-0.6.1/bin cd serviio-0.6.1/bin
 serviio.sh serviio.sh
-You will be at a blank line, it appears like nothing is happening, yet the server is starting. One way to confirm is to open another ssh window, log in and run </code>+</code> 
 + 
 +You will be at a blank line, it appears like nothing is happening, yet the server is starting. One way to confirm is to open another ssh window, log in and run 
  
 <code> <code>
-tail -f /usr/local/serviio/serviio-0.6.1/log/serviio.log</code>+tail -f /usr/local/serviio/serviio-0.6.1/log/serviio.log 
 +</code>
 This will show a live output of the serviio log file. When you are satisfied that it's launching, hit ctrl-c in both ssh windows. This will show a live output of the serviio log file. When you are satisfied that it's launching, hit ctrl-c in both ssh windows.
  
Line 68: Line 76:
 <code> <code>
 nano /etc/default/serviiod nano /etc/default/serviiod
-Copy following code, the service account is the name of the account we created in step 6. Also, the Daemon is the path to the serviio.sh file, update if you use a different version/location.</code>+</code> 
 + 
 +Copy following code, the service account is the name of the account we created in step 6. Also, the Daemon is the path to the serviio.sh file, update if you use a different version/location.
  
 <code> <code>
install_wd.txt · Last modified: 2012/01/12 08:41 by cerberus