From c855a520de76a2f4f1ca7deb37da397839f1ad97 Mon Sep 17 00:00:00 2001 From: Sascha Schulz <sschulz@dh-software.de> Date: Mo, 27 Jan 2025 16:30:16 +0100 Subject: [PATCH] add chapter operation --- assets/images/ubuntu-installation.png | 0 index.html | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 100 insertions(+), 10 deletions(-) diff --git a/assets/images/ubuntu-installation.png b/assets/images/ubuntu-installation.png new file mode 100644 index 0000000..7ab46b5 --- /dev/null +++ b/assets/images/ubuntu-installation.png Binary files differ diff --git a/index.html b/index.html index 8744357..cb32aaf 100644 --- a/index.html +++ b/index.html @@ -4611,17 +4611,10 @@ <section> <p>Wichtige Aspekte beim produktiven Betrieb von Anwendungen</p> <ul> + <li>Stabilität</li> <li>Zugriffsschutz</li> - <li>Ausfallsicherheit</li> <li>Sicherheitsupdates</li> - </ul> - </section> - <section> - <p>Wichtige Aspekte beim produktiven Betrieb von Anwendungen</p> - <ul> - <li>Zugriffsschutz</li> <li>Ausfallsicherheit</li> - <li>Sicherheitsupdates</li> </ul> </section> <section> @@ -4630,8 +4623,7 @@ <li>Webserver</li> <li>Proxies</li> <li>Laufzeitumgebungen</li> - <li>Application-Server</li> - <li>Prozess-Manager</li> + <li>Application-Server / Prozess-Manager</li> <li>Remote-Zugänge</li> </ul> </section> @@ -4645,6 +4637,104 @@ <li>Ubuntu Server 24.04</li> </ul> </section> + <section> + <p>Eckdaten für die VM</p> + <ul> + <li>2048 MB Ram</li> + <li>Netzwerktyp "Brücke" / "Bridge"</li> + <li>Linux / Ubuntu (64-Bit)</li> + <li>20GB HDD</li> + </ul> + </section> + <section> + <img data-src="/assets/images/ubuntu-installation.png"> + </section> + <section> + <p>Nach der Installation in der VM mit den bekannten Credentials anmelden und die IP in Erfahrung bringen:</p> + <pre> + <code class="bash" data-trim data-line-numbers> + ip a + </code> + </pre> + </section> + <section> + <pre> + <code class="bash" data-trim data-line-numbers> + 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP [...] + link/ether 08:00:27:43:e5:2c brd ff:ff:ff:ff:ff:ff + inet 10.0.0.166/16 metric 100 brd 10.0.255.255 scope global dynamic enp0s3 + valid_lft 863191sec preferred_lft 863191sec + </code> + </pre> + </section> + <section> + <h3>Anmeldung am Server</h3> + <p>Nach der Installation am Server anmelden</p> + <pre> + <code class="bash" data-trim data-line-numbers> + ssh user@domain [-p 12345] + </code> + </pre> + <p>Beispiele für eine Domain: localhost, www.example.com, 127.0.0.1, [0:0:0:0:0:0:0:1], [::1]</p> + </section> + <section> + <h3>Pakete aktualisieren</h3> + <pre> + <code class="bash" data-trim data-line-numbers> + # Paketlisten updaten + sudo apt update + + # Pakete updaten + sudo apt upgrade + </code> + </pre> + </section> + <section> + <h3>Ordner-Navigation</h3> + <pre> + <code class="bash" data-trim data-line-numbers> + # In einen Ordner gehen + cd [Ordner] + + # Zum vorherigen Ordner gehen + cd - + + # Längere Ordnerpfade sind auch möglich + # realtiv + cd a/b/c/d + + # absolut + cd /var/www/html + </code> + </pre> + </section> + <section> + <h3>Ordner erstellen und löschen</h3> + <pre> + <code class="bash" data-trim data-line-numbers> + # Einen Ordner erstellen + mkdir my-folder + + # Mehrere Hierarchien + mkdir -p a/b/c/d + + # Mehrere Ordner + mkdir a b c + + # Ordner rekrusiv löschen + rm -rf [Ordner] + </code> + </pre> + </section> + <section> + <h3>Dateien zum Server kopieren</h3> + <pre> + <code class="bash" data-trim data-line-numbers> + # scp [Quelle] [Ziel] + scp . user@domain:/ziel + </code> + </pre> + </section> </section> </div> </div> -- Gitblit v1.9.3