How to install Buddy Enterprise on DigitalOcean
This tutorial will show you how to configure a DigitalOcean droplet and use it to host your Buddy Enterprise installation.
Launch new DO droplet
Create a new DO droplet with these settings:
- Ubuntu 16.04
- 20 GB of space
- 4 GB RAM
- If you're planning to run heavy workloads on your instance we recommend assigning at least 8GB of RAM. You can read more about the system requirements of Buddy Enterprise here.
We do not recommend using one-click apps because of possible Docker version compatibility problems.
Set up Buddy on DO droplet
Connect to your droplet with SSH and follow the instructions below.
Install Docker Engine
Run the following commands in the listed sequence:
sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list
sudo apt-get update
sudo apt-get install docker-engine
Install Docker Compose
- Once Docker Engine is installed, download the most recent Docker Compose using curl from the Docker Compose release page.
If you get a “Permission denied” error, your
/usr/local/bindirectory probably isn’t writable and you’ll need to install Compose as the superuser. Run
sudo -i, then the two commands below, then exit.
The following is an example command illustrating the format:
curl -L https://github.com/docker/compose/releases/download/1.12.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
After executing the curl command apply executable permissions to the binary:
chmod +x /usr/local/bin/docker-compose
Install Buddy Enterprise
To install Buddy Enterprise, run the following in the terminal:
curl -sSL https://get.buddy.works | sh && sudo buddy install
This command will download 2GB of Docker image. If you are having any trouble with the download, please contact us for assistance.
Buddy Enterprise uses ports 80, 443 and 22 on the installation server. You will be asked for an alternative port if one of the ports is unavailable.
By default Buddy installs in your HOME directory. You can change the storage path for databases, repositories, and settings in the configuration settings.
Set up your workspace
When the installation is over, Buddy Enterprise will launch and the URL to your instance will appear.
Copy and paste the link to your browser to begin.
Buddy Enterprise uses a self-signed certificate for SSL. You may see a warning about this upon accessing your workspace for the first time. There's nothing to worry about: you can safely proceed to the website.
Provide the details of your first workspace:
You've just successfully installed and configured Buddy Enterprise on your own server. Make sure to check out our guides for inspiration and some good practice that will help you get started.
Good luck in your ventures!
The Buddy Team