Line 33: |
Line 33: |
| It should contain the lines in step 3. If you get nothing in return, go back to 3. | | It should contain the lines in step 3. If you get nothing in return, go back to 3. |
| | | |
− | 6. Install torrentflux and smeserver-torrentflux
| + | 5. Install torrentflux and smeserver-torrentflux |
| | | |
| yum --enablerepo=dungog install smeserver-torrentflux | | yum --enablerepo=dungog install smeserver-torrentflux |
Line 39: |
Line 39: |
| I don't install this from smedev because it may contain an older version. | | I don't install this from smedev because it may contain an older version. |
| | | |
− | 7. Do following commands for the changes to take effekt:
| + | 6. Do following commands for the changes to take effekt: |
| | | |
| signal-event post-upgrade | | signal-event post-upgrade |
Line 45: |
Line 45: |
| signal-event reboot | | signal-event reboot |
| | | |
− | 8. Your SME server reboots
| + | 7. Your SME server reboots |
| | | |
| If you try to connekt to YOURSERVER/torrent in a web browser at this stage you get:<br> | | If you try to connekt to YOURSERVER/torrent in a web browser at this stage you get:<br> |
| <code>ADONewConnection: Unable to load database driver ''</code> | | <code>ADONewConnection: Unable to load database driver ''</code> |
| | | |
− | 9. Create database structure
| + | 8. Create database structure |
| | | |
| /usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql | | /usr/bin/mysql torrentflux < /opt/torrentflux/sql/mysql_torrentflux.sql |
| | | |
− | 10. Copy and rename the config file
| + | 9. Copy and rename the config file |
| | | |
| cp /opt/torrentflux/html/config.php.dist /opt/torrentflux/html/config.php | | cp /opt/torrentflux/html/config.php.dist /opt/torrentflux/html/config.php |
Line 63: |
Line 63: |
| Always check your database variables in the config.php file.</code> | | Always check your database variables in the config.php file.</code> |
| | | |
− | 11. Find torrentflux mysql password (DbPassword=) with
| + | 10. Find torrentflux mysql password (DbPassword=) with |
| | | |
| config show torrentflux | | config show torrentflux |
Line 70: |
Line 70: |
| <code>rCFsw0PXkH8fThAKgzvFkQjNp1K472RwzPlpalpAKmUkPZ7A/yGAiBeerU+FQ06Ikh69wTSJMDim</code> | | <code>rCFsw0PXkH8fThAKgzvFkQjNp1K472RwzPlpalpAKmUkPZ7A/yGAiBeerU+FQ06Ikh69wTSJMDim</code> |
| | | |
− | 12. Open config.php with text editor Pico (^-sign means ctrl-button)
| + | 11. Open config.php with text editor Pico (^-sign means ctrl-button) |
| | | |
| pico -w /opt/torrentflux/html/config.php | | pico -w /opt/torrentflux/html/config.php |
Line 80: |
Line 80: |
| Exit Pico and save file (ctrl+x - y - enter) | | Exit Pico and save file (ctrl+x - y - enter) |
| | | |
− | 13. Open YOURSERVER/torrent in a web browser
| + | 12. Open YOURSERVER/torrent in a web browser |
| | | |
| Login with admin/admin, change admin password and review settings. | | Login with admin/admin, change admin password and review settings. |