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
## Quickstart: Create a Linux virtual machine with the Azure CLI on Azure
12
-
13
-
**Applies to:**:heavy_check_mark: Linux VMs
14
-
15
-
[](https://go.microsoft.com/fwlink/?linkid=2262692)
16
-
17
-
This quickstart shows you how to use the Azure CLI to deploy a Linux virtual machine (VM) in Azure. The Azure CLI is used to create and manage Azure resources via either the command line or scripts.
18
-
19
-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
20
-
21
-
## Launch Azure Cloud Shell
22
-
23
-
The Azure Cloud Shell is a free interactive shell that you can use to run the steps in this article. It has common Azure tools preinstalled and configured to use with your account.
24
-
25
-
To open the Cloud Shell, just select **Try it** from the upper right corner of a code block. You can also open Cloud Shell in a separate browser tab by going to [https://shell.azure.com/bash](https://shell.azure.com/bash). Select **Copy** to copy the blocks of code, paste it into the Cloud Shell, and select **Enter** to run it.
26
-
27
-
If you prefer to install and use the CLI locally, this quickstart requires 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).
28
-
29
-
## Log in to Azure using the CLI
30
-
31
-
In order to run commands in Azure using the CLI, you need to log in first. Log in using the `az login` command.
This final step prints out the command you can copy/paste into the terminal to run the chatbot.
133
+
This final step prints out the command you can copy/paste into the terminal to run the chatbot.`cd ~/scenarios/PostgresRagLlmDemo && python chat.py --api-key $API_KEY --endpoint $ENDPOINT --pguser $PGUSER --phhost $PGHOST --pgpassword $PGPASSWORD --pgdatabase $PGDATABASE`
156
134
157
135
```bash
158
136
echo"
159
-
To run the chatbot, copy and paste the command below into the terminal:
0 commit comments