Deluge
From Gentoo Linux Wiki
Deluge is a torrent client which consists of two parts: a server (daemon) and several clients to manage the daemon. You can run the daemon on a different box than the clients. This way, the daemon can run on an installation without X, running 24/7, while you can manage the torrents on your desktop.
Contents |
[edit] Installation
It is advantageous to always have the latest version, so keyword deluge:
Now install it:
You need to install deluge both on the client and the server, unless you're fine with the web interface. On the server, it probably makes little sense to enable gtk. Make sure you enable it on the client if you want to use the GUI.
[edit] Server configuration
Start with creating user with a home directory for Deluge and start service, as a security measure we set the shell to /bin/false and the group to nogroup:
Now it's time to configure deluge to use these settings, on the server, modify /etc/conf.d/deluged, which will be used by the deluge init script:
# Set Deluge user and group. DELUGED_USER="deluge:nogroup" # Set to "true" if you want to start an interface # a web interface makes most sense (it's not a good idea to start a GTK interface as a daemon). DELUGEUI_START="true" # Use the web interface. This variable is only used if DELUGEUI_START is set to "true". DELUGEUI_OPTS="-u web"
Now start the daemon:
After the daemon is started, you'll need to tell the server to allow remote connections. Login as deluge from an already running root session:
Set --shell parameter, otherwise you will not have any shell to login to. Remember, we set empty shell for deluge user. Start the Deluge console interface:
From here, tell deluged to allow remote connections:
Now leave the deluge shell and set server username/password:
Then restart the daemon from your original root session:
[edit] Boot
If you want to start the deluge daemon when you boot, add deluged to the default runlevel:
[edit] Client
If you want to run an interface on the client, you'll need to install deluge on the client, too. If you want a graphical interface, make sure you enable the gtk USE flag. Copy the ~/.config/deluge/auth file from the daemon's user home to your client's user home to get access. See upstream instructions for client configuration. When using the console interface, use the connect command to connect to the right server. If the deluge daemon is running on 192.168.0.123, listening on port 58846 (default):
[edit] Web client
If you're using the web client on the daemon, the client only needs a browser. The WebUI password might not be the same as the one you may have set in /etc/conf.d/deluge. The default password for the web interface is "deluge". If the web interface is running on localhost, you can find it on http://localhost:8112/