You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/linux/tutorial-lamp-stack.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,9 @@ ms.service: virtual-machines
7
7
ms.workload: infrastructure-services
8
8
ms.devlang: azurecli
9
9
ms.topic: tutorial
10
-
ms.date: 04/20/2021
11
-
ms.author: cynthn
10
+
ms.date: 4/4/2023
11
+
ms.author: mattmcinnes
12
+
ms.reviewer: cynthn
12
13
13
14
#Customer intent: As an IT administrator, I want to learn how to install the LAMP stack so that I can quickly prepare a Linux VM to run web applications.
14
15
---
@@ -30,7 +31,7 @@ This setup is for quick tests or proof of concept. For more on the LAMP stack, i
30
31
31
32
This tutorial uses the CLI within the [Azure Cloud Shell](../../cloud-shell/overview.md), which is constantly updated to the latest version. To open the Cloud Shell, select **Try it** from the top of any code block.
32
33
33
-
If you choose to install and use the CLI locally, this tutorial requires that you are running the Azure CLI version 2.0.30 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli).
34
+
If you choose to install and use the CLI locally, this tutorial requires that you're running the Azure CLI version 2.0.30 or later. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli).
34
35
35
36
## Create a resource group
36
37
@@ -46,7 +47,7 @@ az group create --name myResourceGroup --location eastus
46
47
47
48
Create a VM with the [az vm create](/cli/azure/vm) command.
48
49
49
-
The following example creates a VM named *myVM* and creates SSH keys if they do not already exist in a default key location. To use a specific set of keys, use the `--ssh-key-value` option. The command also sets *azureuser* as an administrator user name. You use this name later to connect to the VM.
50
+
The following example creates a VM named *myVM* and creates SSH keys if they don't already exist in a default key location. To use a specific set of keys, use the `--ssh-key-value` option. The command also sets *azureuser* as an administrator user name. You use this name later to connect to the VM.
50
51
51
52
```azurecli-interactive
52
53
az vm create \
@@ -108,7 +109,7 @@ Run the following command to update Ubuntu package sources and install Apache, M
108
109
sudo apt update && sudo apt install lamp-server^
109
110
```
110
111
111
-
You are prompted to install the packages and other dependencies. This process installs the minimum required PHP extensions needed to use PHP with MySQL.
112
+
You're prompted to install the packages and other dependencies. This process installs the minimum required PHP extensions needed to use PHP with MySQL.
You can optionally set up the Validate Password Plugin (recommended). Then, set a password for the MySQL root user, and configure the remaining security settings for your environment. We recommend that you answer "Y" (yes) to all questions.
140
141
141
-
If you want to try MySQL features (create a MySQL database, add users, or change configuration settings), login to MySQL. This step is not required to complete this tutorial.
142
+
If you want to try MySQL features (create a MySQL database, add users, or change configuration settings), login to MySQL. This step isn't required to complete this tutorial.
0 commit comments