Ubuntu 10.04 Seedbox Setup - Webmin | FTP | Deluge | Thin Client | Make Torrents
Register

We are the best invite forum on the internet! Here you will find free invites, free seedboxes, free bonuses, and much more. Our members know the true meaning of sharing and have created a truly global bittorent community! Our site has the most up to date information on all private trackers and our members will guide you and introduce you to this truly secretive and enlightened club. Ready to get started? Register now!


Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27
  1. #1

    Join Date
    Apr 2009
    Location
    WI, USA
    Posts
    660
    Blogs
    4

    Default Ubuntu 10.04 Seedbox Setup - Webmin | FTP | Deluge | Thin Client | Make Torrents

    This tutorial will guide you through installing Webmin, FTP, Deluge, and a ThinClient. For those of you that do not know what a ThinClient is, it allows you to connect to your deluge seedbox via a deluge installation on your own PC.

    Setting up a new user
    If you already have a sudo user skip this step and move on to installing webmin

    Log into your server via ssh with your root user. You can use PuTTY to do this if you do not have an ssh program.



    One logged in type the following
    Code:
    adduser <name>
    This will create a new user, enter the Unix password you want for the new user, followed by hitting Enter until 6 times. Your screen should look like this except the username 'test' would be replaced by the name you picked:
    Code:
    root:~$ adduser test
    Adding user `test' ...
    Adding new group `test' (1001) ...
    Adding new user `test' (1001) with group `test' ...
    Creating home directory `/home/test' ...
    Copying files from `/etc/skel' ...
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    Changing the user information for test
    Enter the new value, or press ENTER for the default
            Full Name []:
            Room Number []:
            Work Phone []:
            Home Phone []:
            Other []:
    Is the information correct? [Y/n]
    root:~$
    Now we need to add this user to the sudo list:
    Code:
    visudo
    Look for this part of the file:
    Code:
    # User privilege specification
    root    ALL=(ALL) ALL
    Move your cursor to just below that and type:
    Code:
    <name> ALL=(ALL) ALL
    Replace <name> if the name of the user you created

    Now hit:
    Code:
    Ctrl + X
    Y
    Enter
    Log out of ssh

    Installing Webmin
    Log in as your sudo user that you already had or just created

    Time to download webmin:
    Code:
    wget -O webmin.deb http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin_1.580_all.deb?r=http%3A%2F%2Fwww.webmin.com%2F&ts=1334450595&use_mirror=iweb
    After it downloads it, we need to install it:
    Code:
    sudo dpkg -i webmin.deb
    If you get an error saying dependencies are missing run this to force the install and grab what is needed:
    Code:
    sudo apt-get -f install
    After it is installed you will see this:
    Code:
    Webmin install complete. You can now login to <server_ip>:<port>
    as root with your root password, or as any user who can use sudo
    to run commands as root.
    Log into webmin using the ip:port given to make sure it installed correctly

    Installing FTP Server
    Now it is time to install an FTP server, my FTP server of choice is proFTPd:
    Code:
    sudo apt-get install proftpd
    It will ask you if you want to run proftp from inetd or standalone, if you are going to be the only one using it I suggest picking inetd, otherwise if multiple people will be using it at once choose standalone.

    That is all you need to install an FTP server

    Installing Deluge
    Now it is time to install deluge, I prefer installing it from source:
    Code:
    mkdir downloads
    mkdir watch
    wget http://download.deluge-torrent.org/source/deluge-1.3.5.tar.gz
    tar zxfv deluge-1.3.5.tar.gz
    cd deluge-1.3.5
    Now we need to install some dependencies:
    Code:
    sudo apt-get install screen python python-twisted python-twisted-web2 python-openssl python-simplejson python-setuptools gettext intltool python-xdg python-chardet python-geoip python-libtorrent python-notify python-pygame python-gtk2 python-gtk2-dev librsvg2-dev xdg-utils python-mako
    After everything is done we need to setup, build, and install deluge
    Code:
    python setup.py clean -a
    python setup.py build
    sudo python setup.py install --install-layout=deb
    Now we need to start deluge and the webui:
    Code:
    deluged
    screen -dmS deluge-web deluge-web
    If you get the error: var/run/screen must have mode 777, then do this
    Code:
    sudo chmod 777 /var/run/screen
    Now log into your your web-ui by going to <server_ip>:8112

    The password is: deluge

    Once you log in for the first time it will ask you if you want to change your password, I suggest doing this.

    Now we just to do some setup, click the preferences button and do the following:


    There is a known bug so make sure you use the down arrows to get everything to -1



    Hit apply and then ok, you can now add torrents to your seedbox by either using the web-ui or ftp'ing the torrent files to /home/<name>/watch and it will save the files to /home/<name>/downloads

    Thin Client
    Here is where deluge kicks rtorrent's ass, it allows you to install deluge on your own PC.

    Install deluge with the appropriate file: Download Deluge

    Log back into your server via ssh and do the following, where "username" and "password" are the username and password you intend to use.
    Code:
    echo "username:password:10" >> ~/.config/deluge/auth
    Now run the Console UI:
    Code:
    deluge-console
    We need to enable remote connections and check that it was set correctly:
    Code:
    config -s allow_remote True
    config allow_remote
    Exit the console:
    Code:
    exit
    We need to restart deluge
    Code:
    pkill deluged
    deluged
    Now we need to setup deluge on your client to connect to the seedbox:
    • Open up deluge
    • Go to Preferences --> Interface and uncheck 'Classic Mode' to disable it
    • Restart deluge, you should now see the Connection Manager pop up.
    • Remove the localhost daemon.
    • Click "add" and for 'Hostname' enter your server's IP
    • Leave the Port as default (58846)
    • Enter the Username and Password you added to the auth file then finish by clicking Add. A green dot should now appear as the status for the host you just added
    • (optional) Expand "Options" and select "Automatically connect to selected host on startup" and "Do not show this dialog on start-up".
    • Click "Connect" and the connection manager pop up box should disappear.


    You can now add/remove torrents using deluge on your desktop and it will control the seedbox

    Making Torrents
    Verify that mktorrent is installed
    Code:
    which mktorrent
    If it is not installed, install it
    Code:
    sudo apt-get install mktorrent
    Now it is time to make the torrent:
    Code:
    mktorrent -v -p -i <piece size> -a http://announceurl.com -o filename.torrent <Path to files>
    The piece size determines how large each piece is, for larger files you should use a larger piece size
    Code:
    Piece Sizes
    -l 18 = 256kb
    -l 19 = 512kb
    -l 20 = 1MB
    -l 21 = 2MB
    -l 22 = 4MB
    -l 23 = 8MB
    -l 24 = 16MB
    Final Thoughts
    If you have any issues, feel free to post below or PM me on the site. I will do my best to update this accordingly to new versions for the software installed

    Check this thread to upgrade deluge if a new version comes out: Upgrading Deluge if you install from Source
    Last edited by TheLaughingMan; April 19th, 2012 at 04:01 PM.

    Need help with a seedbox? Jump on IRC and message me!
    Ubuntu 10.04 Seedbox Setup | Upgrading Deluge from Source


  2. To remove ads become VIP. Inquire about advertising here.
  3. #2

    Join Date
    Mar 2012
    Location
    dark place
    Posts
    54

    Default

    Nice guide pictures and all.very well explained all the steps, thank you!

  4. #3

    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    188

    Default

    Hi Laughingman,

    Great guide! I have a managed dedicated server, and was wondering if it was possible to run both clients from my server?

    Cheers bro,

    BN

  5. #4

    Join Date
    Apr 2009
    Location
    WI, USA
    Posts
    660
    Blogs
    4

    Default

    What do you mean by both clients?

    Need help with a seedbox? Jump on IRC and message me!
    Ubuntu 10.04 Seedbox Setup | Upgrading Deluge from Source

  6. #5

    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    188

    Default

    sorry mate i meant deluge and rtorrent

  7. #6

    Join Date
    Apr 2012
    Location
    Sweden
    Posts
    67

    Default

    Nice guide. However, I disagree with using Ubuntu on headless machines such as seedboxes. You really don't need all that bloat. Minimal distributions are the way to go because you can install just the bare essentials need for the system to run, plus your torrent client and the tools you need. Plus you save room for more torrents!

    Arch Linux or Debian stable are the way to go. Most VPS/dedi/seedbox providers offer Debian, so I'd say go with that over Ubuntu any day.

  8. #7

    Join Date
    Apr 2009
    Location
    WI, USA
    Posts
    660
    Blogs
    4

    Default

    You can have both, though I am not sure why you would want both

    Need help with a seedbox? Jump on IRC and message me!
    Ubuntu 10.04 Seedbox Setup | Upgrading Deluge from Source

  9. #8

    Join Date
    Jan 2012
    Posts
    1,022

    Default

    Very good guide, thank you for the contribution

  10. #9

    Join Date
    Jul 2011
    Posts
    139

    Default

    Does deluge put a lot more load on cpu than rtorrent? I know it uses more RAM but what about the cpu?

  11. #10

    Join Date
    Jan 2012
    Posts
    1,022

    Default

    Quote Originally Posted by thenewbie View Post
    Does deluge put a lot more load on cpu than rtorrent? I know it uses more RAM but what about the cpu?
    Yes Deluge does put a higher load on the CPU as well. In general Deluge is a more resources draining client

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Replies: 4
    Last Post: February 21st, 2012, 09:52 PM
  2. Ubuntu 10.04 x32/x64 Anonymous Proxy via Tinyproxy
    By Deatherage in forum Seedbox Tutorials
    Replies: 1
    Last Post: February 16th, 2012, 10:34 AM
  3. Easy install FreeNX remote desktop on Ubuntu 10.04 server
    By UltraSbox in forum Seedbox Tutorials
    Replies: 1
    Last Post: October 13th, 2011, 03:52 AM
  4. ubuntu seedbox setup?
    By xDrewxx in forum BitTorrent Discussion
    Replies: 6
    Last Post: February 25th, 2011, 11:19 PM
  5. Ubuntu - 10.04 LTS Lucid
    By havoc in forum Computers
    Replies: 1
    Last Post: September 18th, 2010, 06:45 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •