Коммит
4f1e6f1925
|
@ -48,7 +48,6 @@
|
|||
"vmName": "[parameters('vmDnsName')]",
|
||||
"vmSize": "Standard_A0",
|
||||
"virtualNetworkName": "MyVNET",
|
||||
"sourceImageName": "[concat('/',subscription().subscriptionId,'/services/images/',variables('vmSourceImageName'))]",
|
||||
"vnetID": "[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]",
|
||||
"subnetRef": "[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]"
|
||||
},
|
||||
|
@ -164,7 +163,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
{
|
||||
"type": "Microsoft.Compute/virtualMachines/extensions",
|
||||
"name": "[concat(variables('vmName'),'/newuserscript')]",
|
||||
"apiVersion": "2015-05-01-preview",
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
"contentVersion": "1.0.0.0",
|
||||
"parameters": {
|
||||
"newStorageAccountName": {
|
||||
"value": "uniqueStorage"
|
||||
"value": ""
|
||||
},
|
||||
"location": {
|
||||
"value": "West US"
|
||||
},
|
||||
"vmDnsName": {
|
||||
"value": "uniqueDomain"
|
||||
"value": ""
|
||||
},
|
||||
"adminUsername": {
|
||||
"value": ""
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
# Apache Webserver on Ubuntu VM
|
||||
|
||||
This template uses the Azure Linux CustomScript extension to deploy an Apache web server. The deployment template creates an Ubuntu VM, installs Apache2 and creates a simple HTML file. Go to ../demo.html to see the deployed page.
|
||||
This template uses the Azure Linux CustomScript extension to deploy an Apache web server. The template creates an Ubuntu VM, installs Apache2 and creates a simple HTML file. Go to ../demo.html to see the deployed page.
|
||||
|
||||
|
||||
|
||||
| Deploy to Azure | Author | Template Name | Description |
|
||||
|:-----------------|:--------------------------------| :---------------| :---------------|
|
||||
| <a href="https://azuredeploy.net/" target="_blank"><img src="http://azuredeploy.net/deploybutton_small.png"/></a> | [gbowerman](https://github.com/gbowerman) | [Deploy an Apache web server on Ubuntu](https://github.com/Azure/azure-quickstart-templates/tree/master/apache2-on-ubuntu-vm) | This template creates an Ubuntu VM, installs Apache2 and creates a simple HTML file. Go to ../demo.html to see the deployed page.|
|
||||
|
|
Загрузка…
Ссылка в новой задаче