Simple deployment of a Weblogic Admin Domain on Oracle Linux VM with Weblogic Server pre-installed
|
|
This template allows us to deploy Weblogic Admin Domain on Oracle Linux VM with Weblogic Server (12.2.1.3.0) pre-installed. This template deploy by default, an A3 size VM in the resource group location and return the fully qualified domain name of the VM.
To install Weblogic Server, requires Oracle Weblogic Install kit and Oracle JDK to be downloaded, from OTN Site (https://www.oracle.com/technical-resources/). The OTN site requires the user to accept OTN Free Developer License Agreement before downloading any resources. So, when this template is run, user will be required to accept the OTN Free Developer License Agreement and also provide OTN credentials (username and password), to download the Oracle Weblogic Install Kit and Oracle JDK.
PowerShell
#use this command when you need to create a new resource group for your deployment
*New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location>
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/wls-eng/arm-oraclelinux-wls-admin/master/admindeploy.json
Command line
#use this command when you need to create a new resource group for your deployment
*az group create --name <resource-group-name> --location <resource-group-location>
az group deployment create --resource-group <resource-group-name> --template-uri https://raw.githubusercontent.com/wls-eng/arm-oraclelinux-wls-admin/master/admindeploy.json
Post Deployment
Follow steps once after successful deployment.
1. Login to created VM using ssh
2. Switch to "oracle" user using sudo and then su
3. Change the directory "/u01/domains/{wlsDomainName}"
4. Start the weblogic server using startWeblogic.sh
5. Enter wlsUsername and wlsPassword credentials
6. Access the weblogic console using
http://{public ip address}:7001/console
https://{public ip address}:7002/console
7. Accessing the sample deployed application
http://{public ip address}:7001/shoppingcart
https://{public ip address}:7002/shoppingcart
If you are new to Azure virtual machines, see:
- Azure Virtual Machines.
- Azure Linux Virtual Machines documentation
- Azure Windows Virtual Machines documentation
- Template reference
- Quickstart templates
If you are new to template deployment, see: