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/openshift/howto-deploy-java-jboss-enterprise-application-platform-app.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ Next, use the following steps to create an Azure Database for MySQL - Flexible S
174
174
175
175
1. Use the following command to create an Azure Database for MySQL - Flexible Server:
176
176
177
-
```bash
177
+
```azurecli
178
178
az mysql flexible-server create \
179
179
--resource-group ${RG_NAME} \
180
180
--name ${SERVER_NAME} \
@@ -205,7 +205,7 @@ Next, use the following steps to create an Azure Database for MySQL - Flexible S
205
205
206
206
1. Use the following commands to get the host of the created MySQL server:
207
207
208
-
```bash
208
+
```azurecli
209
209
DB_HOST=$(az mysql flexible-server show \
210
210
--resource-group ${RG_NAME} \
211
211
--name ${SERVER_NAME} \
@@ -218,7 +218,7 @@ Next, use the following steps to create an Azure Database for MySQL - Flexible S
218
218
219
219
1. Use the following command to create a temporary firewall rule to allow connection to the MySQL server from the public internet:
220
220
221
-
```bash
221
+
```azurecli
222
222
az mysql flexible-server firewall-rule create \
223
223
--resource-group ${RG_NAME} \
224
224
--name ${SERVER_NAME} \
@@ -239,7 +239,7 @@ Next, use the following steps to create an Azure Database for MySQL - Flexible S
239
239
240
240
1. Use the following command to delete the temporary firewall rule:
241
241
242
-
```bash
242
+
```azurecli
243
243
az mysql flexible-server firewall-rule delete \
244
244
--resource-group ${RG_NAME}\
245
245
--name ${SERVER_NAME}\
@@ -269,7 +269,7 @@ If you navigated away from the **Deployment is in progress** page, the following
269
269
270
270
1. Open the shell, paste the value from the **cmdToGetKubeadminCredentials** field, and execute it. You see the admin account and credential for signing in to the OpenShift cluster console portal. The following example shows an admin account:
271
271
272
-
```bash
272
+
```azurecli
273
273
az aro list-credentials --resource-group eaparo033123rg --name clusterf9e8b9
274
274
```
275
275
@@ -301,7 +301,7 @@ Next, use the following steps to connect to the OpenShift cluster using the Open
301
301
302
302
1. Paste the value from the **cmdToLoginWithKubeadmin** field into the shell, and execute it. You should see the `login successful` message and the project you're using. The following content is an example of the command to connect to the OpenShift cluster using the OpenShift CLI.
Copy file name to clipboardExpand all lines: articles/openshift/howto-deploy-java-jboss-enterprise-application-platform-with-auto-redeploy.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ This article uses the Azure Marketplace offer for JBoss EAP to accelerate your j
36
36
37
37
Use the following steps to create a service principal:
38
38
39
-
1. Create a service principal by using the following command on your local terminal:
39
+
1. Create a service principal by using the following command:
40
40
41
-
```bash
41
+
```azurecli
42
42
az ad sp create-for-rbac --name "sp-aro-s2i-$(date +%s)"
43
43
```
44
44
@@ -139,7 +139,7 @@ If you navigated away from the **Deployment is in progress** page, use the follo
139
139
140
140
1. Open your local terminal, paste the value from the **cmdToGetKubeadminCredentials** field, and execute it. You see the admin account and credential for signing in to the OpenShift cluster console portal. The following example shows an admin account:
141
141
142
-
```bash
142
+
```azurecli
143
143
az aro list-credentials -g eaparo033123rg -n aro-cluster
0 commit comments