huss Posted January 7, 2011 Report Posted January 7, 2011 Hi GuysI am hoping someone can help me please.I want to install µTorrent Server 3.0 alpha on a Debian OS, but I'm not sure if it should be on a desktop gui, a webserver or just a standard server.Also I cant seem to find any content, regarding the install. should I just extract the file and then run './utserver' to start it, then access via webui.or is there a certain folder I should install/run it from etc..I tried reading the pdf, but it didn't help me much.If anyone could please tell me of a guide I could follow to set it all up, or could even help me get started that would be greatly appreciated....THANKS
cocucka Posted January 8, 2011 Report Posted January 8, 2011 unpacktar xzf utorrent-server-3.0-23418.tar.gz Change directorycd utorrent-server-v3_0Change permissionschmod +x utserverRun./utserverGUI available at http://yourip:8080/gui or http://localhost:8080/guiLogin adminPassword empty
huss Posted January 9, 2011 Author Report Posted January 9, 2011 Thank You cocucka, Very Much Appreciated unpacktar xzf utorrent-server-3.0-23418.tar.gz Change directorycd utorrent-server-v3_0Change permissionschmod +x utserverRun./utserverGUI available at http://yourip:8080/gui or http://localhost:8080/guiLogin adminPassword empty
chris476 Posted February 3, 2011 Report Posted February 3, 2011 Hi!I wrote a little init.d script from skeleton for uTorrent Server.Maybe you can use it on Debian and Ubuntu.You can download from here: http://www.sitedesign.hu/download/utserver.tgz2 files included in the TGZ:- utserver - this is the init.d script- utserver.conf - this is a minimalist configuration fileSo thats how i do:# 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 startBefore you start downloading you have to set the download directories, because the default is /usr/bin(because utserver is in /usr/bin).
chris476 Posted February 23, 2011 Report Posted February 23, 2011 For the easier install - I made a DEB package.You can download from here: http://www.sitedesign.hu/download/utorrent-server_3.0-24118_i386.deb
jamsdin Posted March 5, 2011 Report Posted March 5, 2011 please help newbie!!I have dabian on ps3 I downloaded the utorrent server-3.0I extracted the file and i have: utorrent-server-3.024733.tar.gzI don't know how to change directory,permission and where is chmod +x utserverhow this work is it like on windows?Thank You cocucka, Very Much Appreciated unpacktar xzf utorrent-server-3.0-23418.tar.gz Change directorycd utorrent-server-v3_0Change permissionschmod +x utserverRun./utserverGUI available at http://yourip:8080/gui or http://localhost:8080/guiLogin adminPassword empty
shalak Posted March 8, 2011 Report Posted March 8, 2011 Due to security reasons it's not recommended to run such daemon as utorrent with root privileges. So, It'll be beter to modify chris476's script. Change lines: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 -- \Exec as fallowing:mkdir /var/run/utserver/adduser torrentchmod torrent:torrent /var/run/utserverchmod torrent:torrent /etc/utserver(or you can make and use directory in torrent's home: ~torrent/.utserver/ and put utserver.conf in there)Now remember to configure utorrent to use directories with rw rights for user torrent for downloading and storing .torrent files.I don't supose utorrent auto-update would work with this configuration, because I have no idea what method does it use to update itself. Possibly you can just put the utserver binary in /usr/bin/userver/ dir, change DAEMON=/usr/bin/$NAME to DAEMON=/usr/bin/$NAME/$NAME in init.d script, and chown torrent:torrent /usr/bin/utserver, but personally I'm avoiding any kind of auto-updating if possible.Naturally port for GUI must be >1024Just finished testing and it works fine.BTW: anyone got any idea how to catch utserver messages into /var/log/utserver.log?
mcdonald Posted March 8, 2011 Report Posted March 8, 2011 I don't supose utorrent auto-update would work with this configuration, because I have no idea what method does it use to update itself.uTorrent-style auto-update won't be supported, because the contents of the package will probably be installed as read-only to non-privileged users. We'll probably set up a package repository that you can register on your computer, so that you can use apt-get upgrade.BTW: anyone got any idea how to catch utserver messages into /var/log/utserver.log?Use the -logfile argument of the utserver binary - see the included documentation.
alex607 Posted March 15, 2011 Report Posted March 15, 2011 Hello, I've got a problem:Started with this:alex607@debian:~/downloads/utorrent-server-v3_0$ ./utserver ./utserver: /lib/i686/cmov/libc.so.6: version `GLIBC_2.11' not found (required by ./utserver)Here http://packages.debian.org/sid/glibc-2.11-1 i found that file is available with lib6(it's allready installed). Can you tell me, what's the problem, please?
chris476 Posted June 14, 2011 Report Posted June 14, 2011 Hi!I have created a package from 25053 build for Debian like systems.You can download from: http://www.sitedesign.hu/utorrent/Enjoy.
Superman710e Posted June 14, 2011 Report Posted June 14, 2011 Another Debian based package is available here: http://dl.dropbox.com/u/24928836/utserver/deb/utorrent-server_3.0-25053_i386.debIt attempts to closely adhere to the Linux Filesystem Hierarchy Standard (FHS) as promulgated here: http://www.pathname.com/fhs/pub/fhs-2.3.htmlIt also creates a user named "utorrent" as a member of the group "users", and runs the daemon as that user and group.The hierarchy is:/opt/utorrent/server/bin/utserver/opt/utorrent/server/docs/<various docs>/etc/opt/utorrent/server/utserver.conf/var/opt/utorrent/server/{log,settings,torrents}Hope it's useful for someone! :cool:
swinakk Posted June 19, 2011 Report Posted June 19, 2011 Yeah very nice!! Odd though... it seems that the config file isn't applied for me (Ubuntu 11.04) Here's what I've tried so far, * edit the port and restart the service. (always runs on port 8080). * looked at the init.d script and it seems to reference the correct file (/etc/opt/utorrent/server/utserver.conf) * looked at the logs /var/opt/utorrent/server/log/utserver.log (updates when I restart service, nothing about config file...) Any ideas?
swinakk Posted June 19, 2011 Report Posted June 19, 2011 Oh! After reading the docs a bit more closely... (page 11/12 of the PDF) under section 'Reloadable Settings' only some options are applied from the config file every time. The others are loaded from settings.dat. I stopped to service and then deleted settings.dat. Once its generated... the config file is pretty much ignored except for following settings. • dir_request• disk_cache_max_size• finish_cmd• logmask• preferred_interface• state_cmd• ut_webui_dir
lithopsian Posted June 21, 2011 Report Posted June 21, 2011 Yes, can be confusing but that's the way it is. The config file is more or less useless except for initial setup. Once you get the webui to connect then it is simplest to use that to change your settings. Frustrating when you need to change a setting because you can't connect to the webui!
mcdonald Posted June 21, 2011 Report Posted June 21, 2011 The config file is more or less useless except for initial setup. Once you get the webui to connect then it is simplest to use that to change your settings. Frustrating when you need to change a setting because you can't connect to the webui!You can request the running program to reread its configuration file by either:* sending a hangup signal to the process (less preferable since this is an asynchronous request method)* if you have set up the dir_request configuration setting to refer to a directory, you can create (touch is OK) a file named rcf.utmr (more preferable since the program handles the request synchronously and thus more safely)That allows you to edit the configuration file and have the running program reread settings that can be reread.
error420 Posted June 26, 2011 Report Posted June 26, 2011 Thank you very much Superman! I had a hard time understanding the daemon configuration and autostartup. Thank you very much for making it as simple as:1. wget http://dl.dropbox.com/u/24928836/utserver/deb/utorrent-server_3.0-25053_i386.deb2. "dpkg -i utorrent-server_3.0-25053_i386.deb"Thank you again! You have no idea how many times I have tried and failed at this.Another Debian based package is available here: http://dl.dropbox.com/u/24928836/utserver/deb/utorrent-server_3.0-25053_i386.debIt attempts to closely adhere to the Linux Filesystem Hierarchy Standard (FHS) as promulgated here: http://www.pathname.com/fhs/pub/fhs-2.3.htmlIt also creates a user named "utorrent" as a member of the group "users", and runs the daemon as that user and group.The hierarchy is:/opt/utorrent/server/bin/utserver/opt/utorrent/server/docs/<various docs>/etc/opt/utorrent/server/utserver.conf/var/opt/utorrent/server/{log,settings,torrents}Hope it's useful for someone! :cool:
error420 Posted June 26, 2011 Report Posted June 26, 2011 Update: There was a small issue with Superman710e's .deb package... The daemon could be stated manually but did not automatically start at reboot. To fix, simply type the following after installing:1. update-rc.d utserver defaults2. do a "shutdown -r now" to restart and test to see if it starts up by itself this time.Worked for me!
Superman710e Posted June 26, 2011 Report Posted June 26, 2011 Update: There was a small issue with Superman710e's .deb package... The daemon could be stated manually but did not automatically start at reboot. To fix, simply type the following after installing:1. update-rc.d utserver defaults2. do a "shutdown -r now" to restart and test to see if it starts up by itself this time.Worked for me! That's by design. No package should automatically enable a service that can serve on the network without the administrators knowledge. At least in my books. There is a message after installation about the service available, and you can decide what to do at that point! Maybe it doesn't show in the .deb, I mainly design the .rpm and then convert with a few tweaks.
chris476 Posted August 9, 2012 Report Posted August 9, 2012 3.0-27079 (i386) DEB package added to my site:http://www.sitedesign.hu/utorrent/I will make the 64bit deb as soon as possible.
ZaPHoN Posted August 23, 2012 Report Posted August 23, 2012 chris476Will your deb include ut server starting after reboot?
ZaPHoN Posted August 23, 2012 Report Posted August 23, 2012 Another Debian based package is available here: http://dl.dropbox.com/u/24928836/utserver/deb/utorrent-server_3.0-25053_i386.debIt attempts to closely adhere to the Linux Filesystem Hierarchy Standard (FHS) as promulgated here: http://www.pathname.com/fhs/pub/fhs-2.3.htmlIt also creates a user named "utorrent" as a member of the group "users", and runs the daemon as that user and group.The hierarchy is:/opt/utorrent/server/bin/utserver/opt/utorrent/server/docs/<various docs>/etc/opt/utorrent/server/utserver.conf/var/opt/utorrent/server/{log,settings,torrents}Hope it's useful for someone! :cool:Superman710eI noticed I have no /opt/utorrent/server/bin/utserver after using your script and how would I enable and use rss ablities with your installation? What would be the proper start, stop and restart methods with your installation?Finally... would there be a way to call an external script such as torrentexpander?
Superman710e Posted August 29, 2012 Report Posted August 29, 2012 Another Debian based package is available here: http://dl.dropbox.com/u/24928836/utserver/deb/utorrent-server_3.0-25053_i386.debIt attempts to closely adhere to the Linux Filesystem Hierarchy Standard (FHS) as promulgated here: http://www.pathname.com/fhs/pub/fhs-2.3.htmlIt also creates a user named "utorrent" as a member of the group "users"' date=' and runs the daemon as that user and group.The hierarchy is:/opt/utorrent/server/bin/utserver/opt/utorrent/server/docs/<various docs>/etc/opt/utorrent/server/utserver.conf/var/opt/utorrent/server/{log,settings,torrents}Hope it's useful for someone! :cool:[/quote']Superman710eI noticed I have no /opt/utorrent/server/bin/utserver after using your script and how would I enable and use rss ablities with your installation? What would be the proper start, stop and restart methods with your installation?Finally... would there be a way to call an external script such as torrentexpander?What script? There is no script, it's an installation package. If the binary doesn't exist in that path then it must not have installed properly.There is an init script provided that installs at /etc/init.d/utserver. You can enable to run on every boot by executing:update-rc.d utserver defaultsYou can manually use the script by executing (pick one of the options in the parenthesis):/etc/init.d/utserver (start|stop|restart)As for RSS, you have to read the documentation. If you install the custom-webui it has a web interface for it. Otherwise you'll have to read through the forums and figure it out.Again, also with executing external scripts, it can be done, you'll have to read through the docs as well. It can be configured through the web interface or in the utserver.conf file.Also, the link in that post is probably old. Try following the link in my signature for more up-to-date packages.Take care!:cool:PS: Sorry for the delay, I never received the notice although I'm subscribed to this thread. I don't come here very often since the uTorrent release for Linux are few and far between...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.