Ubuntu Seedbox with rtorrent | rutorrent | pureftpd | multi-user (optional)

saroos1

Member
May 25, 2018
718
0
16
my guess is you are on debian but haven't added the non-free and/or contrib repos to your apt sources.
 

saroos1

Member
May 25, 2018
718
0
16
dude, this isn't an "how to use your shitty linux distro" forum. If you have questions about yout specific linuxisms please post them in the proper location.


I spent 15 minutes in instant messages with you telling you exactly what to do. go READ UP ON apt-get and repositories.
 

simur612

Member
May 25, 2018
879
0
16
Hey,
great tutorial, everything works great.
I did everything, like you discribed it. I want to install this iPhone Webui: http://kramerican.dk/index.php?page=rtorrent-for-iphone How can I do that? If someone could just tell me what exactly i have to tipe in SSH, that would be just great...
All my installations directories are like here, so there should not be a problem with that
thank you
 

randac56

Member
May 25, 2018
915
0
16

I just installed the files in my var/www/....... and followed the README.txt and it works a treat............
 

peshua19

Member
May 25, 2018
897
0
16
Is there some other repository I'm supposed to add for this to work? I'm using a supposedly "vanilla" image of Ubuntu 10.04 (64-bit) from my VPS provider and whenever I get to the Install necessary basic packages" step, it fails miserably.

Code:
torrent@XXXXXXXX:~$ sudo apt-get install apache2 apache2.2-common apache2-utils autoconf automake autotools-dev binutils build-essential bzip2 ca-certificates comerr-dev cpp cpp-4.1 dpkg-dev file g++ g++-4.1 gawk gcc gcc-4.1 libapache2-mod-php5 libapache2-mod-scgi libapr1 libaprutil1 libc6-dev libcppunit-dev libcurl3 libcurl4-openssl-dev libexpat1 libidn11 libidn11-dev libkdb5-4 libgssrpc4 libkrb5-dev libmagic1 libncurses5 libncurses5-dev libneon26 libpcre3 libpq5 libsigc++-2.0-dev libsqlite0 libsqlite3-0 libssl-dev libssp0-dev libstdc++6-4.1-dev libsvn1 libtool libxml2 linux-libc-dev lynx m4 make mime-support ntp ntpdate openssl patch perl perl-modules php5 php5-cgi php5-cli php5-common php5-curl php5-dev php5-geoip php5-sqlite php5-xmlrpc pkg-config python-scgi screen sqlite ssl-cert subversion ucf unrar zlib1g-dev pkg-config unzip htop screen irssi libwww-perl curl

Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
ca-certificates is already the newest version.
cpp is already the newest version.
Package cpp-4.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package cpp-4.1 has no installation candidate

Thanks.
 

simur612

Member
May 25, 2018
879
0
16
it's likely missing some repositories.

my guess would be universe/multiverse
I figured it was repo related, so I added these repositories:

Code:
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
And I am still getting the same result:

Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
ca-certificates is already the newest version.
cpp is already the newest version.
Package cpp-4.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package cpp-4.1 has no installation candidate
 

randac56

Member
May 25, 2018
915
0
16
Code:
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
And I am still getting the same result:
Why adding hardy repo if you are on vanilla?
 

simur612

Member
May 25, 2018
879
0
16
Code:
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
And I am still getting the same result:
I followed the suggestion here:

https://help.ubuntu.com/community/Repositories/CommandLine#Adding the Universe and Multiverse Repositories

And it doesn't matter what repos I have in there, it just keeps spitting out the same errors.
 

peshua19

Member
May 25, 2018
897
0
16
I followed the suggestion here:

https://help.ubuntu.com/community/Repositories/CommandLine#Adding the Universe and Multiverse Repositories

And it doesn't matter what repos I have in there, it just keeps spitting out the same errors.
Yes but with this repo you pick old version of software! You need to remplace hardy by lucid :

Code:
deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
 

lisas4567

Member
May 25, 2018
773
0
16
Thank you! I was blindly following the ubuntu help documentation without even thinking about version. This is working now
 

saroos1

Member
May 25, 2018
718
0
16
Thanks, I already made it
But i still don't understand why I have to have 5 port/each user ? in utorrent i use only 1 port for all ?
 

simur612

Member
May 25, 2018
879
0
16
you can use a single port per user.

Anyone who says you can't is just plain wrong.

(i've never used more than 1 port for my rtorrent user)


just make sure you use a DIFFERENT port for each user if you have multiple users.
 

randac56

Member
May 25, 2018
915
0
16
irssi, lynx in the apt-get install? Why it is necessary?


E: Unable to locate package g++-4.1
E: Couldn't find any package by regex 'g++-4.1'
E: Unable to locate package libneon26
E: Unable to locate package libstdc++6-4.1-dev
E: Couldn't find any package by regex 'libstdc++6-4.1-dev'

These packages are outdated and unavailable in maverick (10.10 Ubuntu).
 

peshua19

Member
May 25, 2018
897
0
16
This guide wasn't for 10.10


there should be a gcc package in 10.10 which WILL work, probably 4.4

just use apt-cache to find the replacement packages.

irssi isn't "necessary" and netiher is lynx but it is something which is consindered "nice to have" on a seedbox.

install them if you like.
 

lisas4567

Member
May 25, 2018
773
0
16
I am getting an error:

Need help
:
Bad link to rTorrent. Check if it is really running. Check $scgi_port and $scgi_host settings in config.php and scgi_port in rTorrent configuration file.

Edit: I made it work again...I just "screen"ed rtorrent
 

saroos1

Member
May 25, 2018
718
0
16
Just a quick heads up on something that messed me up when setting up multi-user on Debian Squeeze...

In the optional multi-user config section, you mention to create user folders in /www/rutorrent/conf/user, but it should be /www/rutorrent/conf/users. I could not get it to work in the user folder, but it worked right away with the users folder.

I was surprised that no one mentioned it before, so maybe Debian Squeeze is just more picky.

Thanks for the awesome HowTo. I have done it on both Ubuntu (on a PC) and Debian Squeeze (on a Seagate Dockstar)