Changes

Jump to navigation Jump to search
3,462 bytes added ,  14:56, 13 April 2007
Added Torrentflux install howto
== Scuttle for SME Server ==

=== Maintainer ===
[http://www.dungog.net 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.

<br>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.

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 ===

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.

3. {{Repository|Dungog}}

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.

6. Install torrentflux and smeserver-torrentflux

yum --enablerepo=dungog install smeserver-torrentflux

I don't install this from smedev because it may contain an older version.

7. Do following commands for the changes to take effekt:

signal-event post-upgrade

signal-event reboot

8. 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>

9. Create database structure

/usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql

10. 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>

11. Find torrentflux mysql password (DbPassword=) with

config show torrentflux

Copy the string, it should be similar to this:<br>
<code>rCFsw0PXkH8fThAKgzvFkQjNp1K472RwzPlpalpAKmUkPZ7A/yGAiBeerU+FQ06Ikh69wTSJMDim</code>

12. Open config.php with text editor Pico (^-sign means ctrl-button)

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)

13. Open YOURSERVER/torrent in a web browser

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

Take baby for a testdrive!

=== Additional information ===

[http://www.torrentflux.com/ Torrentflux website]

[http://forums.contribs.org/index.php?topic=35530.0 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).

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]

=== Tested software versions ===

Package Arch Version Repository Size<br>
smeserver-torrentflux noarch 0.9-3 dungog 14 k<br>
torrentflux noarch 2.3-1dungog 1.3 M

----

[[Category: Contrib]]
206

edits

Navigation menu