Giter Site home page Giter Site logo

aws-conf's Introduction

conflue-postrgesql

#u will need Vagrant avalible ports:80 > 8080 ; 443 > 4444 ;

and for pure setup confluence i can get access to controle panel from localhost:8090

more then 5 gb memory -- java + tomcat + confluence + nginx

vagrant up --provision

vagrant ssh 

#LOG IN like postgres user

sudo -i -u postgres

#export some US.UTF-8

export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_TYPE=en_US.UTF-8

#creating db user and db

bash -c "psql -c \"CREATE ROLE confluenceuser with LOGIN PASSWORD 'pass'\" "

bash -c "createdb --owner confluenceuser  confluence"

#now u can config confluence from localhost:8090


#next ssh tounel to es2 443:4444:4444

vag:local:es2

 ssh -p 2222 -i nvi.pem -R 4444:localhost:4444 [email protected]

FOR USING SSH FORVARDING

 ssh -p 2222 -i nvi.pem -L 5432:localhost:5432 [email protected]

ACCESS

https://ec2-52-90-192-5.compute-1.amazonaws.com:4444/

#after and use vagrant destroy rm -rf .vagrant/

for external datebese on aws use

host: ec2-52-90-192-5.compute-1.amazonaws.com
confluenceuser
pass

for setup aws db for external world

vim /etc/postgresql/9.5/main/postgresql.conf

edit to : listen_addresses = '*'

vim /etc/postgresql/9.5/main/pg_hba.conf

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all         all                               trust

# IPv4 local connections:
host    all         all         127.0.0.1/32          trust
host    all         all         178.212.111.39/8       trust

aws-conf's People

Contributors

fikus0fin 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.