Skip to content

Commit 95a41c5

Browse files
author
naman-msft
committed
updated doc
1 parent eb1ed0a commit 95a41c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scenarios/azure-compute-docs/articles/virtual-machines/linux/tutorial-lamp-stack.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Use the `ssh` command to create an SSH session with the virtual machine. Substit
118118
Run the following command to update Ubuntu package sources and install Apache, MySQL, and PHP. Note the caret (^) at the end of the command, which is part of the `lamp-server^` package name.
119119

120120
```bash
121-
ssh -o StrictHostKeyChecking=no azureuser@$PUBLIC_IP "sudo DEBIAN_FRONTEND=noninteractive apt-get -y install lamp-server^"
121+
ssh -o StrictHostKeyChecking=no azureuser@$PUBLIC_IP "sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y install lamp-server^"
122122
```
123123

124124
You're prompted to install the packages and other dependencies. This process installs the minimum required PHP extensions needed to use PHP with MySQL.

0 commit comments

Comments
 (0)