Установка Apache2:
$ sudo apt update
$ sudo apt install apache2
Установка MariaDB (MySQL):
$ wget https://downloads.mariadb.com/MariaDB/m ... repo_setup
$ echo "b9e90cde27affc2a44f9fc60e302ccfcacf71f4ae02071f30d570e6048c28597 mariadb_repo_setup" \
| sha256sum -c -
$ chmod +x mariadb_repo_setup
$ sudo ./mariadb_repo_setup \
--mariadb-server-version="mariadb-10.3"
$ sudo apt update
$ sudo apt install mariadb-server
$ sudo mysql
$ FLUSH PRIVILEGES;
$ ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
$ SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new_password');
Установка php7.3:
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update
$ sudo apt-get install -y php7.3
$ sudo service apache2 restart