Difference between revisions of "User talk:Stephdl"

From SME Server
Jump to navigationJump to search
Line 53: Line 53:
 
  db configuration setprop transmission-daemon access public
 
  db configuration setprop transmission-daemon access public
  
if you want to allows a range of ports you can take a look to this part of DB documentation [[DB_Variables_Configuration#IPTables_firewall_.28masq.29]] and use the TCPPorts command
+
if you want to allows a range of ports you can take a look to this part of [[DB_Variables_Configuration#IPTables_firewall_.28masq.29 DB documentation ]] and use the TCPPorts command
  
 
{{tip box|After that if you go to the menu "Edit Preferences/network you can verify if the port is "open"}}
 
{{tip box|After that if you go to the menu "Edit Preferences/network you can verify if the port is "open"}}

Revision as of 21:47, 28 March 2013

http://wiki.contribs.org/SME_Server:Documentation:QA:Verification

Installation

in the directory where you want to work

mkdir transmission
cd transmission

then we need to install all the following files, you have to adjust with your cpu architecture

wget http://geekery.altervista.org/geekery/el5/i386/libevent2-2.0.10-1geekery.i386.rpm
wget http://geekery.altervista.org/geekery/el5/i386/transmission-2.76-1geekery.i386.rpm
wget http://geekery.altervista.org/geekery/el5/i386/transmission-common-2.76-1geekery.i386.rpm
wget http://geekery.altervista.org/geekery/el5/i386/transmission-daemon-2.76-1geekery.i386.rpm
wget http://geekery.altervista.org/geekery/el5/i386/transmission-cli-2.76-1geekery.i386.rpm

or

wget http://geekery.altervista.org/geekery/el5/x86_64/libevent2-2.0.10-1geekery.x86_64.rpm
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-2.76-1geekery.x86_64.rpm
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-common-2.76-1geekery.x86_64.rpm
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-daemon-2.76-1geekery.x86_64.rpm
wget http://geekery.altervista.org/geekery/el5/x86_64/transmission-cli-2.76-1geekery.x86_64.rpm

the root user can install rpm above

yum local install *

Configuration

Important.png Note:
we must stop the deamon before every manual modifications of setting.json


/etc/init.d/transmission-daemon stop
nano /var/lib/transmission/settings.json

allow your network range to connect to the transmission-deamon "*" can be used as a wild card

"rpc-whitelist": "127.0.0.1,192.168.1.*",
"rpc-whitelist-enabled": true,

you can find a lot of useful option directly in the Transmission wiki but normally some of them are usable in the web utility

we can launch the deamon

/etc/init.d/transmission-daemon start

Allow port in sme firewall

by default the transmission-deamon use the 51413 port for sharing with other computer so we have to authorize it in the sme firewall and after you may need to allow it in the nat configuration of your router if the upnp configuration does'nt work.

db configuration set transmission-daemon service
db configuration setprop transmission-daemon TCPPort 51413
db configuration setprop transmission-daemon status enabled
db configuration setprop transmission-daemon access public

if you want to allows a range of ports you can take a look to this part of DB_Variables_Configuration#IPTables_firewall_.28masq.29 DB documentation and use the TCPPorts command


Information.png Tip:
After that if you go to the menu "Edit Preferences/network you can verify if the port is "open"


runlevel7

if you restart your computer you can experiment that the service is not started because there is no link to rc.7d, so you have to do this command line to allow transmission deamon operate in runlevel 7.

ln -s /etc/init.d/transmission-daemon /etc/rc.d/rc7.d/S99transmission-daemon

play with transmission

now you are able to use transmission deamon with this url in the web browser http://your-ip-sme:9091