⚙️ Libraries And ToolsInstall Required Libraries And Tools
First, update and clean sources list:
Copy apt-get update -yqq && apt-get install -y apt-utils
then install this dependencies:
Copy apt-get update && apt-get install -y build-essential libpng-dev locales zip jpegoptim optipng pngquant gifsicle unzip zip git curl lua-zlib-dev libmemcached-dev wget
Install NodeJS 18.X
Download script from nodejs.org:
Copy curl -sL https://deb.nodesource.com/setup_18.x -o setup_18.sh
run script:
and install nodejs
Copy sudo apt-get install -y nodejs
Install NPM
How to install NodeJS and NPM to Ubuntu 20 and higher:
Download:
Copy wget https://www.npmjs.com/install.sh | sh
Make executable:
Install:
Install Ionic 6
Before install Ionic, you must install NPM.
If NPM installed, intall Ionic:
Install JAVA SDK
Run this commands:
Copy apt-get update && apt-get install -y software-properties-common
Copy apt-get update && apt-get install -y openjdk-11-jdk
Copy export JAVA_HOME = /usr/lib/jvm/java-11-openjdk-amd64
Copy export PATH = $PATH:$JAVA_HOME/bin
Install PHP 8
Support ONLY PHP 8.1 and higher (in CGI and CLI mode). Before setup platform, you must configure your server for use PHP8 version in HTTP and console mode.
How to add PHP 8.1 to Ubuntu 20.xx:
Copy sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y
Press ENTER in process:
Copy sudo add-apt-repository ppa:ondrej/php
Install PHP
Copy sudo apt install php8.1
check installed version:
Install this extensions:
Copy sudo apt install php8.1-mysql php8.1-zip php8.1-xml php8.1-dom php8.1-curl php8.1-common php-json php8.1-mbstring php-mysql php-curl php8.1-gd php8.1-xml
Attention! If the native version of PHP differs from 8.1 - Running PHP 8.1 with other versions
Copy sudo update-alternatives --config php
Copy Selection Path Prior State
-------------------------------------------------- ----------
0 /usr/bin/php8.1 81 automatic mode
1 /usr/bin/php7.2 72 manual mode
2 /usr/bin/php7.3 73 manual mode
3 /usr/bin/php7.4 74 manual mode
4 /usr/bin/php8.0 80 manual mode
* 5 /usr/bin/php8.1 81 manual mode
Last updated 11 months ago