Skip to content

Instantly share code, notes, and snippets.

@cyrex562
Created December 7, 2016 22:06
Show Gist options
  • Save cyrex562/f3cdf460e3e2386ba3cc9af3d8f800cd to your computer and use it in GitHub Desktop.
Save cyrex562/f3cdf460e3e2386ba3cc9af3d8f800cd to your computer and use it in GitHub Desktop.
# atlassian on postgres baseline on ubuntu 16.04
add-apt-repository ppa:webupd8team/java
touch /etc/apt/sources.list.d/pgdg.list
echo deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main >> /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
apt -y update
apt -y install oracle-java8-installer oracle-java8-set-default postgresql-9.4 postgresql-contrib-9.4 postgresql-client-9.4
# create postgres users, etc
/usr/lib/postgresql/9.4/bin/createuser -l -P -E atluser
# create postgres db
/usr/lib/postgresql/9.4/bin/createdb confluencedb
# OR
/usr/lib/postgresql/9.4/bin/createdb jiradb
# update postgres role with encrypted password
# create role with encrypted password and login
# add listening on outside interfaces
# update hba to include md5 for local all and hosts in subnets
# confluence installer
https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.0.2-x64.bin
# jira installer
https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.2.6-x64.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment