PC: www.geekboots.com |
As always it is recommended to keep the repository and packages up to date. Run the commands below to update your system.
sudo apt update && sudo apt -y upgrade
Step 2: Install Apache, MariaDB, PHP
sudo apt install apache2 apache2-utils software-properties-common mariadb-server mariadb-client php
Step 3: Run the command below to secure your database server.
sudo mysql_secure_installation
Step 4: Install standard PHP extensions which are commonly used.
sudo apt install libapache2-mod-php php-{bcmath,bz2,intl,gd,mbstring,mysql,zip,cli,fpm,opcache,xml,curl,intl,xsl,soap,json,apcu,imap,xmlrpc}