[Buildbot-devel] Installation notes for FC5

John Pye john.pye at student.unsw.edu.au
Tue Apr 11 08:01:25 UTC 2006


Hi all

Buildbot installation is already pretty well documented, however I
thought I would add a few notes here relating to Apache configuration
for anyone thinking of migrating from a URL like http://server:8010/ to
one like http://buildbot.server/ -- ie without the port number. These
instructions relate to Fedora Core 5, and it assumes that you have a
wildcard DNS such as the entries that http://www.dyndns.org/ gives you.
Otherwise you will have to add the new buildbot.server hostname to your
DNS (however that works).

First up, I set up apache to listen on the *old* port that I previously
had Twisted listening on (via the Waterfall command in master.cfg): In
/etc/httpd/conf/httpd.conf, I added:

Listen 8010

near the line 'Listen 80'. Then I added that port as well as port 80 as
NameVirtualHosts:

NameVirtualHost *:80
NameVirtualHost *:8010

Then I added the following file as /etc/httpd/conf.d/buildbot.conf,
which under Fedora gets read in automatically when you do a
"/sbin/service httpd restart"

<VirtualHost *:8010>
        RedirectMatch ^/(.*)$ http://buildbot.cruncher2.dyndns.org/$1
        ServerName cruncher2.dyndns.org
</VirtualHost>

<VirtualHost *:80>
        ProxyRequests off
        ProxyPass / http://localhost:8011/

        <Location /buildbot/>
                ProxyPassReverse /
                RequestHeader unset Accept-Encoding
        </Location>

    ServerName buildbot.cruncher2.dyndns.org
    DocumentRoot /var/www/buildbot
    DirectoryIndex index.html index.php
    ServerAdmin john.pye at student.unsw.say-no-to-spam.edu.au
    ErrorLog logs/buildbot.cruncher2.dyndns.org-error_log
    CustomLog logs/buildbot.cruncher2.dyndns.org-access_log common
</VirtualHost>

The crux of the Apache config there is from Brian's post:
http://sourceforge.net/mailarchive/message.php?msg_id=15114574

My buildbot configuration was done with 'python setup.py install'
followed by the addition of a user named 'buildbot' in /home/buildbot,
and follows the manual pretty closely.

Maybe that's of use to some of the rest of you...

The only bit that's not nicely resolved with this is the need to provide
the robots.txt file so that google etc leave you alone.

Cheers
JP

-- 
John Pye
School of Mechanical and Manufacturing Engineering
The University of New South Wales
Sydney  NSW 2052  Australia
t +61 2 9385 5127
f +61 2 9663 1222
mailto:john.pye_AT_student_DOT_unsw.edu.au
http://pye.dyndns.org/





More information about the devel mailing list