Subscribe via RSS Feed Agni is a freelance web designer , data manager and Troubleshooter for lot of major corporations across globe, Currently he manages cheapseedboxes.com Connect on YouTube

How to install Seedbox From Scratch Script (Multi-user, quota, sabnzbd and Deluge) By Lefteris, Install seedbox on your cheap dedicated vps

May 6, 2013 6 Comments

cheap seedbox 220 gb 100mbps unlimited traffic

Introduction
This unnatended script, intends to automatically install a fresh multi-user seedbox and it was initially 100% based on this Copper’s setup tutorial: Dedicated server /Kimsufi /OVH /Seed box setup – Rutorrent, Autodl-irssi, ZNC, Ubuntu. The final result of your seedbox will be exactly the same and the changes I made in the original script were only to provide automation to the process, but one package was upgraded: Autodl-irssi is installed in version 1.31 and not 1.10.Changes were made to make it support a multi-user environment. So now this script is not 100% compatible with Copper’s tutorialanymore but it is mostly based on it.Current Version: 2.1.9
Last stable version: 2.1.8
What it will install in your box
Installed software

– ruTorrent 3.4 + official plugins
– rTorrent 0.9.2 or 0.9.3
– libTorrrent 0.13.2 or 0.13.3
– Deluge 1.3.5 (current stable) multi-user
– mktorrent

- JailKit (providing chroot jail)
- Fail2ban
– Apache (SSL)

- OpenVPN
– PHP 5 and PHP-FPM (FastCGI to increase performance)
– Linux Quota
– SSH Server (for SSH terminal and sFTP connections)

- vsftpd (Very Secure FTP Deamon – for users jailed and non-jailed)
– IRSSI
– Webmin (use it to manage your users quota)
– 
sabnzbd: Ubuntu PPA Repository – SABnzbd
- RapidleechMain ruTorrent pluginsautotoolscpuload, diskspace, erasedata, extratio, extsearch, feeds, filedrop, filemanager, geoip, history, logoff, mediainfo, mediastream, rss, scheduler, screenshots, theme, trafic and unpack

Additional ruTorrent plugins
- Autodl-IRSSI (with an updated list of trackers)
– A modified version of Diskpace to support quota (by me)
– Filemanager (modified to handle rar, zip, unzip, tar and bzip)
– Fileupload
– Fileshare
– MediaStream (to watch your videos right from your seedbox)
– Logoff

- Theme: Oblivion 
Supported Operating Systems
Ubuntu Server 12.04 – 64bit (tested on a VirtualBox VM)
Ubuntu Server 12.10 – 64bit (tested on a VirtualBox VM)
Ubuntu Server 12.04 – 64bit (OVH’s Kimsufi – Precise)
Debian 6.0 – 32 and 64bit (OVH’s Kimsufi – Squeeze)
Step 0 – Warnings
If you have any problems, please firstREAD THE FAQ: FAQIf you don’t know Linux ENOUGH:DO NOT install this script on a non OVH Host.
It is doable, but you’ll have to know Linux to solve some problems.
DO NOT use capital letters, all your usernames should be written in lowercase.

DO NOT upgrade anything in your box, ask in the thread before even thinking about it.

DO NOT try to reconfigure packages using other tutorials.

Step 1
Install your operating system on a computer or a virtual machine
(all my tests were made on a virtualized [VirtualBox] operating system)
Step 2
Login to your server using an SSH client (PuTTY) using your root account, this also will be your seedbox username.
Step 3
Download the script and run it. Just copy and paste those commands on your terminal:

Code:
wget -N https://raw.github.com/Notos/seedbox-from-scratch/v2.1.9/seedbox-from-scratch.sh
time bash ~/seedbox-from-scratch.sh
Step 4
Just answer all script questions.
Step 5
Cross your fingers and wait for the installation to finish, this may take a while and an automatic reboot of your server will occur at the end.
Step 6
After reboot, use a browser (Firefox, Chrome…):To acess your seedbox
http://ip-addres-of-your-server/rutorrentTo view info about all your users
http://ip-addres-of-your-server/seedboxInfo.php
Step 7
ENJOY IT! 
To access services installed on your server
ruTtorrent
URL: https://<Server IP or Server Name>/rutorrent
U: <username>
P: <rutorrentpassword>FTP – SSH
IP: <Server IP or Server Name>
U: <username>
P: <password>
Port: 21976 (or the one you typed during setup)
Protocol: SFTP – SSH File Transfer Protocol (not “FTP”)FTP – vsftpd
IP: <Server IP or Server Name>
U: <username>
P: <password>
Port: 21201
Protocol: FTP

