Skip to content

Instantly share code, notes, and snippets.

@SumonMSelim

SumonMSelim/jira.sh

Last active Jul 7, 2019
Embed
What would you like to do?
Jira on Ubuntu 18.04
wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.2.2-x64.bin
chmod a+x atlassian-jira-software-8.2.2-x64.bin
sudo ./atlassian-jira-software-8.2.2-x64.bin
# letencrypt ssl
sudo certbot certonly --standalone -d jira.kodeeo.com
# add JAVA_HOME to /etc/environment
JAVA_HOME="/opt/atlassian/jira/jre/bin"
# add pqsql repo
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -
# install pgsql 9.6
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install postgresql-9.6 -y
# create user role for pgsql
sudo -u postgres createuser --interactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment