Changes

From SME Server
Jump to navigationJump to search
213 bytes removed ,  06:07, 13 May 2010
m
→‎Usage: Spelling
Line 1: Line 1: −
== Scuttle 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 ===
Line 5: Line 6:     
=== 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.
  −
  −
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 ===
   −
1. Log in (with username root) to the SMEserver console.
+
  yum --enablerepo=smecontribs install smeserver-tf-b4rt
 
  −
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.
  −
 
  −
5. 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.
  −
 
  −
6. Do following commands for the changes to take effekt:
  −
 
  −
signal-event post-upgrade
     −
signal-event reboot
+
No need to reboot.
   −
7. Your SME server reboots
+
Open YOURSERVER/torrent in a web browser
   −
If you try to connekt to YOURSERVER/torrent in a web browser at this stage you get:<br>
+
First login with a new username/password, this user is the superadmin, then review and change settings.
<code>ADONewConnection: Unable to load database driver ''</code>
     −
8. Create database structure
+
Change Document Root Path: as below, all other settings are optional, ignore the warnings
 +
/opt/b4rt/html/
   −
  /usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql
+
Possibly required, needs the dag repo to be configured
 +
  yum install perl-XML-Simple perl-XML-DOM --enablerepo=dag
   −
9. Copy and rename the config file
+
=== Uninstallation ===
 +
To remove this package issue the following command on the SME Server shell:
   −
  cp /opt/torrentflux/html/config.php.dist /opt/torrentflux/html/config.php
+
  rpm -e tf-b4rt smeserver-tf-b4rt
   −
If you try to connekt to YOURSERVER/torrent in a web browser at this stage you get:<br>
+
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.
<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
+
=== Usage ===
   −
config show torrentflux
+
Torrents are downloaded to /opt/b4rt/html/downloads, for users to access these:
   −
Copy the string, it should be similar to this:<br>
+
1. The user can download the file to their PC using the web interface
<code>rCFsw0PXkH8fThAKgzvFkQjNp1K472RwzPlpalpAKmUkPZ7A/yGAiBeerU+FQ06Ikh69wTSJMDim</code>
     −
11. Open config.php with text editor Pico (^-sign means ctrl-button)
+
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/
   −
pico -w /opt/torrentflux/html/config.php
+
3. Admin can create a new samba share, and map a new drive with netlogon
   −
Add torrentflux mysql password to config.php, scroll down to: $cfg["db_pass"] = ""
+
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
   −
Paste the password inbetween the empty ""-signs
+
nano -w /home/e-smith/files/samba/netlogon/netlogon.bat
 +
 +
<snip>
 +
net use t: \\servername\torrent                                                     
   −
Exit Pico and save file (ctrl+x - y - enter)
+
signal-event ibay-modify
 
  −
12. Open YOURSERVER/torrent in a web browser
  −
 
  −
Login with admin/admin, change admin password and review settings.
  −
 
  −
Take baby for a testdrive!
      
=== 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).
  −
 
  −
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]
+
You can fine tune access to torrentflux with DB settings. For more details see [[Web Application RPM#New DB settings]].  
   −
=== Tested software versions ===
+
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.
   −
Package Arch Version Repository Size<br>
+
=== Bugs ===
smeserver-torrentflux noarch 0.9-3 dungog 14 k<br>
+
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}}.
torrentflux noarch 2.3-1dungog 1.3 M
     −
----
      
[[Category: Contrib]]
 
[[Category: Contrib]]
 +
[[Category: Dungog]]
 +
[[Category: Webapps]]
206

edits

Navigation menu