Installing rutorrent and rtorrent via a script

I changed directory to /home/user “user is your user name”

then download the script and run.  webmin kept stopping so I skipped webmin and didn’t need the ftp server so I answered no to them and installed webmin manually later.

Ubuntu and Ubuntu clones
cd
wget –no-check-certificate -O autodl-setup http://sourceforge.net/projects/autodl-irssi/files/autodl-setup/download
sudo sh autodl-setup

Installing B4RT on Ubuntu 10.04 updated 2012

Here is a simple copy and paste info for installing b4rt on ubuntu 10.04.  Im sure this will work on many other ubuntu distro’s.  This is not a complete guide for someone who is not familiar with ubuntu command line.  Just a quick reference for copy and paste using windows and putty as the command machine.

apt-get update
apt-get upgrade

apt-get install apache2
apt-get install mysql-server phpmyadmin

apt-get install bzip2 php5-cli php5-gd zip unzip unrar libxml-dom-perl libxml-simple-perl libhtml-parser-perl libdigest-sha1-perl bittorrent bittornado vlc-nox uudeview wget transmission-cli perl python libthreads-shared-perl

(((((((((((  webmin  )))))))))))))

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.580_all.deb
dpkg –i webmin_1.580_all.deb

((((((   if you are missing dependencies  ))))))))))))
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

apt-get update
apt-get upgrade

change to a temp directory like /home/temp or something
mkdir command   mkdir /home/temp
cd /home/temp

wget http://prdownload.berlios.de/tf-b4rt/torrentflux-b4rt_1.0-beta2.tar.bz2

(or alternativly from http://gunblade.fakap.net/doc/torrentflux-b4rt_1.0-beta2.tar.bz2)
wget the latest version.

Extract it:

# tar xjvf torrentflux-b4rt_1.0-beta2.tar.bz2

# cd torrentflux-b4rt_1.0-beta2

Copy the “html” folder to the web root:

# cp -R html /var/www/b4rt

Change owner:

# chown -R www-data:www-data /var/www/b4rt/inc/config/

Create a download directory:

# mkdir /var/b4rt/

# chown www-data:www-data /var/b4rt/

4.3 Install torrentflux-b4rt

Open your new torrentflux-b4rt website:

https://xx.xx.xx.xx/b4rt or
http://xx.xx.xx.xx/b4rt

There will be a wizard to guide you threw the installation:

– select type of database: MySQL
– enter your MySQL database settings below: (as created in 3.2)

Host: localhost
Name: b4rt
Username: b4rt
Password:

UNCHECK the “Create Database” option! CHECK the “Use Persistent Connection” option.

Follow the wizard… (next, next, next …)

– Server Settings

User Download Path: /var/b4rt (as created in 4.2)

– Check System Tools

Ignore the “NOT FOUND” on “cksfv”. Continue. Next …

– Setup Completed

Delete the /var/www/b4rt/setup.php:

# rm /var/www/b4rt/setup.php

4.4 Finish the installation

https://xx.xx.xx.xx/b4rt or
http://xx.xx.xx.xx/b4rt

Login with your credentials (user, password).