LAMP (software bundle): Difference between revisions

Line 33: Line 33:


===Installing MariaDB===
===Installing MariaDB===
See [https://downloads.mariadb.org/mariadb/repositories/ https://downloads.mariadb.org/mariadb/repositories/]<br>
<syntaxhighlight lang="bash">
sudo apt-get install software-properties-common
sudo apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.4/ubuntu bionic main'
sudo apt update
sudo apt install mariadb-server
</syntaxhighlight>
====Securing for Production====
====Securing for Production====
MariaDB and MySQL provide a bash command [https://mariadb.com/kb/en/mysql_secure_installation/ <code>mysql_secure_installation</code>].<br>
MariaDB and MySQL provide a bash command [https://mariadb.com/kb/en/mysql_secure_installation/ <code>mysql_secure_installation</code>].<br>