Installing Web PVR on Fedora 13

Andy Bircumshaw andy at networkned.co.uk
Wed Oct 27 07:08:53 EDT 2010


I'm sure David will do that.

aB.


On 26 Oct 2010, at 18:41, Colin Parker wrote:

> Andy
> You're a star, that worked a treat! I won't pretend to understand it
> all. Maybe you could update the old instructions and contribute it to
> the project :)
> 
> Don't worry, I work for a Swiss company but I live in Blighty.
> 
> Many thanks again,
> Colin
> 
> On Mon, Oct 25, 2010 at 10:54 PM, Andy Bircumshaw <andy at networkned.co.uk> wrote:
>> 
>> Please read: http://david.woodhou.se/email.html
>> CTRL-F "below"
>> 
>> 
>> On 25 Oct 2010, at 11:04, Colin Parker wrote:
>>> On Sun, Oct 24, 2010 at 11:09 PM, Andy Bircumshaw <andy at networkned.co.uk> wrote:
>>>> On 24 Oct 2010, at 20:50, Colin Parker wrote:
>>>>> ...
>>>>> WARNING: Running the updater again to obtain plugins. ERROR:
>>>>> /usr/bin/get_iplayer is not writable - aborting update (maybe a
>>>>> package manager was used to install get_iplayer?)
>>>> ...
>>>> I solved this with `mv ~root/.get_iplayer ~ && chown -R andy
>>>> ~andy/.get_iplayer` - after that, get_iplayer started working again just
>>>> fine for my user.
>>>> 
>>>> I would look at the user under which get_iplayer is being called when you
>>>> browse the webpage. I would guess that it's apache?
>>>> ...
>>>> You mention following instructions: which ones? Do you have a link to them?
>> 
>>> 
>>> I was logged in as root.
>>> 
>>> The instructions were in get_iplayer.cgi.txt which is included in the
>>> download from
>>> ftp://ftp.infradead.org/pub/get_iplayer/
>>> 
>>> and the extract I followed is below. Is there anything in there that's wrong?
>>> 
>>> Installation as Apache CGI script
>>> ---------------------------------
>>> * Run the below commands as 'root'
>>> * Create dirs in /var/www/get_iplayer/ :
>>>       mkdir -p /var/www/get_iplayer/output /var/www/get_iplayer/.get_iplayer
>>> * Allow apache user to write to these dirs:
>>>       chown apache.apache /var/www/get_iplayer/output
>>> /var/www/get_iplayer/.get_iplayer
>>> * Copy get_iplayer.cgi and get_iplayer into /var/www/get_iplayer/
>>>       cp -p get_iplayer.cgi get_iplayer /var/www/get_iplayer/
>>> * Ensure they are executable:
>>>       chmod 755 /var/www/get_iplayer/get_iplayer.cgi
>>> /var/www/get_iplayer/get_iplayer
>>> * Ensure you have the following lines in Apache's httpd.conf:
>>> ScriptAlias /iplayer "/var/www/get_iplayer/get_iplayer.cgi"
>>> SetEnv HOME /var/www/get_iplayer/
>> 
>> You'll need to reload Apache after doing this, I think.
>> 
>>  # /etc/init.d/apache reload
>> 
>> You've probably powered down the machine since yesterday, so that's probably moot.
>> 
>>> * This will run as apache's user/group and save all settings files in
>>> /var/www/get_iplayer/.get_iplayer
>> 
>> Ok, so:
>> 
>>  # mv /var/www/get_iplayer/.get_iplayer /var/www/get_iplayer/.get_iplayer.old
>>  # cp -r ~root/.get_iplayer /var/www/get_iplayer/
>>  # find /var/www/get_iplayer/.get_iplayer -exec chown apache.apache \{} \;
>> 
>> I think you'll see output with the last command, but not the previous two.
>> 
>> Then you'll need to check this part again:
>> 
>>> * and specify a default output directory in
>>> /var/www/get_iplayer/.get_iplayer/options, e.g.:
>>> output /var/www/get_iplayer/output
>> 
>> Edit the /var/www/get_iplayer/.get_iplayer/options file with a text editor (vim, nano) and change the output line.
>> 
>> Does it work now?
>> 
>> NB: your email domain name sounds Swiss. You know that the BBC block non-UK IPs, don't you?
>> 
>> aB.
>> 




More information about the get_iplayer mailing list