GithubHelp home page GithubHelp logo

bridgecrew-perf7 / mediawiki-deployment-azure-terraform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pramesh-behera/mediawiki-deployment-azure-terraform

0.0 0.0 0.0 21 KB

Shell 27.31% HCL 72.69%

mediawiki-deployment-azure-terraform's Introduction

MediaWiki Deployment in Azure using Terraform

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.

  • About the repository :

    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.
  • Prerequisites :

    • 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.
  • Steps to follow :

    • 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"

Mediawiki is now deplyed in your azure virtual machine. You can check by opening "http://<publicip>/mediawiki/" in your browser and follow the mentioned step to set up the wiki.

You can edit the automate.sh file to provide your own database credentials also you can refer to this mediawiki link for more details.

Note: You can use this command "terraform output -raw tls_private_key" in cmd or powershell to get the private ssh key for login in to Azure virtual machine.

mediawiki-deployment-azure-terraform's People

Contributors

pramesh-behera avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.