Coder Social home page Coder Social logo

geo_ip's Introduction

1. Podesavanje hard/soft limit-a pri dobijanju greske TOO MANY FILES OPEN

Pokrenuti ansible playbook task1.yml

U host fajlu ansibla za servers podesiti hostname/IP adrese servera koji će biti afektovani, i dodeliti u host fajlu sudo prava ka tim serverima

2. Kreiranje baze i aplikacije

Python skripta task2.py kreira bazu geo_test u koliko ne postoji, curl-uje sa adrese http://api.hostip.info/get_json.php geo lokaciju i istu storuje u navedenu bazu.

3. Kreiranje okruženja

U folderu Task3 nalazi se ansible playbook-ovi koji:

  • Task3a - Instalira se NGNIX sa Passenger modom playbook-om task3a.yml

  • Task3b - Instalira se PostgreSQL sa userom ror_app/testpass koji ima privilegije Read, Write, Create playbook-om task3b.yml

  • Task3c - Instalira se ruby-2.4.2 system wide sa playbook-om task3c.yml

  • Task3d - Inicijalizuje se aplikacija test_app kojom se NGINX povezuje sa PostgreSQL playbook-om task3d.yml

  • Task3d - Završno podešavanje NGINX-a kako bi bio vidljiv na javnoj IP adresi playbook-om task3d.yml

geo_ip's People

Contributors

majstorki88 avatar

Watchers

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