

(Ubuntu 20.04 now installs PHP8 by default, so be careful to specify the PHP version number or you will get a "line 10602" error.
#Install mysql ubuntu 20.10 install
Sudo apt install apache2 mysql-client mysql-server php7.4 libapache2-mod-php

Open up Terminal and install the following Note: Moodle 3.0.1 introduced support for PHP 7.0 and we will be using PHP 7.4 in this tutorial In the below tutorial we will be using the term "sudo" which stands for "super user do" before most of the commands. In Ubuntu, the standard user, the account you created during the install, does not have rights to install/write to many of the directories.You can use either VI (lightweight editor) or VIM (heavyweight editor), however, if you wish to use VIM you will need to install it.Because of this you should consider installing Ubuntu with a /boot directory of around 5Gb and putting some automated clean up in place. Ubuntu has a well known issue with its automatic updates filling up the /boot directory until automated updates start to fail and automated removal of old kernel files from /boot is impossible.BUT USE WITH CAUTION: The GUI may not appear as expected, and may prevent user from getting even the CLI. Note: Even though it is not recommended by most experts, you could install a Graphical User Interface (desktop) by issuing the command 'sudo tasksel' or 'sudo apt install ubuntu-desktop' to install 'Ubuntu desktop'. If you install a CLI only server and later regret it, you can easily add a graphical desktop:.If you will only be using your Moodle server for local, experimental purposes, you might prefer to install the desktop (64 bits preferred) version of Ubuntu.Amateur users might find it easier to use a graphical (desktop) interface.Most IT professionals prefer to use a Command Line Interface (CLI) server, because it is safer and less prone to hacking.Step 1: Install Ubuntu Why we prefer Ubuntu server over Ubuntu desktop
#Install mysql ubuntu 20.10 password

