Changes between Version 3 and Version 4 of InstallationGuide


Ignore:
Timestamp:
11/14/07 16:53:14 (17 years ago)
Author:
Gabor Hudiczius
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallationGuide

    v3 v4  
    1414 * some webserver
    1515  * php5, with the following extensions:
     16   * xml
    1617   * xsl (libxslt1.1)
    1718   * xmlrpc
     
    5253tar xvf xmlrpc-c-1.11.00.tgz
    5354cd xmlrpc-c-1.11.00
    54 ./configure --disable-cplusplus
     55./configure
    5556make
    5657make install
     
    8889You can find an example [http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest .rtorrent.rc] file.
    8990Open .rtorrent.rc, and edit it (for each user):
    90  * add this line to your .rtorrent.rc "scgi_port = 127.0.0.1:12345" where 12345 can be replaced by your choice
     91 * add this line to your .rtorrent.rc "scgi_port = 127.0.0.1:12345" where 12345 can be replaced by any port of your choice
    9192 * and restart rtorrent
    9293 * if you have more than one user, set a different port for each user's .rtorrent.rc file (be aware, to set different session directories for the users)
     
    105106If everything went fine, extract the rtwi-xxxxxx.tar.gz to some place where your webserver can see it.
    106107In case it's your first install, open the freshly extracted includes/config.php.inc, and edit the next lines:
    107  * $abs_path (the absolute path of your webroot, i.e.: "/var/www")
    108  * $domain (your domain, i.e.: "example.com")
    109  * $site_path (the relative path of the rtwi-xxxx directory, or whatever you renamed it, within your webroot, i.e.: "/rtwi/", if it's absolute path is /var/www/rtwi/)
    110  * $include_path (if you move the includes directory, or eave it untouched, i.e.: "/includes")
    111  * if your php interpreter does not handle .html files (only .php) set the $default_ext variable to "php", and rename the index.html to index.php
     108 * set the $url["base"] variable to your rTWi installation's URL (without index file, and with a trailing slash, so something like ''!http://mysite.com/rtwi/'')
     109 * if your php interpreter does not handle .html files (only .php) set the $url["index"] variable to "index.php", and rename the index.html to index.php
    112110
    113111==== Adding users ==== #addingusers
    114112
    115  * find row 44, and change it:
    116  * replace "userX" with the actual linux username
    117  * replace "1234567890abcdef1234567890abcdef12345678" with the sha1 hash of the choosen password for the webui (you can generate the sha1 hash [http://www.johnmaguire.us/tools/hashcalc/index.php online])
     113 * find row 32, and change it:
     114 * uncomment the line (delete the slashes from the beginning of the line)
     115 * replace "username" with the actual linux username
     116 * replace "1234567890abcdef1234567890abcdef12345678" with the users' sha1 hash of the choosen password for the webui (you can generate the sha1 hash [http://www.johnmaguire.us/tools/hashcalc/index.php online])
    118117 * replace "12345", with the port, you've set in the user's .rtorrent.rc file
    119118 * keep the quotes in the last three steps
     
    127126}}}
    128127
    129 '''Important! '''
    130  * all users, using this webui will need an "!rtwi_files" directory into their download directory (set by "directory = some/path" in the .rtorrent.rc) with 0777 rights
    131  * the download directory should be inside your home directory (this might change later, as soon as i find out something secure)
    132 
    133 
    134128== Troubleshooting == #troubleshooting
    135129
    136130'''XMLRPC-C 1.11 compilation stops with some syntax error'''
    137131 * Configure with --disable-cplusplus
     132 * Check the [http://xmlrpc-c.sourceforge.net/ XMLRPC-C site]
    138133
    139 '''rTorrent compilation stops with an errer, which says, i have no libtorrent installed (No package 'libtorrent' found)'''
     134'''rTorrent compilation stops with an errer, which says, i have no libtorrent installed (No package 'libtorrent' found), but i'm sure, i do'''
    140135 * Find your libtorrent.pc file (try /usr/local/lib/pkgconfig), and set the PKG_CONFIG_PATH environmental variable to it's path (export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig)
    141136
    142137'''rTorrent compilation stops with an error, which says, my libTorrent's version is an empty string (Requested 'libtorrent >= 0.11.8' but version of libtorrent is )'''
    143  * Upgrade you automake (you need 1.5+)
     138 * Upgrade you automake (you need 1.5 at least)
    144139
    145140'''I can see the php code in the browser'''
     
    154149
    155150'''I've set my username and my password in the config.inc.php, but i cannot log in'''
    156  * Did you use the password? You should use the password's sha1 hash (you can generate the sha1 hash [http://www.johnmaguire.us/tools/hashcalc/index.php online])
     151 * Did you use the password? You should use the sha1 hash of the password (you can generate the sha1 hash [http://www.johnmaguire.us/tools/hashcalc/index.php online])
    157152 * Enable cookies (or at least session cookies)
    158153