Difference between revisions of "Torrentflux"

From SME Server
Jump to navigationJump to search
(simplified install with new version)
 
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
== Torrentflux for SME Server ==
 
== Torrentflux for SME Server ==
 +
{{Level|easy|The instructions for installation and usage can be followed by a beginner, changing options requires a basic knowledge of linux.}}
  
 
=== Maintainer ===
 
=== Maintainer ===
 
[http://www.dungog.net Dungog] (Software)
 
[http://www.dungog.net Dungog] (Software)
 +
===Version===
 +
{{#smeversion: smeserver-tf-b4rt}}
  
 
=== Description ===
 
=== Description ===
 +
http://tf-b4rt.berlios.de/
  
*TorrentFlux is a PHP based Torrent client that runs on a web server.  
+
*TorrentFlux/b4rt 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.  
 
*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.
+
=== Installation ===
  
Orginates from http://www.dungog.net/sme/webapp.php#torrent and some input from these forums.
+
yum --enablerepo=smecontribs install smeserver-tf-b4rt
  
=== Installation ===
+
No need to reboot.
  
1. Log in (with username root) to the SMEserver console.
+
Open YOURSERVER/torrent in a web browser
  
2. If you already enabled Dungog repo, skip down to 5, if you're unsure, go to 4.
+
First login with a new username/password, this user is the superadmin, then review and change settings.
  
3. {{Repository|Dungog}}
+
Change Document Root Path: as below, all other settings are optional, ignore the warnings
 +
/opt/b4rt/html/
  
4. Check correct input with
+
Possibly required, needs the dag repo to be configured
 +
yum install perl-XML-Simple perl-XML-DOM --enablerepo=dag
  
db yum_repositories show dungog
+
=== Uninstallation ===
 +
To remove this package issue the following command on the SME Server shell:
  
It should contain the lines in step 3. If you get nothing in return, go back to 3.
+
rpm -e tf-b4rt smeserver-tf-b4rt
  
5. Install torrentflux and smeserver-torrentflux
+
To remove mysql database and user, both are b4rt, see [[MySQL#Remove a database]] and [[MySQL#Remove a user]]. There is no need to reboot.
  
yum --enablerepo=dungog install smeserver-torrentflux
+
=== Usage ===
  
6. The following commands are not required:
+
Torrents are downloaded to /opt/b4rt/html/downloads, for users to access these:
  
signal-event post-upgrade; signal-event reboot
+
1. The user can download the file to their PC using the web interface
  
7. Open YOURSERVER/torrent in a web browser
+
2. Admin can create a symbolic link to an existing ibay
 +
cd /home/e-smith/files/ibays/ibay1/files
 +
ln -s /opt/b4rt/html/downloads/
  
Login with admin/admin, change admin password and review settings.
+
3. Admin can create a new samba share, and map a new drive with netlogon
  
Take baby for a testdrive!
+
nano -w /etc/e-smith/templates-custom/etc/smb.conf/50torrent
 +
 +
[torrent]                                                                     
 +
comment = torrent Files                                                       
 +
path = /opt/b4rt/html/downloads/                                             
 +
browseable = yes                                                             
 +
read only = no                                                               
 +
writable = yes                                                               
 +
printable = no                                                               
 +
inherit permissions = yes                                                     
 +
create mode = 0660
  
=== Check installed version ===
+
nano -w /home/e-smith/files/samba/netlogon/netlogon.bat
  yum info installed *torrentflux
+
That will show both packages.
+
  <snip>
 +
net use t: \\servername\torrent                                                     
  
=== Uninstall ===
+
  signal-event ibay-modify
  yum remove torrentflux
 
This will also remove smeserver-torrentflux.
 
  
 
=== Additional information ===
 
=== Additional information ===
 +
The first user to login becomes a super admin
  
[http://www.torrentflux.com/ Torrentflux website]
+
The manual is available at /torrent/manual.txt
 
 
[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).
+
You can fine tune access to torrentflux with DB settings. For more details see [[Web Application RPM#New DB settings]].  
  
Good luck [http://wiki.contribs.org/User:Per /Per]
+
Problems
 +
*wget needs php-cli, this is just too much work for a gui wget
 +
*searching often fails, google for your .torrent url, then copy and paste the URL into the Torrent Field.
  
 
=== Bugs ===
 
=== Bugs ===
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-torrentflux component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-torrentflux|title=this link}}.
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-torrentflux component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-torrentflux|title=this link}}.
  
=== Tested software versions ===
 
{| border="1"
 
|+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
 
|-}
 
 
----
 
  
[[Category: Contrib]]
+
[[Category: Deprecated Contrib]]
 
[[Category: Dungog]]
 
[[Category: Dungog]]

Latest revision as of 06:01, 31 May 2022

Torrentflux for SME Server

PythonIcon.png Skill level: easy
The instructions for installation and usage can be followed by a beginner, changing options requires a basic knowledge of linux.


Maintainer

Dungog (Software)

Version

smeserver-tf-b4rt
The latest version of smeserver-tf-b4rt is available in the SME repository, click on the version number(s) for more information.


Description

http://tf-b4rt.berlios.de/

  • TorrentFlux/b4rt 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.

Installation

yum --enablerepo=smecontribs install smeserver-tf-b4rt

No need to reboot.

Open YOURSERVER/torrent in a web browser

First login with a new username/password, this user is the superadmin, then review and change settings.

Change Document Root Path: as below, all other settings are optional, ignore the warnings

/opt/b4rt/html/

Possibly required, needs the dag repo to be configured

yum install perl-XML-Simple perl-XML-DOM --enablerepo=dag

Uninstallation

To remove this package issue the following command on the SME Server shell:

rpm -e tf-b4rt smeserver-tf-b4rt

To remove mysql database and user, both are b4rt, see MySQL#Remove a database and MySQL#Remove a user. There is no need to reboot.

Usage

Torrents are downloaded to /opt/b4rt/html/downloads, for users to access these:

1. The user can download the file to their PC using the web interface

2. Admin can create a symbolic link to an existing ibay

cd /home/e-smith/files/ibays/ibay1/files
ln -s /opt/b4rt/html/downloads/

3. Admin can create a new samba share, and map a new drive with netlogon

nano -w /etc/e-smith/templates-custom/etc/smb.conf/50torrent

[torrent]                                                                       
comment = torrent Files                                                         
path = /opt/b4rt/html/downloads/                                               
browseable = yes                                                               
read only = no                                                                 
writable = yes                                                                 
printable = no                                                                 
inherit permissions = yes                                                       
create mode = 0660
nano -w /home/e-smith/files/samba/netlogon/netlogon.bat

<snip>
net use t: \\servername\torrent                                                       
signal-event ibay-modify

Additional information

The first user to login becomes a super admin

The manual is available at /torrent/manual.txt

You can fine tune access to torrentflux with DB settings. For more details see Web Application RPM#New DB settings.

Problems

  • wget needs php-cli, this is just too much work for a gui wget
  • searching often fails, google for your .torrent url, then copy and paste the URL into the Torrent Field.

Bugs

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