User talk:Stephdl

From SME Server
Revision as of 22:55, 28 March 2013 by Stephdl (talk | contribs)
Jump to navigationJump to search

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

Repository

The CENTOS repository for Transmission is geekery, for the moment i do not know how adjust it directly in sme, so you need to download rpm manually. You are free to verify latest rpm before install them.

Geekery Repoviews

   EL5-i386
   EL5-x86_64
   EL6-i686
   EL6-x86_64

Installation

in the directory where you want to work

mkdir transmission
cd transmission

We need to install all the following files, you have to adjust with your cpu architecture. For SME8 you have to use el5 binaries.

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 allow a range of ports you can take a look to this part of 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