Installing Buddy on Ubuntu

Install Buddy in just a few steps
Today I’ll show you how you can install and set up Buddy on your Ubuntu 16.04 LTS. With Buddy, you can build, test and deploy your code projects in seconds. In addition, Buddy handles automated tasks similar to Jenkins.
First, however, the server must be prepared.
Installing Docker Engine
Before you install Docker over the path specified here, you should ensure that all old versions of Docker are uninstalled. Execute the following command:
apt-get -y purge docker-ce && apt-get -y autoremove
You can then install Docker with the following commands in the current version:
apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt-get -y update
apt-get -y install docker-ce
In addition to the docker engine, Docker Composer is also required.
Installing Docker Composer
To install Docker Composer simply execute the following commands in this order:
curl -L https://github.com/docker/compose/releases/download/1.14.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
To install Buddy, proceed to the next step.
Installing Buddy
Run the install script provided by Buddy’s developers.
curl -sSL https://get.buddy.works | sh && buddy install
Ports 80, 443, and 22 are required for Buddy. If one of these ports is already occupied, the installer will ask you for an alternative port.
When asking for the terms, simply confirm with “Enter”. When the installation is complete, change to the next tab.
Testing the Installation
To test the installation, go to your browser and call your server.
https://IPorDomainFromTheServers
Then you should see the following picture:
Log in and then create a new project.
As you can see, use Buddy Git. From the menu, select a Git provider of your choice to continue. Don’t have a Git provider yet? Just create a GitLab server quickly by following this guide Install GitLab on Ubuntu.
Summary
With Buddy, you can share, develop, test and automate all your projects with colleagues. Buddy is an alternative to Jenkins. If you want to try Jenkins, you can quickly create a server on gridscale.io and read our article about Install Jenkins on Debian 9.
Zurück zur Tutorial Übersicht Back to Tutorial Overview