Tiny Core Extensions > TCE Tips & Tricks
HOWTO: transmission with web - no GUI
batnas:
This guide will tell you how to run transmission with no GUI and only a web interface.
This is useful if you have a server running only MC
Because wo do not need a GUI, we do not need all the dependencys of transmission.
This script will install transmission with only our deps:
--- Code: ---mkdir -p /tmp/transmission
cd /tmp/transmission
tce-fetch.sh transmission.tcz
tce-fetch.sh curl.tcz
tce-fetch.sh curl.tcz.dep
tce-fetch.sh openssl-0.9.8.tcz
tce-fetch.sh libevent.tcz
echo curl.tcz > transmission.tcz.dep
echo libevent.tcz >> transmission.tcz.dep
tce-load -i transmission.tcz
cp * `cat /opt/.tce_dir`optional/
cd `cat /opt/.tce_dir`
echo transmission.tcz >> onboot.lst
--- End code ---
NB TC/MC-versions 2.x DO NOT need libevent.tcz - you can remove the lines with libevent.tcz
Now we need a config file.
You can look at this
https://trac.transmissionbt.com/wiki/ConfigurationParameters
webpage for help with setup.
Or you can use the one i have attached. You will then have to edit 'rpc-whitelist' or 'rpc-whitelist-enabled'
To start the daemon you use
--- Code: ---transmission-daemon -g /settings/folder/
--- End code ---
NOTE: the -g flag wants a folder, not the actual settings.json
If you want to change the folder whee transmission saves the files, you can do so frem the web-interface.
EDIT 1: removed 'tce-fetch.sh transmission.tce.dep' - see post #2
\\Batnas
curaga:
Good instructions.
Noticed an unnecessary line:
tc@box:/tmp/transmission$ tce-fetch.sh transmission.tcz.dep
It's written from scratch anyway, no need to download it first.
batnas:
Thanks.
It is corrected ;D
bitsnbytes:
I plan to run transmission as a headless server on tiny core and have installed the latest version (which I assume is 3.5.1 since the downloaded iso doesn't contain the version). I've followed the instructions from this site and have a few issues, perhaps the instructions are out of date and possibly require updating for a noob like me ;D
1. Most of the commands in code block 1 are fine, however when I execute the command below
--- Code: ---cp * `cat /opt/.tce_dir`optional/
--- End code ---
It complains that the directory is not found
--- Code: ---cp: can't create '/tmp/tceoptional/curl.tcz': Path does not exist
--- End code ---
Do I need to create the tceoptional folder?
Also, when navigating to the folder below
--- Code: ---cd `cat /opt/.tce_dir`
--- End code ---
(which turns out to be /tmp/tce), there is no file called onboot.lst
--- Code: ---echo transmission.tcz >> onboot.lst
--- End code ---
Do I need to create the onboot.lst file?
2. There doesn't seem to be any configuration file attached with the post, unless I should be looking somewhere else ???
--- Quote from: batnas on July 03, 2010, 09:29:41 AM ---Now we need a config file.
You can look at this
https://trac.transmissionbt.com/wiki/ConfigurationParameters
webpage for help with setup.
Or you can use the one i have attached. You will then have to edit 'rpc-whitelist' or 'rpc-whitelist-enabled'
--- End quote ---
Also, where do I save the configuration file once downloaded?
3. When I attempt to start the transmission-daemon
--- Code: ---transmission-daemon -g /settings/folder/
--- End code ---
I get the error message below
--- Code: ---transmission-daemon: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
--- End code ---
4. And finally ;D,
--- Quote from: batnas on July 03, 2010, 09:29:41 AM ---If you want to change the folder whee transmission saves the files, you can do so frem the web-interface.
--- End quote ---
Does this mean that any settings done from the web interface will be stored in the configuration file?
Sorry for so many questions, but am a linux newbie here :-[
curaga:
1. Please set up persistence first, with /tmp/tce things would be in ram and you would lose them on reboot.
Perhaps the instructions need an additional slash ("/optional" vs "optional") after that.
2. Attachments can only be seen when logged in.
Navigation
[0] Message Index
[#] Next page
Go to full version