Changes between Version 3 and Version 4 of InstallationGuide
- Timestamp:
- 11/14/07 16:53:14 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuide
v3 v4 14 14 * some webserver 15 15 * php5, with the following extensions: 16 * xml 16 17 * xsl (libxslt1.1) 17 18 * xmlrpc … … 52 53 tar xvf xmlrpc-c-1.11.00.tgz 53 54 cd xmlrpc-c-1.11.00 54 ./configure --disable-cplusplus55 ./configure 55 56 make 56 57 make install … … 88 89 You can find an example [http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest .rtorrent.rc] file. 89 90 Open .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 choice91 * 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 91 92 * and restart rtorrent 92 93 * 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) … … 105 106 If everything went fine, extract the rtwi-xxxxxx.tar.gz to some place where your webserver can see it. 106 107 In 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 112 110 113 111 ==== Adding users ==== #addingusers 114 112 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]) 118 117 * replace "12345", with the port, you've set in the user's .rtorrent.rc file 119 118 * keep the quotes in the last three steps … … 127 126 }}} 128 127 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 rights131 * the download directory should be inside your home directory (this might change later, as soon as i find out something secure)132 133 134 128 == Troubleshooting == #troubleshooting 135 129 136 130 '''XMLRPC-C 1.11 compilation stops with some syntax error''' 137 131 * Configure with --disable-cplusplus 132 * Check the [http://xmlrpc-c.sourceforge.net/ XMLRPC-C site] 138 133 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''' 140 135 * 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) 141 136 142 137 '''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) 144 139 145 140 '''I can see the php code in the browser''' … … 154 149 155 150 '''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]) 157 152 * Enable cookies (or at least session cookies) 158 153