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) |
− |
| |
− | See [http://forums.contribs.org/index.php?topic=38542.0 the announcement] of an updated version tf-b4rt
| |
| | | |
| === Description === | | === Description === |
Line 13: |
Line 12: |
| | | |
| === Installation === | | === Installation === |
− |
| |
− | Install tf-b4rt and smeserver-tf-b4rt from the smecontribs repo
| |
| | | |
| yum --enablerepo=smecontribs install smeserver-tf-b4rt | | yum --enablerepo=smecontribs install smeserver-tf-b4rt |
Line 22: |
Line 19: |
| Open YOURSERVER/torrent in a web browser | | Open YOURSERVER/torrent in a web browser |
| | | |
− | Login with admin/admin, change admin password and review and change settings.
| + | First login with a new username/password, this user is the superadmin, then review and change settings. |
| | | |
− | Change Document Root Path: to | + | Change Document Root Path: as below, all other settings are optional, ignore the warnings |
| /opt/b4rt/html/ | | /opt/b4rt/html/ |
| | | |
− | '''Uninstall'''
| + | 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 | | 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 === | | === Additional information === |
Line 36: |
Line 70: |
| The manual is available at /torrent/manual.txt | | The manual is available at /torrent/manual.txt |
| | | |
− | you can change the url /torrent according to http://wiki.contribs.org/Generic_WebApp_rpm#New_DB_settings
| + | You can fine tune access to torrentflux with DB settings. For more details see [[Web Application RPM#New DB settings]]. |
| | | |
| Problems | | Problems |
Line 48: |
Line 82: |
| [[Category: Contrib]] | | [[Category: Contrib]] |
| [[Category: Dungog]] | | [[Category: Dungog]] |
| + | [[Category: Webapps]] |