| 4 | | 1. Download http://www.whuffy.com/shepherd/tv_grab_au |
| 5 | | 1. Make it executable |
| 6 | | 1. Run it. The script will attempt to install and configure itself. |
| | 4 | 1. Download Shepherd: |
| | 5 | {{{ |
| | 6 | wget http://www.whuffy.com/shepherd/shepherd |
| | 7 | }}} |
| | 8 | 1. Run it: |
| | 9 | {{{ |
| | 10 | perl shepherd |
| | 11 | }}} |
| | 12 | 1. If Shepherd complains about missing Perl modules, install these. See "Dependencies" below. |
| | 13 | 1. Shepherd will attempt to download the latest versions of itself and its components into ''~/.shepherd/'' (or ''/opt/shepherd/''). You may notice that one or more components may fail to install properly, due to missing Perl modules. For maximum functionality, you should attempt to install missing Perl modules later (see "Dependencies"). |
| | 14 | 1. Answer the configuration questions to select your region and desired channels |
| | 15 | 1. When configuration is complete, symlink ''/usr/bin/tv_grab_au'' to Shepherd: |
| | 16 | {{{ |
| | 17 | sudo ln -s ~/.shepherd/shepherd /usr/bin/tv_grab_au |
| | 18 | }}} |
| | 19 | Shepherd should then be automatically called by mythfilldatabase, according to the settings for that program. |
| 18 | | We recommended you run Shepherd as a standard user and never as ''root'' (super-user). |
| 19 | | |
| 20 | | When run for the first time, Shepherd will install itself in ''~/.shepherd/'' or ''/opt/shepherd/''. You should symlink ''/usr/bin/tv_grab_au'' to the ''tv_grab_au'' script in the shepherd directory. In most installations, this is accomplished via: |
| 21 | | |
| 22 | | {{{ |
| 23 | | ln -s ~/.shepherd/tv_grab_au /usr/bin/tv_grab_au |
| 24 | | }}} |
| 25 | | |
| 26 | | = Dependencies = |
| 27 | | |
| 28 | | Shepherd has numerous dependencies on 3rd party modules and software. Some of these are mandatory, some are optional depending on whether you wish Shepherd to run with its full suite of ''plugin modules'' or not. |
| 29 | | |
| 30 | | If you run Linux and your distribution has packages for Shepherd's dependencies, it is generally better to use them than to install modules through CPAN, as described below. The first subsection below gives distribution-specific instructions; if you follow the instructions for your linux distribution, you do not need to read the rest of this wiki page. If you use a different distribution, or a different operating system, you will need to install the dependencies as described in the sections on XMLTV and the perl dependencies. |
| 31 | | |
| 32 | | == Linux Distribution-Specific Dependencies == |
| 33 | | |
| 34 | | === Debian-Based Distributions === |
| | 38 | ==== Debian-Based Distributions ==== |
| 49 | | XMLTV version 0.5.44 or later is recommended as it supports HDTV flags. |
| 50 | | |
| 51 | | |
| 52 | | == Tor == |
| 53 | | |
| 54 | | Many grabbers work faster/better if they can operate using The Onion Router (tor) from http://tor.eff.org/.[[BR]] |
| 55 | | Tor is available in RPM form from as http://tor.eff.org/dist/rpm/tor-0.1.1.25-tor.0.rh4_4.i386.rpm and http://dag.wieers.com/packages/libevent/libevent-1.2-1.fc3.rf.i386.rpm |
| 56 | | |
| 57 | | Once Tor is installed, shepherd will automatically find it and start using it. No configuration of Tor is necessary. |
| 58 | | |
| 59 | | |
| 60 | | == Mandatory Perl modules == |
| 61 | | |
| 62 | | The following Perl modules are mandatory for Shepherd to be able to run: |
| | 56 | Shepherd cannot run without the following Perl modules: |
| | 119 | |
| | 120 | ==== Optional Software: Tor ==== |
| | 121 | |
| | 122 | Many grabbers work faster/better if they can operate using The Onion Router (tor) from http://tor.eff.org/.[[BR]] |
| | 123 | Tor is available in RPM form from as http://tor.eff.org/dist/rpm/tor-0.1.1.25-tor.0.rh4_4.i386.rpm and http://dag.wieers.com/packages/libevent/libevent-1.2-1.fc3.rf.i386.rpm |
| | 124 | |
| | 125 | Once Tor is installed, shepherd will automatically find it and start using it. No configuration of Tor is necessary. |
| | 126 | |
| | 127 | == Security == |
| | 128 | |
| | 129 | Shepherd automatically checks for new versions of itself and its components, downloads, and executes these. |
| | 130 | |
| | 131 | We therefore recommended you run Shepherd as a standard user and never as ''root'' (super-user). For maximum safety, you can create a special Shepherd user (instructions, anybody?). |
| | 132 | |
| | 133 | == Troubleshooting == |
| | 134 | |
| | 135 | If you're manually upgrading from a previous version because we broke auto-update, it may be necessary to delete your ~/.shepherd/ directory. |
| | 136 | |