个人工具

“UbuntuHelp:Octoshape”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第18行: 第18行:
 
</nowiki></pre>
 
</nowiki></pre>
 
* You will then be presented with a license agreement.  You may scroll down by pressing the space bar.  If you agree to the terms, type "yes" when prompted and press enter.  An <code><nowiki>octoshape</nowiki></code> directory will be extracted to your Desktop.
 
* You will then be presented with a license agreement.  You may scroll down by pressing the space bar.  If you agree to the terms, type "yes" when prompted and press enter.  An <code><nowiki>octoshape</nowiki></code> directory will be extracted to your Desktop.
* In the <code><nowiki>octoshape</nowiki></code> directory, create a file named <code><nowiki>setup.cfg</nowiki></code> which contains the path to your libjvm.so with the following syntax: <code><nowiki>JavaExec=/path/to/libjvm.so</nowiki></code>.
+
* In the <code><nowiki>octoshape</nowiki></code> directory, edit the file named <code><nowiki>setup.xml</nowiki></code> which contains the path to your libjvm.so with the following syntax: <code><nowiki><e JavaExec="/path/to/libjvm.so" /></nowiki></code>.
 
A nice shortcut for this is to execute the following command in your [[UbuntuHelp:UsingTheTerminal| Terminal]]: <pre><nowiki>
 
A nice shortcut for this is to execute the following command in your [[UbuntuHelp:UsingTheTerminal| Terminal]]: <pre><nowiki>
echo JavaExec=$(dpkg -L sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
+
echo '<e JavaExec="'$(dpkg -L sun-java6-bin | grep client/libjvm.so)'" />' > ~/DownLoads/octoshape/setup.xml
 
</nowiki></pre>
 
</nowiki></pre>
 
<!> amd64 users should use: <pre><nowiki>
 
<!> amd64 users should use: <pre><nowiki>
echo JavaExec=$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
+
echo '<e JavaExec="'$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml
 
</nowiki></pre>
 
</nowiki></pre>
 
== Use Octoshape ==
 
== Use Octoshape ==

2008年4月23日 (三) 11:51的版本

Octoshape is a closed-source streaming media server and client which uses peer-to-peer grid technology. This page will help you install the Octoshape client for Linux.

Install Required Packages

Install the sun-java6-bin and mplayer packages. <!> amd64 users should install ia32-sun-java6-bin

Install Octoshape

The corresponding Terminal commands are provided for each step, but you may use whatever tools you wish to accomplish what is required.

wget -P ~/Desktop http://www.octoshape.com/files/octosetup-linux_i386.bin

chmod +x ~/Desktop/octosetup-linux_i386.bin

  • Execute octosetup-linux_i386.bin using the Terminal.

cd ~/Desktop ./octosetup-linux_i386.bin

  • You will then be presented with a license agreement. You may scroll down by pressing the space bar. If you agree to the terms, type "yes" when prompted and press enter. An octoshape directory will be extracted to your Desktop.
  • In the octoshape directory, edit the file named setup.xml which contains the path to your libjvm.so with the following syntax: <e JavaExec="/path/to/libjvm.so" />.
A nice shortcut for this is to execute the following command in your Terminal:
echo '<e JavaExec="'$(dpkg -L sun-java6-bin | grep client/libjvm.so)'" />' > ~/DownLoads/octoshape/setup.xml
<!> amd64 users should use:
echo '<e JavaExec="'$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml

Use Octoshape

Launch your player by executing
cd ~/Desktop/octoshape
./OctoshapeClient -url:XYZ.xyz

where "XYZ.xyz" corresponds to the string in the Play column at Octoshape's Linux Play Page for the channel you wish to watch.

See also