Line 6: |
Line 6: |
| === Maintainer === | | === Maintainer === |
| [mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]] | | [mailto:stephdl@de-labrusse.fr Stéphane de Labrusse] AKA [[User:Stephdl|Stephdl]] |
| + | |
| + | ===Version=== |
| + | {{#smeversion: smeserver-transmission }} |
| + | [[Version::contrib9|stephdl]][[Has SME9::true| ]] |
| | | |
| === Description === | | === Description === |
Line 12: |
Line 16: |
| see the website of [http://www.transmissionbt.com/ transmission] | | see the website of [http://www.transmissionbt.com/ transmission] |
| | | |
− | === Requirements === | + | === Install Geekery Repository === |
− | You need to activate two repositories, [[geekery]] which hosts Transmission binaries and '''[[Stephdl]]'''
| + | http://geekery.altervista.org/ |
| + | http://geekery.altervista.org/dokuwiki/doku.php |
| + | |
| + | = For SME 8 = |
| + | /sbin/e-smith/db yum_repositories set GeekeryTransmission repository \ |
| + | Name 'geekery repository' \ |
| + | MirrorList 'http://geekery.epac.to/geekery/el5-mirrors' \ |
| + | IncludePkgs transmission*,libevent2 \ |
| + | EnableGroups no \ |
| + | GPGCheck yes \ |
| + | GPGKey http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY \ |
| + | Visible no \ |
| + | status disabled |
| + | |
| + | = For SME 9 = |
| + | /sbin/e-smith/db yum_repositories set GeekeryTransmission repository \ |
| + | Name 'geekery repository' \ |
| + | MirrorList 'http://geekery.epac.to/geekery/el6-mirrors' \ |
| + | IncludePkgs transmission*,libevent2 \ |
| + | EnableGroups no \ |
| + | GPGCheck yes \ |
| + | GPGKey http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY \ |
| + | Visible no \ |
| + | status disabled |
| + | <headertabs/> |
| + | |
| + | |
| + | After adding it to the database updating the configuration file is required: |
| + | signal-event yum-modify |
| | | |
− | === Installation === | + | === Installation For SME8 and SME9=== |
| This contrib is currently held in several repositories, so the following commands will install it on your smeserver. | | This contrib is currently held in several repositories, so the following commands will install it on your smeserver. |
| | | |
− | yum --enablerepo=geekery,stephdl install smeserver-transmission | + | yum --enablerepo=stephdl,GeekeryTransmission install smeserver-transmission |
| | | |
| You will then need to activate the database changes etc. | | You will then need to activate the database changes etc. |
Line 35: |
Line 67: |
| ====Upgrade Transmission==== | | ====Upgrade Transmission==== |
| | | |
− | yum update --enablerepo=geekery,stephdl smeserver-transmission transmission | + | yum update --enablerepo=stephdl smeserver-transmission transmission |
| and | | and |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
Line 48: |
Line 80: |
| ====Add users==== | | ====Add users==== |
| If you want to allow more users to use 'transmission' then execute these commands at the Command Line. | | If you want to allow more users to use 'transmission' then execute these commands at the Command Line. |
− | config setprop transmission Transuser "admin user1 user2" | + | config setprop transmission Transuser user1,user2 |
| signal-event conf-transmission | | signal-event conf-transmission |
| All users need to be real users in the server-manager with a password set. | | All users need to be real users in the server-manager with a password set. |
Line 54: |
Line 86: |
| ====Add groups==== | | ====Add groups==== |
| If you want to allow more groups to use 'transmission' then execute these commands at the Command Line. | | If you want to allow more groups to use 'transmission' then execute these commands at the Command Line. |
− | config setprop transmission Transgroup "group1 group2 group3" | + | config setprop transmission Transgroup group1,group2,group3 |
| signal-event conf-transmission | | signal-event conf-transmission |
| All groups need to be real groups in the server-manager with a password set. | | All groups need to be real groups in the server-manager with a password set. |
Line 99: |
Line 131: |
| config setprop transmission Transdlfolder '''/opt/toto''' | | config setprop transmission Transdlfolder '''/opt/toto''' |
| mkdir -p /opt/toto | | mkdir -p /opt/toto |
− | chown -R transmission:transmission /opt/toto/ | + | chown -R transmission:transmission /opt/toto |
| signal-event conf-transmission | | signal-event conf-transmission |
| | | |
Line 109: |
Line 141: |
| =====Add users and groups===== | | =====Add users and groups===== |
| only the '''admin''' is allowed to browse your downloads with samba, if you want to add more users or groups | | only the '''admin''' is allowed to browse your downloads with samba, if you want to add more users or groups |
− | config setprop transmission Smbusers "admin user1 user2 @group1 @group2" | + | config setprop transmission Smbusers user1,user2,@group1,@group2 |
| signal-event conf-transmission | | signal-event conf-transmission |
| In the smb.conf a group is called by "@", do not forget to add it if you want to allow group1 : @group1<br /> | | In the smb.conf a group is called by "@", do not forget to add it if you want to allow group1 : @group1<br /> |
Line 115: |
Line 147: |
| Then you can browse all samba shares of your server, find the transmission share and perform a login with your credentials. | | Then you can browse all samba shares of your server, find the transmission share and perform a login with your credentials. |
| | | |
− | ====through your web browser==== | + | ====Through your web browser==== |
| It is a nice feature if you can exchange downloads with your friends outside of your network, of course this could be forbidden in certain countries. | | It is a nice feature if you can exchange downloads with your friends outside of your network, of course this could be forbidden in certain countries. |
| {{Note box|By default the web access to transmission downloads is only allowed on your local network and only for the admin user.}} | | {{Note box|By default the web access to transmission downloads is only allowed on your local network and only for the admin user.}} |
Line 135: |
Line 167: |
| | | |
| =====Add users===== | | =====Add users===== |
− | If you want to allow more users to the download transmission folder
| + | only the admin is allowed to browse your downloads with samba, if you want to add more users or groups |
− | config setprop transmission Webuser "admin user1 user2" | + | config setprop transmission Webuser user1,user2 |
| signal-event conf-transmission | | signal-event conf-transmission |
| All users need to be real users in the server-manager with a password set | | All users need to be real users in the server-manager with a password set |
Line 142: |
Line 174: |
| =====Add groups===== | | =====Add groups===== |
| If you want to allow more groups to the download transmission folder | | If you want to allow more groups to the download transmission folder |
− | config setprop transmission Webgroup "group1 group2 group3" | + | config setprop transmission Webgroup group1,group2,group3 |
| signal-event conf-transmission | | signal-event conf-transmission |
| All groups need to be real groups in the server-manager with a password set | | All groups need to be real groups in the server-manager with a password set |