Skip to content

Instantly share code, notes, and snippets.

@keithrozario
Last active April 27, 2019 08:48
Show Gist options
  • Save keithrozario/1b9a2400f1076c78be21e0b6f0189bf9 to your computer and use it in GitHub Desktop.
Save keithrozario/1b9a2400f1076c78be21e0b6f0189bf9 to your computer and use it in GitHub Desktop.
Installing Confluence
#! /bin/bash
wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.2-x64.bin
chmod +x atlassian-confluence-6.15.2-x64.bin
sudo ./atlassian-confluence-6.15.2-x64.bin
sudo apt install postgresql postgresql-contrib
sudo -i -u postgres
createuser --interactive
psql
ALTER USER confluenceuser WITH ENCRYPTED PASSWORD '<password>';
CREATE DATABASE confluence;
sudo update-rc.d postgresql enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment