个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
第7行: 第7行:
 
== 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>
* 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
第22行: 第19行:
 
* 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, 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>.
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 JavaExec=$(dpkg -L sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
 
echo JavaExec=$(dpkg -L sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
 
</nowiki></pre>
 
</nowiki></pre>
<!> amd64 users should use:  
+
<!> amd64 users should use: <pre><nowiki>
<pre><nowiki>
+
 
echo JavaExec=$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
 
echo JavaExec=$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
 
</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

2007年12月6日 (四) 10:48的版本

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, create a file named setup.cfg which contains the path to your libjvm.so with the following syntax: JavaExec=/path/to/libjvm.so.
A nice shortcut for this is to execute the following command in your Terminal:
echo JavaExec=$(dpkg -L sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg
<!> amd64 users should use:
echo JavaExec=$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so) > ~/Desktop/octoshape/setup.cfg

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