“UbuntuHelp:Octoshape”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
(未显示同一用户的3个中间版本) | |||
第5行: | 第5行: | ||
[[UbuntuHelp:InstallingSoftware| Install]] the '''sun-java6-bin''' and '''mplayer''' packages. | [[UbuntuHelp:InstallingSoftware| Install]] the '''sun-java6-bin''' and '''mplayer''' packages. | ||
<!> amd64 users should install '''ia32-sun-java6-bin''' | <!> amd64 users should install '''ia32-sun-java6-bin''' | ||
+ | <!> In Kubuntu 8.04 "Hardy Heron", the Java package installed with the metapackage '''kubuntu-restricted-extras''' is '''openjdk-6-jre''', so there isn't need to install sun-java's packages. | ||
== Install Octoshape == | == Install Octoshape == | ||
The corresponding [[UbuntuHelp:UsingTheTerminal| Terminal]] commands are provided for each step, but you may use whatever tools you wish to accomplish what is required. | The corresponding [[UbuntuHelp:UsingTheTerminal| 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. | + | * Download the Octoshape plugin for Linux to your Desktop from http://www.octoshape.com/plugin/linux.asp. <pre><nowiki> |
− | <pre><nowiki> | + | |
wget -P ~/Desktop http://www.octoshape.com/files/octosetup-linux_i386.bin | wget -P ~/Desktop http://www.octoshape.com/files/octosetup-linux_i386.bin | ||
− | </nowiki></pre> | + | </nowiki></pre> <!> The <code><nowiki>/Desktop</nowiki></code> referenced folder can be change for any other of your preference. <code><nowiki>/Desktop</nowiki></code> is the default desktop folder of an Ubuntu English system. Other option could be use a <code><nowiki>/Programs</nowiki></code> folder. |
− | * Give <code><nowiki>octosetup-linux_i386.bin</nowiki></code> executable [[UbuntuHelp:FilePermissions|FilePermissions]]. | + | * Give <code><nowiki>octosetup-linux_i386.bin</nowiki></code> executable [[UbuntuHelp:FilePermissions|FilePermissions]]. <pre><nowiki> |
− | <pre><nowiki> | + | |
chmod +x ~/Desktop/octosetup-linux_i386.bin | chmod +x ~/Desktop/octosetup-linux_i386.bin | ||
</nowiki></pre> | </nowiki></pre> | ||
− | * Execute <code><nowiki>octosetup-linux_i386.bin</nowiki></code> using the [[UbuntuHelp:UsingTheTerminal| Terminal]]. | + | * Execute <code><nowiki>octosetup-linux_i386.bin</nowiki></code> using the [[UbuntuHelp:UsingTheTerminal| Terminal]]. <pre><nowiki> |
− | <pre><nowiki> | + | |
cd ~/Desktop | cd ~/Desktop | ||
./octosetup-linux_i386.bin | ./octosetup-linux_i386.bin | ||
</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]]: | + | A nice shortcut for this is to execute the following command in your [[UbuntuHelp:UsingTheTerminal| Terminal]]: <pre><nowiki> |
− | <pre><nowiki> | + | echo '<e JavaExec="'$(dpkg -L sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml |
− | echo JavaExec=$(dpkg -L sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup. | + | </nowiki></pre> |
+ | <!> amd64 users should use: <pre><nowiki> | ||
+ | echo '<e JavaExec="'$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml | ||
</nowiki></pre> | </nowiki></pre> | ||
− | <!> | + | <!> Kubuntu 8.04 users with a Java install from '''kubuntu-restricted-extras''' metapackage, should use: <pre><nowiki> |
− | <pre><nowiki> | + | echo '<e JavaExec="'$(dpkg -L openjdk-6-jre-headless | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml |
− | echo JavaExec=$(dpkg -L | + | |
</nowiki></pre> | </nowiki></pre> | ||
== Use Octoshape == | == Use Octoshape == | ||
− | Launch your player by executing | + | Launch your player by executing <pre><nowiki> |
− | <pre><nowiki> | + | |
cd ~/Desktop/octoshape | cd ~/Desktop/octoshape | ||
./OctoshapeClient -url:XYZ.xyz | ./OctoshapeClient -url:XYZ.xyz | ||
第40行: | 第38行: | ||
* [http://www.octoshape.com/plugin/linux.asp Octoshape's Installation Instructions for Linux] | * [http://www.octoshape.com/plugin/linux.asp Octoshape's Installation Instructions for Linux] | ||
* [http://www.octoshape.com/faq/faq.asp?faqtype=Linux Octoshape's Linux FAQ] | * [http://www.octoshape.com/faq/faq.asp?faqtype=Linux Octoshape's Linux FAQ] | ||
− | * [[ | + | * [[UbuntuHelp:WikiPedia:Octoshape|Wikipedia Entry on Octoshape]] |
---- | ---- | ||
− | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 18:15的最新版本
点击翻译: |
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 <!> In Kubuntu 8.04 "Hardy Heron", the Java package installed with the metapackage kubuntu-restricted-extras is openjdk-6-jre, so there isn't need to install sun-java's packages.
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
<!> The/Desktop
referenced folder can be change for any other of your preference. /Desktop
is the default desktop folder of an Ubuntu English system. Other option could be use a /Programs
folder.
- 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)'" />' > ~/Desktop/octoshape/setup.xml<!> amd64 users should use:
echo '<e JavaExec="'$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml<!> Kubuntu 8.04 users with a Java install from kubuntu-restricted-extras metapackage, should use:
echo '<e JavaExec="'$(dpkg -L openjdk-6-jre-headless | 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.