Skip to content

install server on ubuntu

Olga Naumenko edited this page May 17, 2023 · 2 revisions

Install UnitTestBot C/C++ server on Ubuntu 18.04–20.04

Whether you have Ubuntu 18.04–20.04 on your computer, Ubuntu 18.04 in WSL or a Docker container, follow the instructions to install the UnitTestBot C/C++ server.

  1. Download a ZIP archive with the release artifact:
wget https://github.com/UnitTestBot/UTBotCpp/releases/download/2022.12.0/utbot-release-2022.12.0.zip

You can choose the release on GitHub.

  1. Install the unzip utility:
sudo apt-get install unzip
  1. Unarchive the downloaded ZIP file:
unzip utbot-release-2022.12.0.zip
  1. Install and run the server with the root privileges:
sudo chmod +x unpack_and_run_utbot.sh && ./unpack_and_run_utbot.sh

To restart the server:

sudo /utbot_distr/utbot_server_restart.sh

To kill the server, use kill $pid.

To run the UnitTestBot C/C++ server on the other port, navigate to the utbot_distr directory and run the script:

$ ./utbot_server_restart.sh $PORT
Clone this wiki locally