Archive of “Mencatat Info”
www.mencatat.info
How to Run Multiple Instances of Transmission Daemon in Linux Debian or Ubuntu By : Gusti Tammam (
[email protected] ) Translation by Google Translate | Please contribute for better translation, send email to
[email protected]
Introduction
T
ransmission is the most popular torrent client used used by linux vps users. Apart from the view that a simple, easy and elegant, most users use transmission because the installation is not so complicated.
Tranmission is equipped with a built-in web web server with the default port is 9091. Through 9091. Through that port We can access the web interface of interface of the transmission through our favorite web browser. Usually the structures that we need to enter the URL in the web browser when they want to access the transmission is as follows: {server ip or domain: port transmission}.
Example :
Our server has an IP 123.45.678.9 and its domain is www.doma.in And transmission running on port 9091
So we can access transmission with enter this URL below to web browser :
http://123.45.678.9:9091 http://www.doma.in:9091
And the picture picture below below shows shows what what the web interface of of the transmission look like.
How to Run Multiple Instances of Transmission Daemon Server © Mencatat Info 2014
Archive of “Mencatat Info”
www.mencatat.info
In general, in a server, there is only one transmission is running. But in fact you can also run multiple transmissions simultaneously in a single server. Here is the reason why people need to run multiple transmissions at the same time in a single server:
Want to share a server with friends or relatives Want to sell leechbox Need privacy when using transmission for multiple multip le user Etc.
In this article, we discuss the steps to run the multi-transmission in a single server with the following steps: 1. 2. 3. 4. 5.
Install transmission Make sure the transmission is turned off Perform duplicate configuration files Perform configuration on each file that was copied Turning on all of transmissions 6. Done
How to Run Multiple Instances of Transmission Daemon Server © Mencatat Info 2014
www.mencatat.info
Archive of “Mencatat Info”
Explanation Installation of Transmission Daemon I assume transmission was not installed in your server , therefore please do the installation as follows: # add-apt-repository add- apt-repository ppa:transmissionbt/ppa # apt-get update # apt-get install transmission-daemon
Make Sure The Transmission is Turned Off To check the status of the transmission-daemon, please run the following follow ing command: # /etc/init.d/transmission/etc /init.d/transmission-daemon daemon status
ok ] transmission-daemon is running . That means transmission is If output is : [ ok active. So, you need to turn it off first with the following command : # /etc/init.d/transmission/etc /init.d/transmission-daemon daemon stop
So it would appear the output [ ok ok ] ] Stopping bittorrent daemon: transmissiondaemon. That means transmission-daemon would be turned off. And when you check the status back, the output message is [FAIL FAIL] ] transmission-daemon is not running ... failed!
Duplicate the Configuration File To run more than one transmission, we need to duplicate original transmission configuration files. The files will be copied are:
/usr/bin/tran /usr/bin/transmis smission-daem sion-daemon on /etc/init.d/tr /etc/init.d/transmissi ansmission-daem on-daemon on /var/lib/tran /var/lib/transmission-d smission-daem aemon on /etc/transmissi /etc/transmission-daem on-daemon on /etc/default/t /etc/default/transmis ransmission-daem sion-daemon on
The command below the transmission-daemon2 # # # # # # # # # #
will
duplicate
the
files
from
the transmission-daemon to to
cp /usr/bin/transmission/usr/bin/transmission-daemon daemon /usr/bin/transmission-daemon2 cp /etc/init.d/transmissi /etc/init.d/transmission-daemon on-daemon /etc/init.d/transmission-daemon2 cp -a /var/lib/transmission-daemon /var/lib/transmission-daemon2 cp -a /etc/transmission-daemon /etc/transmission-daemon2 cp /etc/default/transmiss /etc/default/transmission-daemon ion-daemon /etc/default/transmission-daemon2 chmod –R 777 /usr/bin/transmission /usr/bin/transmission-daemon2 -daemon2 chmod –R 777 /etc/init.d/transmission-daemon2 chmod –R 777 /var/lib/transmission /var/lib/transmission-daemon2 -daemon2 chmod –R 777 /etc/transmission-dae /etc/transmission-daemon2 mon2 chmod –R 777 /etc/default/transmission-daemon2
How to Run Multiple Instances of Transmission Daemon Server © Mencatat Info 2014
www.mencatat.info
Archive of “Mencatat Info”
Then create a symbolic link with the following command: # ln -sf /etc/transmission-daemon2/settings.json /var/lib/transmission-daemon2/info/settings.json
Perform configuration on Duplicate Files in Earlier Edit file /etc/init.d/transmission-daemon2 :
Find this word NAME = transmission-daemon
Change into this NAME = transmission-daemon2
Edit file /etc/transmission-daemon2/settings.json :
To change the download directory, Find this word "download-dir": "/var/lib/transmission-daemon/downloads"
Change into this "download-dir": "path to the download directory for transmission-daemon2 "
To change the peer-port, Find this word peer-port ": 51413,
Increase the value of peer-port 1 level
(peer-port should not be the same for each transmission, within a single server)
peer-port ": 51414,
To change the password, Find this word "rpc-password": "{745678907320987632076238d58a4510eda06ff7sCZfdZ ",
Change into this "rpc-password": "desire-new-password ",
To change the username, Find this word "rpc-username": "transmission",
Change into this "rpc-username": "desire-new-user ",
To change the port transmission, Find this word rpc-port ": 9091,
Increase the value of rpc-port 1 level (rpc-port should not be the same for each transmission, within a single server) rpc-port ": 9092,
To open access to all IP, Find this word "rpc-whitelist-enabled": true,
Change into this "rpc-whitelist-enabled": false, Edit file /etc/default/transmission-daemon2 :
Find this word CONFIG_DIR="/var/lib/transmission-daemon/info"
Change into this CONFIG_DIR="/var/lib/transmission-daemon2/info" How to Run Multiple Instances of Transmission Daemon Server © Mencatat Info 2014
Archive of “Mencatat Info”
www.mencatat.info
Running Up All Transmission Before re-run all transmission, we need to add a rule to the transmission-daemon2 that we just created created earlier. earlier. The command below will make transmission-daemon2 automcally automcally run when server starting up : # update-rc.d transmission-daemon2 t ransmission-daemon2 defaults
Now do the following command to activate all transmission-daemon: /etc/init.d/transmission-daemon start /etc/init.d/transmission-daemon2 start
Done Finally reached the final stage, ie access via a browser: To access the transmission 1, please go to the URL: http: // ip-or-domain-server: 9091 To access the transmission 2, please go to the URL: http: // ip-or-domain-server: 9092
Conclusion In principle to run multiple transmissions simultaneously is duplicating the configuration file, just do not get there the same configuration or overlapping. So you need to do the editing on o n some configuration files fil es after menduplikatnya.
By doing the above methods, you can run a lot of transmission in the server as much as you want, just do not forget to pay attention to the ability of the server. Was it able to run a lot of transmission.
How to Run Multiple Instances of Transmission Daemon Server © Mencatat Info 2014
Archive of “Mencatat Info”
References
http://ubuntuforums.org/showthread.php?t=1605906
General Discussion and Questions Please send an email to
[email protected]
How to Run Multiple Instances of Transmission Daemon Server © Mencatat Info 2014
www.mencatat.info