Ubuntu

This tutorial shows how to install Buddy self-hosted on Ubuntu.

Warning
All commands listed in the article must be run as root.

Installing Docker Engine & Docker Compose

Buddy requires Docker Engine and Docker Compose to run. Connect to your server and follow the installation instructions:

Installing Buddy

Connect to the server and start installation

Connect to the server using SSH and run this command to download the Docker image and install Buddy:

bash
curl -sSL https://get.buddy.works | sh && buddy install $$
Hint
By default, Buddy uses ports 80, 443, and 22 for communication. If these ports are not available, the installer asks to provide alternative ports.
Tip
If you're connecting to the server through a proxy, add the HTTP_PROXY environment variable on the ubuntu server. Run this command: bash export HTTP_PROXY="http://proxyIp:proxyPort"

Setting up your workspace

  1. Use the URL provided in the summary to access Buddy self-hosted.

Image loading...Installation summary with workspace IP

Hint
By default, Buddy self-hosted uses a self-signed SSL certificate. Because of that, you can get a security warning from your browser when you access the instance for the first time. There’s nothing to worry about! You can safely open the address.
  1. Provide the details of your first workspace.
Success
Congratulations! You have successfully installed and configured Buddy on your own server. Check out the Quickstart section for tips on getting started.

Last modified on Sep 24, 2024