Tag Archives: FTP

Install ruTorrent, Seedbox on Ubuntu and Debian (Multi-user, quota, sabnzbd and Deluge)

This is very easy way to install ruTorrent, Seedbox on Ubuntu and Debian server.

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

Restoring The Database via SSH/Telnet

Use SSH/Telnet Client, such as PuTTy.
Note:
If your database backup resides on your home computer, you will first have to upload it via FTP to your website
Open your SSH/Telnet client and log into your website. The command line prompt you will see will vary by OS. For most hosting companies, this will bring you into the FTP root folder.

You can either change directoties to wherever the backup is located and type in the following:

mysql -u dbusername -p databasename < backupname.sql

Or if you do not want to change directories and you know the path to where the backup is located, type in the following:

mysql -u dbusername -p databasename < /path/to/backupname.sql

You will be prompted for the database password. Enter it and the database will backup.

If your hosting company has you on a remote MySQL server, such as mysql.yourhost.com, you will need to add the servername to the command line. The servername will be the same as in your config.php. The command line will be:

mysql -h servername -u dbusername -p databasename < backupname.sql

Or:

mysql -h servername -u dbusername -p databasename < /path/to/backupname.sql

Backing Up The Database via SSH/Telnet

Use SSH/Telnet Client, such as PuTTy.

Open your SSH/Telnet client and log into your website. The command line prompt you will see will vary by OS.
For most hosting companies, this will bring you into the FTP root folder.

Type in the following to create a backup in the current directory:

mysqldump –opt -Q -u dbusername -p databasename > backupname.sql

Or to create a backup in a separate directory (signified by /path/to/) type:

mysqldump –opt -Q -u dbusername -p databasename > /path/to/backupname.sql

You will be prompted for the database password. Enter it and the database will backup.

If your hosting company has you on a remote MySQL server, such as mysql.yourhost.com, you will need to add the servername to the command line. The servername will be the same as in your config.php. The command line will be:

Current directory:

mysqldump –opt -Q -h servername -u dbusername -p databasename > backupname.sql

Separate directory:

mysqldump –opt -Q -h servername -u dbusername -p databasename > /path/to/backupname.sql

You can then, if you wish, download the backup to your home computer.