Skip to content

Instantly share code, notes, and snippets.

@oscar230
Last active October 31, 2022 13:43
Show Gist options
  • Save oscar230/dd5b0217e62e6ad3fa7a63bbad7249e1 to your computer and use it in GitHub Desktop.
Save oscar230/dd5b0217e62e6ad3fa7a63bbad7249e1 to your computer and use it in GitHub Desktop.

Setup TentaHub on Ubuntu 22.04.1 LTS

Guide written from this documentation.

Environment

You are recommended to run Ubuntu 22.04.1 LTS in a VM. Choose either sulution for running a VM:

Prerequisites

Install PHP

Update you apt repository and install php.

$ sudo apt update
$ sudo apt install php8.1 php8.1-common

Make sure that your php version is 8.0.0 =< version < 9.0.0.

$ php -v
PHP 8.1.12 (cli) (built: Oct 28 2022 17:39:57) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.12, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies

Install PHP Extensions

Once you made sure that yout php version is correct, install these php extension; BCMath, Ctype, JSON, Mbstring, OpenSSL, PDO, Tokenizer and XML.

$ sudo apt install php8.1-bcmath php8.1-ctype php8.1-json php8.1-mbstring php8.1-tokenizer php8.1-xml

Make sure that your php extensions are installed with:

$ php --modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment