installing_sabnzbd_rtorrent_and_rtgui_on_ubuntu_9.04
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
installing_sabnzbd_rtorrent_and_rtgui_on_ubuntu_9.04 [2009/08/14 07:46] – tkbletsc | installing_sabnzbd_rtorrent_and_rtgui_on_ubuntu_9.04 [2009/10/16 12:45] (current) – tkbletsc | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | **(It turns out that rtorrent sucks. Not surprising, given how shitty the interface is. Follow the [[Installing SABnzbd+ and Deluge on Ubuntu 9.04|SABnzbd+Deluge guide]] instead)** | ||
+ | |||
====== Installing SABnzbd+, rtorrent, and rtgui on Ubuntu 9.04 ====== | ====== Installing SABnzbd+, rtorrent, and rtgui on Ubuntu 9.04 ====== | ||
===== SABnzbd+ ===== | ===== SABnzbd+ ===== | ||
+ | SABnzbd+ is a web-based usenet binary downloader that eats NZB files. | ||
+ | |||
+ | ==== Paths ==== | ||
+ | |||
Here are the paths we'll assume: | Here are the paths we'll assume: | ||
^ Path ^ Purpose ^ | ^ Path ^ Purpose ^ | ||
Line 8: | Line 14: | ||
| / | | / | ||
- | ===== rtorrent | + | ==== Install |
+ | $ sudo apt-get install sabnzbdplus | ||
+ | ==== Configure ==== | ||
+ | Edit ''/ | ||
+ | * USER to your username (or the username that sabnzbd should run as). | ||
+ | * HOST to 0.0.0.0 (to allow remote access) or 127.0.0.1 (for local access only) | ||
+ | * PORT to the port number to listen on (e.g. 8001). | ||
- | ===== Configuration | + | Then just go to http:// |
- | Copy {{:rtorrent.rc|}} to '' | + | * web credentials |
+ | * usenet server details | ||
+ | * paths (if your root is mounted on flash, you should also move the cache and logs to a hard disk) | ||
+ | * download permissions to 0755 if sharing downloads via Samba/NFS | ||
+ | |||
+ | ===== rtorrent + rtgui ===== | ||
+ | rtorrent | ||
==== Paths ==== | ==== Paths ==== | ||
Line 23: | Line 41: | ||
| / | | / | ||
| / | | / | ||
+ | | / | ||
- | ==== Autostart ==== | + | ==== Install rtorrent + rtgui prerequisites ==== |
- | Add the following to / | + | $ sudo apt-get install php5 php5-xmlrpc libapache2-mod-scgi rtorrent |
+ | |||
+ | ==== Configure rtorrent ==== | ||
+ | Copy {{: | ||
+ | |||
+ | ==== Start + Autostart | ||
+ | Start rtorrent: | ||
+ | $ rtorrent | ||
+ | It should come up without error, and you can press Ctrl+Q to exit. Now we'll set it to start automatically. | ||
sudo -H -u < | sudo -H -u < | ||
This will start rtorrent in a ' | This will start rtorrent in a ' | ||
- | ===== rtgui ===== | + | Since that just starts it on reboot, start it now with: |
+ | $ screen -dmS rtorrent rtorrent | ||
+ | |||
+ | ==== SCGI ==== | ||
+ | rtgui uses Simple CGI (SCGI) to control rtorrent. | ||
+ | < | ||
+ | LoadModule scgi_module / | ||
+ | SCGIMount /RPC2 127.0.0.1: | ||
+ | </ | ||
+ | |||
+ | If you want to use .htaccess files to apply a password to this, under "''< | ||
+ | |||
+ | |||
+ | Restart Apache: | ||
+ | $ sudo service apache2 restart | ||
+ | |||
+ | ==== Install and configure rtgui ==== | ||
+ | Download rtgui from http:// | ||
+ | $ sudo tar xzf ~/ | ||
+ | |||
+ | Start with default config: | ||
+ | $ cd / | ||
+ | $ sudo cp config.php.example config.php | ||
+ | Edit config.php. | ||
+ | |||
+ | ==== Authentication | ||
+ | (You must have previously set '' | ||
+ | If you want to require a password for rtgui: | ||
+ | < | ||
+ | $ cd / | ||
+ | $ htpasswd -c .htpasswd < | ||
+ | New password: < | ||
+ | Re-type new password: < | ||
+ | </ | ||
+ | Then populate .htaccess with: | ||
+ | < | ||
+ | AuthType Basic | ||
+ | AuthName " | ||
+ | AuthUserFile / | ||
+ | require valid-user | ||
+ | </ | ||
+ | ===== Single dropbox ===== | ||
+ | If you want to have a single dropbox folder that works for both NZBs and torrents, we can make ''/ | ||
+ | sudo -H -u < | ||
installing_sabnzbd_rtorrent_and_rtgui_on_ubuntu_9.04.1250261216.txt.gz · Last modified: 2009/08/14 07:46 by tkbletsc