SSH
IP: <Server IP or Server Name>
U: <username>
P: <password>
Port: 21976 (or the one you typed during setup)
Note that root login is disabled. Login as the user you created in the first steps and prefix a command with “sudo” if you need root privileges.Webmin
IP: https://<Server IP or Server Name>:10000
U: <username>
P: <password>
Port: 10000If you are a Kimsufi user, your <Server Name> should be something like ksXXXXXX.kimsufi.com.
Multi-user Commands
You must be logged in as an user that has permission to run sudo.
But don’t use sudo to run these commands, it will be used internally:createSeedboxUser

deleteSeedboxUser

changeUserPasswordI think that the command names are self explanatory. 
Downgrading to rTorrent 0.8.9 and libtorrent 0.12.9
You must be logged in as an user that has permission to run sudo.
But don’t use sudo to run these commands, it will be used internally:downgradeRTorrent

upgradeRTorrentI think that the command names are self explanatory. But ugrade script will get you back to 0.9.2. 
Quota
Quota is disabled by default in your box. To enable and use it, you’ll have to open Webmin, using the address you can find in one of the tables box above this. After you sucessfully logged on Webmin, enable it by clickingSystem => Disk and Network Filesystems => /home => Use Quotas? => Select “Only User
=> Save

Now you’ll have to configure quota for each user, doingSystem => Disk Quotas => /home => <username> => Configure the “Soft kilobyte limit” => Update

Note that /home is the mount point (disk partition) your /home is located.

As soon as you save it, your seedbox will also update the available space to all your users. 
typical seedbox

typical seedbox

Notes
If you have an Ubuntu Server 12.04, but you didn’t installed it yourself, make sure the username you are using has SUDO rights in this server, issue the following command at the SSH prompt:

sudo clear

It may ask for your password and, after that, if the screen is cleared and the user you are using is not root, you are good to go. Otherwise you should follow steps 1 to 5 of Copper’s tutorial: Dedicated server /Kimsufi /OVH /Seed box setup – Rutorrent, Autodl-irssi, ZNC, Ubuntu.

After install the SSH port of your server will be changed to 21976 (or whatever port number you specify), remember that, but, for security reasons you should change it, also refer to Copper’s tutorial, step 4 will help you do that, you just have to change the port number, nothing else.

If you want to use ZNC, just log in to your server, using SSH, and execute this:

znc –makeconf

-By Lefteris

Filed in: Dedicated, Seedbox, VPS
5 comments
sugoi
sugoi

works great for me


rutorrent and FTP


kimsufi.com

OSUbuntu Server 12.04 "Precise Pangolin" LTS (64bits)


thanks.

Ikthezeus
Ikthezeus

Hi,


thanks for the script!


My issues are that I have installed it, setup users, setup quotas and rutorrent isn't displaying the disk % or space, any ideas why?

Also once a torrent is downloaded it automatically hash checks before seeding, how do I stop it doing this?

My final issue is I have this error: "fileupload: Plugin will not work. rTorrent user can't access external program (plowup)."


System is running Ubuntu 1210 Server 64bit.


Your help is much appreciated!


Ik.

zouarid
zouarid

Hi,


thanks for this script.

FYI, it works on online.net, exept for ftp server.


DaD

maxpaynecu
maxpaynecu

nice tuto thanks :) can you update the apps¡¡ there are new versions :) please


Trackbacks

  1. OVH seedbox, can I use it for torrenting? - Page 2 says:

    […] a good script here http://cheapseedboxes.com/how-to-ins…dedicated-vps/ […]