Giter Club home page Giter Club logo

ava's Introduction

apache via ansible / ava

Apache Website that gets deployed via ansible

For now, you need to manually install ansible

Please install it via your packagemanager (yum, zypper, apt, dpkg, etc...)


Configuring ansible

Edit the ansible hosts file in /etc/ansible/

Uncomment the line containing '[webservers]'

      ##[webservers]
      ##120.0.0.0
      ##120.0.0.1

and add the IP address of your remote host beneath of the default IP addresses

Generate a new ssh-key for ansible

  ssh-keygen

Follow the instructions and create your new key

Copy your new key onto the remote host/s

For Example:

  ssh-copy-id -i <PATH_TO_THE_PUBLIC_KEY> username@hostname

After this initial configuration we can continue with the main installation process


How to install and get started

Clone this git-repo:

     git clone https://github.com/junglert/ava.git

Execute the script

      bash apache_deployment.sh         

The script automatically creates and copies needed folders and files into your home directory. If everything already is in place, the script will skip this part and proceed with the next step.

You will be asked for the username to login into the remote host.

The script now asks if you want to give any additional parameters, for installing things you need to become the superuser of the machine, enter the following parameter:

       -K

After entering the password of the remote host, ansible should setup the website.

What else can you do with this script?

You can use any .yml playbook and deploy it via this script. Just simply change the path in the variable.


Future plans

  • automatically installes ansible if not already installed

  • creating a wiki / manual

ava's People

Contributors

junglert avatar doctorcr4nk avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  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.