Assuming you have downloaded from Atlassian. If not read how to prepare for installs.
chmod +x atlassian-jira-software-7.12.1-x64.bin
sudo ./atlassian-jira-software-7.12.1-x64.bin
Follow prompts and make sure you enable the service option if you want Jira Software to autostart on bootup.
If you installed using sudo it’ll place the app in dir: /opt/atlassian/jira, which is good.
# Install directory
/opt/atlassian/jira
# Data directory
/var/atlassian/application-data/jira
# Use database settings
# Use the created username password we created earlier
jirasoftware_user
supersecretpassword
Note these files in case you don’t want it to be installed as a service or if something happens.
/opt/atlassian/jira/bin/start-jira.sh
/opt/atlassian/jira/bin/stop-jira.sh