Make your own home Server for Torrent Downloads

This post is inspired form an original written by Xam on Simple Home File Server (Based On Ubuntu) . Here we can use this server for torrent downloads using transmission torrent client in Ubuntu.

This is the orginal post showing how to make an ubuntu home server.

http://www.howtoforge.com/ubuntu-home-fileserver

You can follow this steps for installing Ubuntu Server, The author is using Ubuntu 7.10 Gutsy Server for installation, but you can use any latest version of Ubuntu Server for making a Home Server. I prefer Ubuntu 10.04 Lucid Server LTS, because you will get a Long Term Support of 5 Years from Canonical Enterprise, and most of the package are avilable in there own repositories.

Here is the link for downloading the latest version of ubuntu ISO image

http://www.ubuntu.com/server/get-ubuntu/download

Burn this ISO image to a Blank CD using any CD burning Softwares,

http://infrarecorder.org/

This is a freely available CD burning Software

Before downloading Ubuntu Server please confirm your system architecture, whether its a 32 bit CPU or 64 bit.

Please read Technical resources and White Papers for more details on Ubuntu Server

http://www.ubuntu.com/server/technical-resources

System Requirement:- This is the wiki page for system requirement

http://en.wikipedia.org/wiki/Ubuntu_(operating_system)#System_requirements

How ever 300 Mhz 128 Mb ram is the minimal system requirement, You can use your old PC for installing this server.

Attention:- Installation procedure wipe out all your Hard Disk data, so please take back up of your important data before proceeding.

https://help.ubuntu.com/10.04/serverguide/C/index.html

This is the server guide for ubuntu server 10.04, you can use this for future reference.

http://www.howtoforge.com/perfect-server-ubuntu8.04-lts

This is an installation procedure for ubuntu 8.04 version, this guide can also be used for installing 10.04 version.

Ok, after installation is finished reboot your system, here you will get a command line interface. This is our server ;-).

Login to your server with ur username and password

Check your Interface configuration of your server

ifconfig

This will list your interface that are connected to the network and its IP configurations.

You can find your ip from here, it may look like

eth0      Link encap:Ethernet  HWaddr 00:24:d6:3b:06:e4
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::224:d6ff:fe3b:6e4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191730 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130273 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:247309811 (247.3 MB)  TX bytes:13339629 (13.3 MB)

Here eth0 is your network interface and 192.168.1.4 is your server ip assigned by dhcp for that interface.

Next step is to update your system for new patches and security releases,

sudo apt-get update

This will update your system repositories

sudo apt-get upgrade

This will take some time to finish because it dowloads the latest updates and patches from the repositories,

Ok now reboot your system

reboot

Login again with your username and password. Next step is to make your server ready for torrent downloads

sudo apt-get install transmission-common transmission-cli transmission-daemon

This will install transmission client to you system having a command line interface.

Note: Please dont install transmission itself ( sudo apt-get install transmission) to your sytem , coz it may try to download gtk to you system and may cause errors.

Now its the time to run transmission daemon on ur server,

sudo /etc/init.d/transmission-daemon restart

Next step is to configure the web interface of transmission client, so that u can access the torrent client from any machines connected in the network. For this there is a file named settings.json in /etc/transmission-daemon, you have to edit this file for enabling web access

sudo -s

nano /etc/transmission-daemon/settings.json

scroll down to find the line “rpc-whitelist”: “127.0.0.1”,

edit it to “rpc-whitelist”: “*”,

Where*” helps to access you transmission from any outside IP. Additionally you can set a username and password for controlled access.

“rpc-username”: “transmission”,

Edit this line to

“rpc-username”: “your-username”,

For a new username.

“rpc-password”: “{cd10129f6dced22a166c2430c3ewe22bb1739dcde9IdMWi262”,

Edit this line to set a password manually.

“rpc-password”: “my-secure-passwd”,

Ok you are done, save the file by pressing ctrl X, it will ask for a confirmation press y and then press return, your file has been saved. Now restart your transmission client again using the command.

sudo /etc/init.d/transmission-daemon restart

Now its time to access your torrent server from other clients, open your we browser on your client machine and type.

http://your-server-ip:9091

eg: http://192.168.1.4:9091

It will ask for username and password, put ur transmission username and password there click OK. Yap ur torrent server is ready , you can browse and upload torrents on you local pc, now ur server starts downloading, you can set the speed limits and change the download folder by clicking the preference button. Come on let’s starts downloading.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: