How To Install Buildbot on CentOS 7

Install Buildbot on CentOS 7

In this tutorial, we will show you how to install Buildbot on CentOS 7 server. For those of you who didn’t know, Buildbot is a continuous integration tool based on Python which automates the build, test, and releases software cycles. It is built using the Twisted networking engine, supports parallel execution of jobs across multiple platforms, and is compatible with all major operating systems.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step install of Buildbot on CentOS 7 server.

Install Buildbot on CentOS 7

Step 1. First, let’s start by ensuring your system is up-to-date.

Step 2. Installing Python.

First, you need to install pip and python development packages using the yum package manager:

Step 3. Installing Buildbot on CentOS 7.

Use the following command to install Buildbot with pip:

You can verify by checking the version of Buildbot:

The output should:

Next, create a new system user for Buildbot:

Step 4. Configuring Buildbot Master.

First, create the Buildbot master run the following command:

Next, copy the default sample Buildbot configuration file by using the following command:

Then, configure Buildbot’s web interface:

Once you save the file run the following command to verify the master configuration:

Step 5. Configuring Buildbot Worker.

To create the Buildbot worker named ‘idroot-worker’ with password ‘pass’ on ‘localhost’, execute the following command:

If you want to use a different username (example-worker), and password (pass) you need to update the following line in the master/master.cfg file:

Finally we can start the worker by typing:

Step 6. Accessing Buildbot.

Buildbot will be available on HTTP port 8010 by default. Open your favorite browser and navigate to or http://server-ip:8010 and complete the required steps to finish the installation. If you are using a firewall, please open port 80 to enable access to the control panel.

Congratulations! You have successfully installed Buildbot. Thanks for using this tutorial for installing Buildbot on CentOS 7 systems. For additional help or useful information, we recommend you to check the official Buildbot website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!