Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
opensuse [19/06/2025 - 07:46] – thommie_netzwissen.de | opensuse [19/06/2025 - 07:56] (aktuell) – thommie_netzwissen.de | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Installation ====== | + | ====== Installation |
[[https:// | [[https:// | ||
Zeile 18: | Zeile 18: | ||
====== UEFI ====== | ====== UEFI ====== | ||
- | GRUB 2 for EFI on | + | ===== GRUB 2 for EFI on ===== |
openSUSE Leap does not support a boot prompt or function keys for adding boot parameters. By default, the installation will be started with American English and the boot media as the installation source. A DHCP lookup will be performed to configure the network. To change these defaults or to add additional boot parameters you need to edit the respective boot entry. Highlight it using the arrow keys and press E . See the on-screen help for editing hints (note that only an English keyboard is available now). The Installation entry will look similar to the following: | openSUSE Leap does not support a boot prompt or function keys for adding boot parameters. By default, the installation will be started with American English and the boot media as the installation source. A DHCP lookup will be performed to configure the network. To change these defaults or to add additional boot parameters you need to edit the respective boot entry. Highlight it using the arrow keys and press E . See the on-screen help for editing hints (note that only an English keyboard is available now). The Installation entry will look similar to the following: | ||
Zeile 26: | Zeile 26: | ||
set gfxpayload=keep echo ' | set gfxpayload=keep echo ' | ||
- | Table 2.2: Installation Sources [[https:// | + | ===== Table 2.2: Installation Sources ===== |
- | + | ||
- | https:// | + | |
| \\ CD/DVD (default)| \\ '' | | \\ CD/DVD (default)| \\ '' | ||
Zeile 38: | Zeile 36: | ||
| \\ SMB / CIFS| | | | \\ SMB / CIFS| | | ||
- | Table 2.3: Network Configuration [[https:// | + | ===== Table 2.3: Network Configuration ===== |
- | + | ||
- | https:// | + | |
| \\ DHCP (default)| \\ netsetup=dhcp| | | \\ DHCP (default)| \\ netsetup=dhcp| | ||
Zeile 50: | Zeile 46: | ||
| \\ Domain Search Path| \\ '' | | \\ Domain Search Path| \\ '' | ||
- | Table 2.4: Miscellaneous [[https:// | + | ===== Table 2.4: Miscellaneous ===== |
- | + | ||
- | https:// | + | |
| \\ Driver Updates: Prompt| \\ '' | | \\ Driver Updates: Prompt| \\ '' | ||
Zeile 74: | Zeile 68: | ||
If you do not plan to use Snapper for system rollbacks, the partitioning restrictions mentioned above do not apply. | If you do not plan to use Snapper for system rollbacks, the partitioning restrictions mentioned above do not apply. | ||
- | ====== Zypper | + | ===== Zypper ===== |
Repos hinzufügen | Repos hinzufügen | ||
Zeile 123: | Zeile 117: | ||
</ | </ | ||
- | + | ===== Vendor change | |
- | **Vendor change | + | |
You can define a list of repositories having different " | You can define a list of repositories having different " | ||
Zeile 137: | Zeile 130: | ||
You can use any file name, but each file in this directory reflects a group of equivalent vendors. Libzypp makes an string comparision (like strncmp, case-insensitive) whereas the beginning of the strings are compared only.e.G. vendor " | You can use any file name, but each file in this directory reflects a group of equivalent vendors. Libzypp makes an string comparision (like strncmp, case-insensitive) whereas the beginning of the strings are compared only.e.G. vendor " | ||
- | ====== Paketlisten ex/importieren ====== | + | ====== Paketlisten ex- und importieren ====== |
===== Export ===== | ===== Export ===== | ||
Zeile 156: | Zeile 149: | ||
My own approach is now to run 'rpm -qa –queryformat ' | My own approach is now to run 'rpm -qa –queryformat ' | ||
- | ====== Multiversion Kernel | + | ===== Multiversion Kernel ===== |
- | Ältere Kernel nicht löschen: / | + | Ältere Kernel nicht löschen: / |
- | + | ||
- | Letzte | + | |
< | < | ||
Zeile 194: | Zeile 185: | ||
</ | </ | ||
- | ====== Snapper ====== | + | ====== Snapper |
Doku: [[https:// | Doku: [[https:// | ||
Zeile 219: | Zeile 210: | ||
</ | </ | ||
- | Snapshot | + | Diff zwischen Snapshots |
< | < | ||
Zeile 229: | Zeile 220: | ||
< | < | ||
- | snapper create --description " | + | snapper create --description " |
</ | </ | ||
- | + | ===== Säuberungs-Algorithmus | |
- | Säuberungs-Algorithmus | + | |
Wenn Sie keinen guten Grund haben es anders zu machen, sollten Sie imer den Säuberungs-Algorithmus mit aufführen, wenn Sie Snapshots erstellen. Sonst wird der Snapshot nie gelöscht, außer Sie machen das manuell. Sie machen das durch das Hinzufügen von Folgendem in Ihrem Snapper-Befehl | Wenn Sie keinen guten Grund haben es anders zu machen, sollten Sie imer den Säuberungs-Algorithmus mit aufführen, wenn Sie Snapshots erstellen. Sonst wird der Snapshot nie gelöscht, außer Sie machen das manuell. Sie machen das durch das Hinzufügen von Folgendem in Ihrem Snapper-Befehl | ||
Zeile 242: | Zeile 232: | ||
</ | </ | ||
- | **Rollback** | + | ==== Rollback ==== |
+ | |||
+ | 1. Start eines älteren Snapshots als **read only über das Boot Menü** | ||
- | Setzt den aktuell | + | 2. Der Rollback setzt den aktiven read-only snapshot auf **read-write** und erzeugt einen weiteren Snapshot als read-only Kopie. Beim nächsten boot wird der read-write Snapshot benutzt. |
< | < | ||
Zeile 264: | Zeile 256: | ||
====== Samba ====== | ====== Samba ====== | ||
- | Ab **Samba 4.7.0** / (Ubuntu: Bionic Beaver) versucht **smbclient** die Verbindung im Dialekt SMB3_11 aufzubauen. In der Folge funktioniert das Browsing ('' | + | Workaround (unsicher): ab **Samba 4.7.0** / (auf Ubuntu: Bionic Beaver) versucht |
- | ===== Shares auf eineen | + | ===== Shares auf einem Samba Server abscannen ===== |
Scannen von Samba Servern inder eigenen Broadcast domain | Scannen von Samba Servern inder eigenen Broadcast domain | ||
Zeile 280: | Zeile 272: | ||
</ | </ | ||
- | mit smbclient -L wird ein Passwort für den aktuellen Shell User abgefragt | + | Mit smbclient -L wird ein Passwort für den aktuellen Shell User abgefragt |
- | **Samba Share fest mounten** | + | ==== Samba Share fest mounten |
Mit User mounten | Mit User mounten | ||
'' | '' | ||
+ | |||
< | < | ||
Anonym mounten für bestimmten USer | Anonym mounten für bestimmten USer | ||
Zeile 299: | Zeile 292: | ||
</ | </ | ||
+ | ===== Virtuelle Dateisysteme ===== | ||
- | **Virtuelle Dateisysteme** | ||
< | < | ||
for i in proc sys dev; do mount --rbind /$i /mnt/$i ; done | for i in proc sys dev; do mount --rbind /$i /mnt/$i ; done | ||
Zeile 323: | Zeile 316: | ||
Mit exit wieder raus aus dem chroot | Mit exit wieder raus aus dem chroot | ||
- | |||
- | ====== Build Umgebung ====== | ||
- | |||
- | < | ||
- | sudo zypper install --type pattern devel_basis | ||
- | |||
- | </ | ||
- | |||
- | |||