Guide assumes debian (tested on 8.6) for YouTrack 7.0, using an account with sudo.
Jessie-backports needs to be added to the source list for java8 and an updated nginx. To do this add add the following line to /etc/apt/sources.list:
deb http://ftp.us.debian.org/debian/ jessie-backports main
Install the required packages:
sudo apt-get update