Creating a seedbox on a Linux server
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 232 commits ahead, 2 commits behind Notos:v2.1.9.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
nano
php @ ef22c91
plugins
rutorrent.org
.gitmodules
RDPconfig.sh
README.md
SABnzbd-0.7.6-src.tar.gz
action.php.template
add2apache2.conf
aliases
autodl-trackers.zip
changeUserPassword
createOpenSSLCACertificate
createOpenSSLServiceCertificate
createSeedboxUser
deb.etc.fail2ban.jail.conf.template
debian.60-squeeze.etc.apt.sources.list.template
deleteSeedboxUser
deluge.password.py
downgradeRTorrent
etc.apache2.default.template
etc.fail2ban.jail.conf.template
etc.jailkit.jk_init.ini.template
favicon.ico
home.user.autodl.autodl.cfg.template
home.user.config.deluge.core.conf.template
home.user.config.deluge.hostlist.conf.1.2.template
home.user.config.deluge.web.conf.template
home.user.sabnzbd.sabnzbd.ini.template
installCurl
installDeluge
installDiskspacePlugin
installOpenVPN
installPLEX
installRDP
installRDP15
installRTorrent
installRapidleech
installSABnzbd
installSICKRAGE
installSUBSONIC
installUploader
installVNC
installWebmin
installZNC
installruTorrentStreamPlugin
iptodomain
jailkit-2.15.tar.gz
libtorrent-0.12.9.tar.gz
libtorrent-0.13.2.tar.gz
libtorrent-0.13.3.tar.gz
ovpni
removeWebmin
restartSeedbox.template
root.ca.cacert.conf.template
rtorrent-0.8.9.tar.gz
rtorrent-0.9.2.tar.gz
rtorrent-0.9.3.tar.gz
rtorrent.conf.template
rtorrent.jailed.conf.template
rtorrent.rc.template
rutorrent-oblivion.zip
rutorrent-stream.tar.gz
rutorrent.conf.users.config.php.template
rutorrent.conf.users.plugins.autodl-irssi.conf.php.template
rutorrent.conf.users.plugins.fileupload.conf.php.template
rutorrent.conf.users.plugins.ini.template
rutorrent.plugins.filemanager.conf.php.template
rutorrent.plugins.fileshare.conf.php.template
seedbox-from-scratch.sh
seedboxInfo.php.template
sickrageconf
sickrageservice
speedTEST
speedtest.py
ubu.etc.fail2ban.jail.conf.template
ubuntu.1204-precise.etc.apt.sources.list.template
unpack.conf.php
updateExecutables
updategitRepository
updatejkinit
upgradeRTorrent
upgradeSeedbox
versions
vsftpd_2.3.2-3ubuntu5.1_amd64.deb
vsftpd_2.3.2-3ubuntu5.1_i386.deb
vsftpd_2.3.2-3ubuntu5.1_x86_64.deb
webmin-1.600.tar.gz
xmlrpc-c-1.16.42.tgz
xmlrpc-c-1.31.06.zip
xmlrpc-c-1.33.17.tgz
xrdp_0.6.1-1_amd64.deb
xrdp_0.6.1-1_i386.deb
xrdp_0.6.1-1_x86_64.deb

README.md

The Seedbox From Scratch Script

Donate by buying me a Beer : BTC address: 1DCQC5U5zgUMJUGsEniznnKstfNwF3YVMk

Wiki || FAQ

Current version = 14.06

This script will provide ssl only links, Sorry http :(

This script has the following features

Installed software

  • ruTorrent 3.7 + official plugins
  • rTorrent 0.9.6 or 0.9.3 or 0.9.4(you can choose)
  • Deluge 1.3.5
  • libTorrrent 0.13.6 or 0.13.3 or 0.13.4
  • mktorrent
  • Fail2ban - to avoid apache and ssh exploits. Fail2ban bans IPs that show malicious signs -- too many password failures, seeking for exploits, etc.
  • Apache (SSL)
  • OpenVPN - Fixed
  • PHP 5 and PHP-FPM (FastCGI to increase performance)
  • Linux Quota
  • SSH Server (for SSH terminal and sFTP connections)
  • vsftpd (Very Secure FTP Deamon) <-- Working
  • IRSSI
  • Webmin (use it to manage your users quota)
  • sabnzbd (http://sabnzbd.org)
  • Rapidleech (http://www.rapidleech.com)
  • SiCKRAGE
  • Subsonic
  • ZNC
  • PLEX
  • Loadavg - Access via http://SERVER-IP/loadavg

Main ruTorrent plugins

autotools, cpuload, 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 Notos)
  • Filemanager (modified to handle rar, zip, unzip, tar and bzip)
  • Fileupload
  • Fileshare Plugin (http://forums.rutorrent.org/index.php?topic=705.0)
  • MediaStream (to watch your videos right from your seedbox)
  • Logoff
  • Theme: Oblivion & Agent 46

Before installation

You need to have a Fresh "blank" server installation. After that access your box using a SSH client, like PuTTY.

Warnings

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/passwords should be written in lowercase without space.

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.

How to install

That is the question you must ask yourself. :(

You must be logged in as root to run this installation or use sudo on it.

Commands

After installing you will have access to the following commands to be used directly in terminal

  • createSeedboxUser
  • deleteSeedboxUser
  • changeUserPassword >>> [ changeUserPassword USERNAME NEWPASSWORD rutorrent ]
  • installRapidleech
  • installOpenVPN
  • installSABnzbd
  • installWebmin
  • installSICKRAGE
  • installPLEX
  • installSUBSONIC
  • installZNC
  • speedTEST >>> To do commandline speedtest
  • updategitRepository
  • removeWebmin
  • restartSeedbox

While executing them, if sudo is needed, they will ask for a password.

Services

To access services installed on your new server point your browser to the following address:

https://<Server IP or Server Name>/private/SBinfo.txt

Download Directory

To access Downloaded data directory on your new server; point your browser to the following address:

https://<Server IP or Server Name>/private/Downloads

####OpenVPN To use your VPN you will need a VPN client compatible with OpenVPN, necessary files to configure your connection are in this link in your box:

https://<Server IP or Server Name>/rutorrent/CLIENT-NAME.zip and use it in any OpenVPN client.

Supported and tested servers

  • Ubuntu Server 12.10.0 - 64 bit (on VM environment)
  • Ubuntu Server 12.04.x - 64 bit (on VM environment)
  • Ubuntu Server 14.04.x - 32 bit (OVH's Kimsufi 2G and 16G - Precise)
  • Ubuntu Server 14.04.x - 64 bit (OVH's Kimsufi 2G and 16G - Precise)
  • Ubuntu Server 14.10 - 32 and 64 bit
  • Ubuntu Server 15.04 - 32 and 64 bit
  • Ubuntu Server 15.10 - 32 and 64 bit
  • Debian 6.0.6 - 32 and 64 bit
  • Debian 6.0.6 - 32 and 64 bit
  • Debian 7.0 - 32 and 64 bit
  • Debian 8.X - 32 and 64 bit

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 clicking

System => Disk and Network Filesystems => /home => Use Quotas? => Select "Only User" => Save

Now you'll have to configure quota for each user, doing

System => Disk Quotas => /home => => Configure the "Soft kilobyte limit" => Update

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

Changelog

Take a look at seedbox-from-scratch.sh and github commit history, it's all there.

Support

There is no real support for this script, but nerds are talking a lot about it HERE and you may find solutions for your problems in that thread.

License

Copyright (c) 2015 dannyti (https://github.com/dannyti/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--> Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php