Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
languagebash
titleapt-get und Befehle zur Softwareinstallation
#Repository aktualisieren
apt-get update
#System Updates installeren
apt-get upgrade

#Paket installieren incl. Abhängigkeit
apt-get install <paketname>
#Paket deinstallieren
apt-get remove <paketname>
#Liste der installierten Pakete anzeigen
dpkg -l

Sonstiges:

Code Block
#Starten von Services als anderer User
start-stop-daemon --start --exec /opt/confluence/bin/startup.sh --chuid tomcat7:tomcat7 --pidfile /opt/confluence/work/catalina.pid
#Status laufender Services
??
#Stoppen eines Services
start-stop-daemon --stop --pidfile /opt/confluence/work/catalina.pid --user tomcat7 --retry=TERM/200/KILL/50