Linux Links‎ > ‎

utorrent

# wget http://download.utorrent.com/linux/utorrent-server-3.0-24118.tar.gz
# wget http://www.sitedesign.hu/download/utserver.tgz
# mkdir /etc/utserver
# tar xzf utorrent-server-3.0-24118.tar.gz
# tar xzf utserver.tgz
# cd utorrent-server-v3_0
# cp webui.zip /etc/utserver/
# chmod +x utserver
# cp utserver /usr/bin/
# cd ..
# cp utserver /etc/init.d/
# cp utserver.conf /etc/utserver/
# /etc/init.d/utserver start

make new user account for torrent account

# gproupadd utorrent
# useradd -c "utorrent" -m -g utorrent -s /bin/false utorrent

mkdir /var/run/utserver/ 
adduser utorrent 
chown utorrent:utorrent /var/run/utserver 
chown utorrent:utorrent /etc/utserver

mkdir /var/log/utserver
chown utorrent:utorrent /var/log/utserver

modify init.d script--
PIDFILE=/var/run/$NAME.pid
(...)
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
(...)
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \

to:

PIDFILE=/var/run/$NAME/$NAME.pid 
(...) 
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid torrent --exec $DAEMON --test > /dev/null \ 
(...) 
start-stop-daemon --start --quiet --pidfile $PIDFILE --chuid torrent --exec $DAEMON -- \

also edit init.d script to include 
DAEMON_ARGS="-settingspath /etc/utserver/ -configfile /etc/utserver/utserver.conf -pidfile $PIDFILE -daemon -logfile /var/log/utserver/utserver.log"
--- this is for the -logfile part to disclude the spews to the command line

for a 64 bit system run
sudo apt-get install ia32-libs

GUI available at http://yourip:8080/gui or http://localhost:8080/gui

for autostart of demian:
update-rc.d utserver defaults


resources ---- 
http://forum.utorrent.com/viewtopic.php?id=92278

http://lifehacker.com/5863380/how-to-completely-anonymize-your-bittorrent-traffic-with-btguard

https://btguard.com

Comments