Fifu Development

Documentation of web based virtual approach to the tutturu issue

These instructions are outdated, please standby, the appliance will be rebuilt on top of new release from turnkeylinux and other torrent component


  1. Download Turnkeylinux lamp (more info)
  2. Install Virtual box
  3. Create virtual machine
    • Klik New from Virtual box menu
    • Give it a name
    • Give it 256 memory
    • Give it new hard disk (You need to make new one, default 8 gb is ok)
    • Confirm, finish
    • Click Settings → storage → cd/dvd rom
    • Mount, Iso image, click icon next to list.
    • Insert turnkey lamp .iso image, that you have downloaded
    • Confirm, close
    • Start the machine
  4. Installation of turnkey lamp
    • Start, install to hard disk
    • Write down root pass and mysql pass
    • In disks, take default whole Hdd (it will partition the 8gb virtual drive)
    • Reboot, unmount iso image, start machine
  5. In your web browser type ip address of the machine. You should see “it works”! That is default web page from working apache in virtual machine.

Required Software installation
Following method is using command line, for web management use Webmin administration panel

  1. Update all software
    sudo apt-get update && sudo apt-get upgrade
  2. Add additional repositories and uncomment lines::
    vi /etc/apt/sources.list.d/sources.list
    • here is additional software from turnkey linux (drupal mediawiki ect.)
      deb hardy universe
    • here are tools (mc nmap vlc)
      deb hardy universe
    • here are unstripped codecs
      deb hardy multiverse
  3. Install tools
    sudo apt-get install mc nmap wget bzip2 unrar unzip
    • dodac tu “locate”, “vlc”
  4. Install Medibuntu (ffmpeg+codecs)
    sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list && sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

Torrent client instalation Original info here

  1. get and prepare install media
    mkdir /home/tutturu && mkdir /home/tutturu/install && cd /home/tutturu/install && wget
  2. untar and copy to web directory
    tar -jxvf ./torrentflux-b4rt_1.0-beta2.tar.bz2 && cd torrentflux-b4rt_1.0-beta2 && mkdir /var/www/torrent/ && cp -R ./html/* /var/www/torrent/
  3. create mysql database (insert pass that you have defined in installation of system)
    mysqladmin -u root -p create torrentflux
  4. Insert mysql script into database
    mysql -p torrentflux < ./sql/mysql/mysql_torrentflux-b4rt-1.0.sql
  5. Copy install file
    cp /var/www/torrent/inc/config/config.db.php.dist /var/www/torrent/inc/config/config.db.php
  6. edit the config and insert mysql root pass, save, exit
    mcedit /var/www/torrent/inc/config/config.db.php
  7. give ownership to www files for web-server user
    chown -R www-data /var/www && rm /var/www/torrent/setup.php
  8. install additional software
    wget && sudo dpkg -i cksfv_1.3.5-1_i386.deb && sudo apt-get install uudeview php5-cli

  9. install media software
    sudo apt-get install vlc
  10. share dir stuff
    mkdir /home/tutturu/bzzz/ && mkdir /home/tutturu/bzzz/download
  11. Torrentflux customization
  12. login to torrentflux (http://ip-of-the-machine/torrent/) with new login and pass, write down that data
  13. go to admin page
    • change Transfer Parent Path: to /home/tutturu/bzzz/download/
    • change Document Root Path: to /var/www/torrent/
    • change uudeview to /usr/bin/uudeview
    • change vlc to /usr/bin/vlc


Continuation of fifu-dev on the page fifu dev drupal