This project describes the steps for deploying MediaWiki using Terraform in RHEL 8 virtual machine in Azure . Please follow below steps for the complete deployment.
-
This repository contain below files.
- main.sh - This file provides terraform code for deployment of virtual machine and provisioning the resources in Azure cloud.
- automate.sh - This is a shell script, that performs all the activities starting from installing required packages to publish the service.
- apache-config.conf - This is the config file to setup the apache server.
-
- You should have Microsoft Azure account.
- Download Terraform application into your system and define the path in system environment variables.
- Download AzureCLI and install in your system.
- Login by executing this command "az login" in cmd or powershell.
-
- Clone the repository into your local system.
- Open cmd or powershell and change the directory to the cloned repository.
- run command -- "terraform init"
- run command -- "terraform plan"
- run command -- "terraform apply"