[SOLVED] rtorrent+rutorrent

  • Hey guys, I don't know if this is the right section but I was trying to install rtorrent + rutorrent the other day and I couldn't access the rutorrent webui (it was giving me a 404). So after a little searching, I tried to symlink the web dir to the rutorrent dir, but then it gave a permission error. Same error when I tried just copying the rutorrent folder to the web folder. In both cases the permissions where 755 and the owner was the openmediavault user. I also tried messing around with the website plugin, but I couldn't get it working as I wasn't able to set a directory other than the shared lvm.


    I am running OMV 0.5

  • I know it's possible to hook rutorrent into OMV on o.4 but, I haven't tried it on 0.5 yet. The way I did it before was to change the listening ports for omv and then create the configuration for a virtual host aliasing. It enabled me to access my normal website at mysite.com rutorrent at mysite.com/rutorrent/ and omv at mysite.com:81. I takes somedoing but, it is definately possible.

  • Thanks for the reply man, it helped! I actually did it by replacing the symlink in sites-enabled (in /etc/apache2) with one pointing to the following file:


  • Hi svart,


    I am trying to achieve the same. Does this file mean that your apache listens on port 81 and this is the port for your OVM GUI? You then have a virtualhost at port 80 for rutorrent? Do you then enter http://serverIP/rutorrent to get to rutorrent or I assume you just enter http://serverIP and it brings up rutorrent?


    I want to have my OVM on port 8080, where it is set now and I want to get to rutorrent through http://serverIP/rutorrent. . .


    Many thanks,
    C

  • Hey, apache functions as it would by default on port 80, so I access rutorrent from http://serverIP/rutorrent and the OMV panel from http://serverIP:81. If you want to run the OMV panel in port 8080 you can simply change the listening port in my file to 8080. So in the end you would have a file like this:


  • Thank-you for your response, it assisted me in getting it to work.


    In my base installed I had only one site enabled, /etc/apache2/sites-enabled/openmediavault-webgui, which is a sym-link of the same file in ..../sites-available. I therefore edited /etc/apache2/sites-available/openmediavault-webgui to look as per your suggestion.


    I note that I had to make a few other changes to get things working and I list them in case it helps someone else in the future.


    The file /etc/apache2/ports.conf was set up to listen on port 8080, but we had just specified that in the revised /etc/apache2/sites-available/openmediavault-webgui.


    Further I could not access http://myserverip/rutorrent as there was the webserver was not being told to listen anywhere on port 80. I therefore had to change /etc/apache2/ports.conf to;


    Code
    NameVirtualHost *:80
    Listen 80


    Now everything works.


    As an extension, I added password protection to my rutorrent page by changing the file /etc/apache2/sites-available/openmediavault-webgui to;



    I then;

    Code
    cd /var/www/rutorrent
    sudo htpasswd -c /var/www/rutorrent/.htpasswd “scoobynz”


    you will be asked for a password twice.

  • Im just updating this thread for OMV 1.0+, in-case it helps someone and in-case I need the this info in the future.


    Install the rolls-royce of torrent software using this thread / tutorial;
    http://lowendtalk.com/discussi…fect-leb-seedbox-solution
    I prefer to install rutorrent from SVN rather than downloading zip files, this makes updating easier in the future;
    https://code.google.com/p/rutorrent/wiki/GetFromSVN


    Below is a file to start at boot;

    Zitat

    nano /etc/init.d/rtorrent
    sudo chmod +x /etc/init.d/rtorrent
    sudo update-rc.d rtorrent defaults
    sudo /etc/init.d/rtorrent start


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!