Setting up Transmission (bittorrent) with Clutch WebUI

From Alpine Linux
Revision as of 19:51, 25 May 2023 by Jdusablon (talk | contribs) (Corrected install package name)

Introduction

This document will show you how you can setup Transmission BitTorrent client on Alpine Linux and control it with a nice HTTP web-interface. I assume that you know the basics about Alpine Linux (package management and internals) and you have enough storage available to store your downloaded media (ie USB hard-drive) and of course a working internet connection.

Setting up Transmission

Lets install it:

apk add transmission-daemon

This should install Transmission 3.0.0. After the installation is complete you should have default configuration file for init in:

/etc/conf.d/transmission-daemon

By default, transmission will run as the user "transmission". If you need to make changes, do so, and save them. You can restart transmission-daemon and see if all is working ok:

rc-service transmission-daemon restart

To configure the transmission settings (including the download location), edit the configuration file:

/var/lib/transmission/config/settings.json

If everything is OK you should see transmission-daemon running with the following command:

ps

If you change the download location in the settings, remember to transfer ownership to the transmission user and group.

chown -R transmission:transmission <DOWNLOAD_FODLER>

It may also be convienent for the "root" user to be able to access the files when administering the server. An easy way to do this is to add the root user to the transmission group:

addgroup root transmission

Lets add transmission to our system start:

rc-update add transmission-daemon

The transmission web GUI will run on http://<IP_ADDRESS>:9091/transmission

Saving your changes to disk

Now is a good time to write you changes to disk:

lbu_commit device