title: How to install Spring boot app on Ubuntu server?
body: <p>I have Ubuntu server on Digital Ocean and I wrote Spring web app and now I want to put it in production.</p>
  
  <p>I upload it via FTP to the server and I open my console via Putty and I use this command:</p>
  
  <pre><code>java -jar name.jar
  </code></pre>
  
  <p>Spring is started after that and when I open my web app everything is working fine, but when I close my Putty session my Spring web app does not work anymore. It seems like when I close my Putty session that also Spring web app is closed.</p>
  
  <p>How to solve this?</p>