How to Install Transmission 2.01 on NexentaStor 3.0.3

Install required packages
[bash]
aptitude install libssl-dev libcurl4-openssl-dev intltool
[/bash]

Install libevent
[bash]
wget http://monkey.org/~provos/libevent-1.4.13-stable.tar.gz
tar -xzf libevent-1.4.13-stable.tar.gz
cd libevent-1.4.13-stable
./configure
make && make install
[/bash]

Install Transmission
[bash]
wget http://mirrors.m0k.org/transmission/files/transmission-2.01.tar.bz2
tar -xjf transmission-2.01.tar.bz2
cd transmission-2.01
./configure LIBEVENT_LIBS="-L/usr/local/lib -levent"
make && make install
[/bash]

Add transmission user
[bash]
adduser –disabled-password transmission
[/bash]
Then go in the web interface and add a home directory: volumes/home/transmission

Now, as root give privileges on his home directory to the transmission user
[bash]
chown transmission /volumes/home/transmission
[/bash]

Test trasmission-daemon (with transmission user)
[bash]
su transmission
transmission-daemon -f
[ctrl+c]
[/bash]
Now you should have a new config file in /volumes/home/transmission/.config/transmission-daemon/settings.json

Add Transmission init script
Use script from https://trac.transmissionbt.com/wiki/Scripts/initd

vi /etc/init.d/transmission-daemon
chmod +x /etc/init.d/transmission-daemon
update-rc.d transmission-daemon defaults
doesn’t seem to work properly for me :S

tranmission-start.sh (run as root)
[bash]
#!/bin/sh

ulimit -n 4096
EVENT_NOEVPORT=1

/etc/init.d/transmissin-daemon start
[/bash]

SOURCES:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.