sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 sudo add-apt-repository 'deb [arch=amd64] http://mirror.zol.co.zw/mariadb/repo/10.3/ubuntu bionic main' sudo apt update sudo apt -y install mariadb-server mariadb-client
sudo apt update sudo apt install apache2 sudo ufw allow in "Apache Full"
sudo nano /etc/apache2/mods-enabled/dir.conf
sudo systemctl restart apache2 sudo systemctl status apache2
sudo apt update sudo apt install phpmyadmin php-mbstring php-gettext sudo phpenmod mbstring sudo systemctl restart apache2
mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; mysql> CREATE USER 'tjay'@'localhost' IDENTIFIED BY 'password'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'sammy'@'localhost' WITH GRANT OPTION; mysql> CREATE USER 'kodi' IDENTIFIED BY 'kodi'; mysql> GRANT ALL ON *.* TO 'kodi'; mysql> flush privileges; mysql> exit