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:
- http://dfusion.com.au/wiki/tiki-index.php?page=Installing+Transmission+Bit+Torrent+Daemon+on+Nexenta
- http://dfusion.com.au/wiki/tiki-index.php?page=Configuring+Transmission+Bit+Torrent+Daemon
- http://techgurulive.com/2008/08/25/howto-install-memcached-from-sources-on-linux/
- https://trac.transmissionbt.com/wiki/Solaris
- https://forum.transmissionbt.com/viewtopic.php?f=2&t=10193