From 18a1fd6f03162896b481a5842a0073deb684bf6a Mon Sep 17 00:00:00 2001 From: Angel Date: Mon, 18 Feb 2019 13:21:58 -0500 Subject: [PATCH 1/2] [fix] MySQL -> MariaDB Confusion --- .../how-to-install-a-lamp-stack-on-arch-linux/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md b/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md index 5f434772940..c4c70cbc40e 100644 --- a/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md +++ b/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md @@ -140,7 +140,7 @@ Should any additional changes be made to a configuration file restart Apache: sudo systemctl restart httpd.service {{< /note >}} -## MySQL +## MariaDB ### Install and Configure @@ -154,7 +154,7 @@ By default, Arch Linux provides MariaDB as a relational database solution. Maria sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql -3. Start MySQL and set it to run at boot: +3. Start MariaDB and set it to run at boot: sudo systemctl start mysqld.service sudo systemctl enable mysqld.service @@ -165,7 +165,7 @@ By default, Arch Linux provides MariaDB as a relational database solution. Maria ### Create a Database -1. Log into MySQL: +1. Log into MariaDB: mysql -u root -p @@ -182,7 +182,7 @@ By default, Arch Linux provides MariaDB as a relational database solution. Maria quit -With Apache and MySQL installed, you are now ready to move on to installing PHP to provide scripting support for your web application. +With Apache and MariaDB installed, you are now ready to move on to installing PHP to provide scripting support for your web application. ## PHP From 499f3c8b45e498eddb41b3a3dc70ed799c0378e2 Mon Sep 17 00:00:00 2001 From: nmelehan Date: Mon, 18 Feb 2019 14:26:36 -0500 Subject: [PATCH 2/2] Removing H1, updating one instance of MySQL --- .../lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md b/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md index c4c70cbc40e..bcdd9b82bf5 100644 --- a/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md +++ b/docs/web-servers/lamp/how-to-install-a-lamp-stack-on-arch-linux/index.md @@ -19,8 +19,6 @@ external_resources: - '[PHP Documentation](http://www.php.net/docs.php)' --- -# Install and Configure LAMP (Linux, Apache, MySQL, PHP) on an Arch Linux Server - A LAMP (Linux, Apache, MySQL, PHP) stack is a common web stack used to prepare servers for hosting web content. This guide shows you how to install a LAMP stack an Arch Linux server. Since Arch does not come in specific versions, this guide is up-to-date as of the December 2015 Arch update. @@ -159,7 +157,7 @@ By default, Arch Linux provides MariaDB as a relational database solution. Maria sudo systemctl start mysqld.service sudo systemctl enable mysqld.service -4. Run `mysql_secure_installation`, a program that helps secure MySQL. `mysql_secure_installation` gives you the option to set your root password, disable root logins from outside localhost, remove anonymous user accounts, remove the test database and then reload the privilege tables: +4. Run `mysql_secure_installation`, a program that helps secure MySQL and MariaDB. `mysql_secure_installation` gives you the option to set your root password, disable root logins from outside localhost, remove anonymous user accounts, remove the test database and then reload the privilege tables: mysql_secure_installation