TorrentFlux-b4rt

From AwkwardTV
Revision as of 11:52, 27 March 2008 by Pier (talk | contribs) (Install XAMPP (and disable most of it afterwards): - more info)
Jump to: navigation, search

TorrentFlux-b4rt

Wanted to directly download movies/series onto my AppleTV. Installed TorrentFlux, currently only using the wget method (as I don;t have a Mac to compile the transmissioncli).

Can now download directly onto AppleTV using my preferred usenet supplier (easynews) web interface.

Below is the (first) dump of my notes during installation.

My Installation Notes

Make a safe(r) installation

  • .ssh/authorized_keys : add public key [1]
  • Downloaded Darwin ISO darwinx86-801.iso.gz [2]

Upload following files from ISO:

nohup
which
uptime
wget (from http://wiki.awkwardtv.org/wiki/Apple_TV_Binaries )
bunzip2
du

And

chmod 755 nohup which uptime wget bunzip2 du
chown root:wheel nohup which uptime wget bunzip2 du

Upload following packages from ISO:

bzip2-9.root.tar.bz2
curl-28.root.tar.bz2
gnuzip-19.root.tar.bz2
top-15.root.tar.bz2
vim-13.root.tar.bz2
zip-6.root.tar.bz2

Now:

sudo mount -uw /

And copy/untar the files into correct locations (/usr/bin and untar with -C / option)

  • vi /etc/sshd_config:
PermitPasswordLogin: no
ChallengeResponseAuthentication: no
  • Make sure your public/private key login works (test it!) and:
reboot

Install XAMPP (and disable most of it afterwards)

After installation, move XAMPP files out of the system disk (not needed, but this allows you to boot with the system still mounted read-only):

/Applications/xampp/xamppfiles/mampp stop
mv /Applications /mnt/Scratch
ln -s /mnt/Scratch/Applications /Applications
  • mkdir ~/htdocs
/Applications/xampp/xamppfiles/mampp StopFTP
/Applications/xampp/xamppfiles/mampp StopSSL
  • edit httpd.conf, remove all AliasMappings and point DocumentRoot to your ~/htdocs
/Applications/xampp/xamppfiles/mampp start

If everything works, make XAMPP autostart

If you want, do setHostName etc.

Set path and add xamppfiles/bin to it.

Install torrentflux-b4rt

Download latest version (beta2) and install torrentflux-b4rt

Set register_globals: off Must set php path yourself

In ClientHandler.wget.php - inject: Add $url = str_replace("http://downloads.members.easynews.com", "http://username:password@downloads.members.easynews.com", $url)

--Pier 16:58, 25 March 2008 (CET)