Difference between revisions of "Torrentflux"

From SME Server
Jump to navigationJump to search
(Added Bugs section)
(simplified install with new version)
Line 12: Line 12:
  
 
Orginates from http://www.dungog.net/sme/webapp.php#torrent and some input from these forums.
 
Orginates from http://www.dungog.net/sme/webapp.php#torrent and some input from these forums.
 
It reflects the experiences I've had during install and are probably not always applicable.
 
 
It's intended for Linux-newbies like myself, experienced users are probably better off using the original.
 
 
Check latest releases at http://sme.dungog.net/packages/smeserver/7.0/i386/html/index_dungog.html
 
  
 
=== Installation ===
 
=== Installation ===
Line 23: Line 17:
 
1. Log in (with username root) to the SMEserver console.
 
1. Log in (with username root) to the SMEserver console.
  
2. If you already enabled Dungog repo, skip down to 5, if your'e unsure, go to 4.
+
2. If you already enabled Dungog repo, skip down to 5, if you're unsure, go to 4.
  
 
3. {{Repository|Dungog}}
 
3. {{Repository|Dungog}}
Line 37: Line 31:
 
  yum --enablerepo=dungog install smeserver-torrentflux
 
  yum --enablerepo=dungog install smeserver-torrentflux
  
I don't install this from smedev because it may contain an older version.
+
6. The following commands are not required:
 
 
6. Do following commands for the changes to take effekt:
 
 
 
signal-event post-upgrade
 
 
 
signal-event reboot
 
 
 
7. Your SME server reboots
 
 
 
If you try to connekt to YOURSERVER/torrent in a web browser at this stage you get:<br>
 
<code>ADONewConnection: Unable to load database driver ''</code>
 
 
 
8. Create database structure
 
 
 
/usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql
 
 
 
9. Copy and rename the config file
 
 
 
cp /opt/torrentflux/html/config.php.dist /opt/torrentflux/html/config.php
 
 
 
If you try to connekt to YOURSERVER/torrent in a web browser at this stage you get:<br>
 
<code>TorrentFlux Database/SQL Error<br>
 
Database error: Access denied for user 'torrentflux'@'localhost' (using password: NO)<br>
 
Always check your database variables in the config.php file.</code>
 
 
 
10. Find torrentflux mysql password (DbPassword=) with
 
 
 
config show torrentflux
 
  
Copy the string, it should be similar to this:<br>
+
signal-event post-upgrade; signal-event reboot
<code>rCFsw0PXkH8fThAKgzvFkQjNp1K472RwzPlpalpAKmUkPZ7A/yGAiBeerU+FQ06Ikh69wTSJMDim</code>
 
  
11. Open config.php with text editor Pico (^-sign means ctrl-button)
+
7. Open YOURSERVER/torrent in a web browser
 
 
pico -w /opt/torrentflux/html/config.php
 
 
 
Add torrentflux mysql password to config.php, scroll down to: $cfg["db_pass"] = ""
 
 
 
Paste the password inbetween the empty ""-signs
 
 
 
Exit Pico and save file (ctrl+x - y - enter)
 
 
 
12. Open YOURSERVER/torrent in a web browser
 
  
 
Login with admin/admin, change admin password and review settings.
 
Login with admin/admin, change admin password and review settings.
Line 86: Line 41:
 
Take baby for a testdrive!
 
Take baby for a testdrive!
  
==== Check installed version ====
+
=== Check installed version ===
 
  yum info installed *torrentflux
 
  yum info installed *torrentflux
 
That will show both packages.
 
That will show both packages.
  
==== Uninstall ====
+
=== Uninstall ===
 
  yum remove torrentflux
 
  yum remove torrentflux
 
This will also remove smeserver-torrentflux.
 
This will also remove smeserver-torrentflux.
Line 101: Line 56:
  
 
If you connect to the SMEserver console by Putty ssh-client (or similar) you can copy and paste the commands (very convenient).
 
If you connect to the SMEserver console by Putty ssh-client (or similar) you can copy and paste the commands (very convenient).
 
Please note that this was written in april 2007, if the software change then this howto may be outdated.
 
 
Please do edit if you find errors or have improvements, but make sure that it works!
 
  
 
Good luck [http://wiki.contribs.org/User:Per /Per]
 
Good luck [http://wiki.contribs.org/User:Per /Per]
Line 123: Line 74:
 
|smeserver-torrentflux
 
|smeserver-torrentflux
 
|noarch
 
|noarch
|0.9-3
+
|0.9-7.el4.sme
 
|dungog
 
|dungog
 
|14 k
 
|14 k

Revision as of 04:26, 27 June 2007

Torrentflux for SME Server

Maintainer

Dungog (Software)

Description

  • TorrentFlux is a PHP based Torrent client that runs on a web server.
  • Manage all of your Torrent downloads through a convenient web interface from anywhere.


Step-by-step HowTo for installation of Torrentflux on a fresh SMEserver 7.1.3.

Orginates from http://www.dungog.net/sme/webapp.php#torrent and some input from these forums.

Installation

1. Log in (with username root) to the SMEserver console.

2. If you already enabled Dungog repo, skip down to 5, if you're unsure, go to 4.

3. The following command will configure the Dungog repository on SME Server. The dungog repository will no longer be updated. All the contribs from this repository have been moved to the smecontribs repository.

DungogMember contribs are still at http://www.dungog.net After adding it to the database we have to update the changes to the configuration file:

signal-event yum-modify

4. Check correct input with

db yum_repositories show dungog

It should contain the lines in step 3. If you get nothing in return, go back to 3.

5. Install torrentflux and smeserver-torrentflux

yum --enablerepo=dungog install smeserver-torrentflux

6. The following commands are not required:

signal-event post-upgrade; signal-event reboot

7. Open YOURSERVER/torrent in a web browser

Login with admin/admin, change admin password and review settings.

Take baby for a testdrive!

Check installed version

yum info installed *torrentflux

That will show both packages.

Uninstall

yum remove torrentflux

This will also remove smeserver-torrentflux.

Additional information

Torrentflux website

Announcement: SME Server 7.x Contribs

If you connect to the SMEserver console by Putty ssh-client (or similar) you can copy and paste the commands (very convenient).

Good luck /Per

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-torrentflux component or use this link .

Tested software versions


Overview of used software packages
Package Arch Version Repository Size
smeserver-torrentflux noarch 0.9-7.el4.sme dungog 14 k
torrentflux noarch 2.3-1 dungog 1.3 M