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 |