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.
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
Burn this ISO image to a Blank CD using any CD burning Softwares,
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
System Requirement:- This is the wiki page for system requirement
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.
This is the server guide for ubuntu server 10.04, you can use this for future reference.
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
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
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
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
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.
Edit this line to
For a new username.
Edit this line to set a password manually.
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.
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.