LordLamer
  • Home
  • About Me
  • Familie
  • Knowledgeroot
  • Impressum
KEEP IN TOUCH

Spring Boot – App Deployment on Linux

May13
2016
Written by lordlamer

Spring Boot bietet die Möglichkeit seine erstellte Jar-Datei auch als Selbstausführenden Linux-Dienst zur Verfügung zu stellen. Das heißt, die erstellte Jar-Datei lässt sich direkt als Linux-Dienst nutzen.

Um das Feature zu nutzen müsst ihr pom.xml wie folgt anpassen:

1
2
3
4
5
6
7
<plugin>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-maven-plugin</artifactId>
    <configuration>
        <executable>true</executable>
    </configuration>
</plugin>

Nach einem Package erstellen können wir die Datei auf unser Zielsystem deployen. Ein Link in die entsprechenden Runlevels und schon können wir die Spring Boot App als Linux Dienst laufen lassen.

Weitere Informationen dazu hier:
http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html

Posted in Java
SHARE THIS Twitter Facebook Delicious StumbleUpon E-mail
« Neue Leselektüre ist da – The Book of PF
» Urlaub 2016

Community

  • Forum
  • GitHub
  • Knowledgeroot
  • YouTube

#lordlamer

Frühstück für das #macmon Meeting ist angekommen #integra #gid-it - Vielen Dank!!! https://t.co/l607oUsnNK - 2 months ago

RT @ValaAfshar: The fastest route is not always a straight line. https://t.co/A2dLNWNZph - 4 months ago

Video ist online - #Zugspitze via #Höllental https://t.co/HXLLoYnETs #berge #klettern #topofgermany - 5 months ago

RT @axbom: The captcha and the 'Contact Us' button are perfect 😂😭 #digitalexperience https://t.co/rlF57ICMjP - 1 year ago

RT @MartinSonneborn: Schon etwas älter, aber nach wie vor beste Analyse der US-Außenpolitik... Smiley! Via Irfan Hyder https://t.co/dSa1uu… - 1 year ago

Visit My Profile

Categories

  • bsd (1)
  • citrix (3)
  • Company (24)
  • Debian (11)
  • Familie (85)
  • Geocaching (2)
  • Hausbau (41)
  • IPv6 (5)
  • Java (3)
  • klettern (20)
  • Knowledgeroot (15)
  • Linux (12)
  • LUG Balista (1)
  • misc (21)
  • mysql (1)
  • netscreen (2)
  • postgresql (1)
  • sap (4)
  • solr (2)
  • vim (2)

EvoLve theme by Theme4Press  •  Powered by WordPress LordLamer
Frank Habermann

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok