“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, | + | * 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) > ~/ | + | 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. | + | 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的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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.
- Download the Octoshape plugin for Linux to your Desktop from http://www.octoshape.com/plugin/linux.asp.
wget -P ~/Desktop http://www.octoshape.com/files/octosetup-linux_i386.bin
- Give
octosetup-linux_i386.bin
executable FilePermissions.
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 namedsetup.xml
which contains the path to your libjvm.so with the following syntax:<e JavaExec="/path/to/libjvm.so" />
.
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 executingcd ~/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.