{"id":540,"date":"2013-12-01T17:57:43","date_gmt":"2013-12-01T17:57:43","guid":{"rendered":"http:\/\/blog.shineservers.com\/?p=540"},"modified":"2013-12-01T17:57:43","modified_gmt":"2013-12-01T17:57:43","slug":"setup-transmission-ubuntu","status":"publish","type":"post","link":"https:\/\/www.shineservers.com\/2013\/12\/01\/setup-transmission-ubuntu\/","title":{"rendered":"How to Setup Transmission in a Ubuntu"},"content":{"rendered":"<p>Transmission is a cross platform bittorrent client. It is an open-source, lightweight and volunteer-based project, and, it is extremely easy to use.<\/p>\n<p>It is Ubuntu\u2019s default torrent client and extremely poweful. And today we are going to learn how to install it in a remote server aka headless server.<\/p>\n<p>Note: Do not install using root user. Choose a user with admin privileges .<\/p>\n<p>&nbsp;<\/p>\n<p>1 \u2013 Open terminal and type:<\/p>\n<p><code>sudo apt-get update<\/code><\/p>\n<p><code>sudo apt-get install transmission-daemon<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>2 \u2013 Next, we\u2019ll need to make the directories where transmission will download and store complete\/incomplete files:<\/p>\n<p><code>mkdir ~\/transmission<\/code><\/p>\n<p><code>mkdir ~\/transmission\/completed ~\/transmission\/incomplete<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>3 \u2013 Transmission-daemon runs using the user \u201cdebian-transmission\u201d, so we need to grant it full access to the folder. Also, we will give ourselves access to the directories.<\/p>\n<p><code>sudo chown debian-transmission:debian-transmission ~\/transmission\/completed<\/code><\/p>\n<div>s<code>udo chown debian-transmission:debian-transmission ~\/transmission\/incomplete<\/code><\/div>\n<p>&nbsp;<\/p>\n<p>4 \u2013 Add current user to debian-transmission group.<\/p>\n<p><code>sudo usermod -a -G debian-transmission &lt;user&gt;<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>5 \u2013 Change permissions to allow only owner and group access:<\/p>\n<p><code>sudo chmod 770 ~\/transmission\/*<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>6 \u2013 Edit the config file:<\/p>\n<p><code>sudo nano \/etc\/transmission-daemon\/<\/code>settings.json<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p>download-dir\u009d: \/home\/&lt;user&gt;\/transmission\/completed<\/p>\n<p>incomplete-dir\u009d: \/home\/&lt;user&gt;\/transmission\/<wbr><\/wbr>incomplete<\/p>\n<p>pc-authentication-required\u009d: true,#Authentication is enabled by default<\/p>\n<p>pc-password\u009d: 1234567890 #Set a password for username<\/p>\n<p>pc-port: 9091,<\/p>\n<p>pc-username\u009d: transmission #Default username<\/p>\n<p>pc-whitelist\u009d: 127.0.0.1,*.*.*.* #Allow access from anywhere<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<div><\/div>\n<p>7 \u2013 After you\u2019re done, restart the transmission daemon.<\/p>\n<p><code>sudo service transmission-daemon reload<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>8 \u2013 Go to your transmission web interface:<\/p>\n<p><em>&lt;server_ip&gt;:9091<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Transmission is a cross platform bittorrent client. It is an open-source, lightweight and volunteer-based project, and, it is extremely easy to use. It is Ubuntu\u2019s default torrent client and extremely poweful. And today we are going to learn how to install it in a remote server aka headless server. Note: Do not install using root [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[60],"tags":[162],"class_list":["post-540","post","type-post","status-publish","format-standard","hentry","category-linux","tag-how-to-setup-transmission-in-a-ubuntu"],"acf":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/540","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/comments?post=540"}],"version-history":[{"count":0,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/posts\/540\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/media?parent=540"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/categories?post=540"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shineservers.com\/wp-json\/wp\/v2\/tags?post=540"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}