Guide – How To Start –Beehive – Task Automation Server on Ubuntu 18.04

Beehive is a powerful and easy-to-use task automation server, which allows you to create your own agents that perform automated tasks triggered by events and filters.

This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.

Server connection and configuration through the PuTTY SSH client

  1. To connect to a VM, you need the PuTTy application to connect via ssh. You can download it at the following link – Download.
  2. Run Putty, enter the VM address in the “Host” field, and click “Open” to connect.
  1. In the opened console it is necessary to enter a username and password that were specified while creating the virtual machine.
  2. Next, you should enter (or insert using RMB) one by one the following commands:

> sudo systemctl stop bhv

> sudo nano /lib/systemd/system/bhv.service

Stretch the window to see the full content.

  1. Find the ip address and replace it with the VM’s IP address. Move the cursor using the arrows on the keyboard. Please note that port :8181 must remain at the end of the entered IP.
  2. Exit the editor and confirm to save the file. To do this, press in sequence:

Ctrl X



  1. Enter the following commands:

> sudo systemctl daemon-reload

> sudo systemctl start bhv

You can view the status of the service (check if it has started) with the command:

> sudo systemctl status bhv

  1. Go to the http://IP:8181 in a browser.

IMPORTANT NOTICE: Since there is no authorization in the portal, it is recommended to open a firewall on port 8181 only for the IP address where you came from.

  1. You can learn how to set up “bees” at the following link:

How to view logs or save configurations

The beehive process starts in a special background mode through the screen utility. In order to view the logs or save the configuration you should:

– elevate privileges in the same console with the sudo su command

– go to screen with screen -r command

– you will see the server console and logs

– if we want to save the config, then press CTRL + C. The bhv service will stop with saving the configuration and drop us of the screen mode.

Afterwards you should restart the sudo systemctl start bhv service.

– If we do not want to save the config and interrupt screen, we can CORRECTLY exit the screen mode with the key combination Ctrl + A + D.

Website Built with

Up ↑

%d bloggers like this: