opensuse

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
opensuse [19/06/2025 - 07:46] thommie_netzwissen.deopensuse [19/06/2025 - 07:56] (aktuell) thommie_netzwissen.de
Zeile 1: Zeile 1:
-====== Installation ======+====== Installation allgemein ======
  
 [[https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html|https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html]] [[https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html|https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html]]
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 'Loading kernel …' linuxefi /boot/x86_64/loader/linux splash=silent echo 'Loading initial ramdisk …' initrdefi /boot/x86_64/loader/initrd Add space-separated parameters to the end of the line starting with ''linuxefi''. To boot the edited entry, press F10 . If you access the machine via serial console, press Esc – 0 . A complete list of parameters is available at [[http://en.opensuse.org/Linuxrc|http://en.opensuse.org/Linuxrc]]. The most important ones are: set gfxpayload=keep echo 'Loading kernel …' linuxefi /boot/x86_64/loader/linux splash=silent echo 'Loading initial ramdisk …' initrdefi /boot/x86_64/loader/initrd Add space-separated parameters to the end of the line starting with ''linuxefi''. To boot the edited entry, press F10 . If you access the machine via serial console, press Esc – 0 . A complete list of parameters is available at [[http://en.opensuse.org/Linuxrc|http://en.opensuse.org/Linuxrc]]. The most important ones are:
  
-Table 2.2: Installation Sources [[https://bugzilla.opensuse.org/enter_bug.cgi?&product=openSUSE Distribution&component=Documentation&short_desc=[doc]+&comment=Table 2.2:  Installation Sources +===== Table 2.2: Installation Sources =====
- +
-https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html#id2142&assigned_to=fs@suse.com&version=Leap 42.2|Report Bug]] [[https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html#id2142|#]]+
  
 | \\ CD/DVD (default)| \\ ''install=cd:/''   | | \\ CD/DVD (default)| \\ ''install=cd:/''   |
Zeile 38: Zeile 36:
 | \\ SMB / CIFS|   | | \\ SMB / CIFS|   |
  
-Table 2.3: Network Configuration [[https://bugzilla.opensuse.org/enter_bug.cgi?&product=openSUSE Distribution&component=Documentation&short_desc=[doc]+&comment=Table 2.3:  Network Configuration +===== Table 2.3: Network Configuration =====
- +
-https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html#id2195&assigned_to=fs@suse.com&version=Leap 42.2|Report Bug]] [[https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html#id2195|#]]+
  
 | \\ DHCP (default)| \\ netsetup=dhcp| | \\ DHCP (default)| \\ netsetup=dhcp|
Zeile 50: Zeile 46:
 | \\ Domain Search Path| \\ ''domain=example.com''   | | \\ Domain Search Path| \\ ''domain=example.com''   |
  
-Table 2.4: Miscellaneous [[https://bugzilla.opensuse.org/enter_bug.cgi?&product=openSUSE Distribution&component=Documentation&short_desc=[doc]+&comment=Table 2.4:  Miscellaneous +===== Table 2.4: Miscellaneous =====
- +
-https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html#id2246&assigned_to=fs@suse.com&version=Leap 42.2|Report Bug]] [[https://doc.opensuse.org/documentation/leap/startup/html/book.opensuse.startup/cha.inst.html#id2246|#]]+
  
 | \\ Driver Updates: Prompt| \\ ''dud=1''   | | \\ Driver Updates: Prompt| \\ ''dud=1''   |
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:
  
 </code> </code>
- +=====   Vendor change   =====
-**Vendor change in general**+
  
 You can define a list of repositories having different "vendors" as equivalent by creating a file in the /etc/zypp/vendors.d/ directory with a similar content: You can define a list of repositories having different "vendors" as equivalent by creating a file in the /etc/zypp/vendors.d/ directory with a similar content:
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 "opensuse11.0" is compatible to "openSUSE". 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 "opensuse11.0" is compatible to "openSUSE".
  
-====== Paketlisten ex/importieren ======+====== Paketlisten ex- und importieren ======
  
 ===== Export ===== ===== Export =====
Zeile 156: Zeile 149:
  
 My own approach is now to run 'rpm -qa –queryformat '%{NAME}\n** and with 'zypper lr -pu' prior to my regular backups to maintain a up-to-date list of both, installed packages and repositories which will give me enough information to easily get the old system back just in case anything goes really wrong… Best regards, Kallistos ** My own approach is now to run 'rpm -qa –queryformat '%{NAME}\n** and with 'zypper lr -pu' prior to my regular backups to maintain a up-to-date list of both, installed packages and repositories which will give me enough information to easily get the old system back just in case anything goes really wrong… Best regards, Kallistos **
-====== Multiversion Kernel ======+===== Multiversion Kernel =====
  
-Ältere Kernel nicht löschen: /etc/zypp/zypp.conf +Ältere Kernel nicht löschen: /etc/zypp/zypp.conf Beispiel: die letzten zwei Kernel werden erhalten, außerdem ausdrücklich 5.7.11-1.:
- +
-Letzte zwei Kernel werden erhalten, außerdem ausdrücklich 5.7.11-1.:+
  
 <code> <code>
Zeile 194: Zeile 185:
 </code> </code>
  
-====== Snapper ======+====== Snapper mit btrfs ======
  
 Doku: [[https://de.opensuse.org/openSUSE:Snapper_Tutorial|https://de.opensuse.org/openSUSE:Snapper_Tutorial]] [[https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.snapper.html|https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.snapper.html]] Doku: [[https://de.opensuse.org/openSUSE:Snapper_Tutorial|https://de.opensuse.org/openSUSE:Snapper_Tutorial]] [[https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.snapper.html|https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.snapper.html]]
Zeile 219: Zeile 210:
 </code> </code>
  
-Snapshot Diff+Diff zwischen Snapshots
  
 <code> <code>
Zeile 229: Zeile 220:
  
 <code> <code>
-snapper create --description "Snapshot für Woche 2 2014"+snapper create --description "Snapshot für Woche 2 2025"
  
 </code> </code>
- +===== 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:
 </code> </code>
  
-**Rollback**+==== Rollback ==== 
 + 
 +1. Start eines älteren Snapshots als **read only über das Boot Menü**
  
-Setzt den aktuell 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.+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.
 <code> <code>
  
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 (''smbclient -L <server>'') nicht mehr. Lösung ist es den Dialekt SMB1 mittels Parameter ''-m'' zu erzwingen (''smbclient -mNT1 -L <server>''). Weitere Infos siehe [[https://www.samba.org/samba/history/samba-4.7.0.html|Samba 4.7.0]]+Workaround (unsicher): ab **Samba 4.7.0** / (auf Ubuntu: Bionic Beaver) versucht der **smbclient** die Verbindung im Dialekt SMB3_11 aufzubauen. In der Folge funktioniert das Browsing (''smbclient -L <server>'') nicht mehr. Lösung ist es den Dialekt SMB1 mittels Parameter ''-m'' zu erzwingen (''smbclient -mNT1 -L <server>''). Weitere Infos siehe [[https://www.samba.org/samba/history/samba-4.7.0.html|Samba 4.7.0]]
  
-===== Shares auf eineen Samba Server abscannen =====+===== 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:
 </code> </code>
  
-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
  
 ''mount -t cifs -o vers=3.0,username=thommie, password=xxx nas2.netzwissen.loc/photo /mnt/nas_photo/ ''mount -t cifs -o vers=3.0,username=thommie, password=xxx nas2.netzwissen.loc/photo /mnt/nas_photo/
 +
 <code> <code>
 Anonym mounten für bestimmten USer Anonym mounten für bestimmten USer
Zeile 299: Zeile 292:
  
 </code> </code>
 +===== Virtuelle Dateisysteme =====
  
-**Virtuelle Dateisysteme** 
 <code> <code>
  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 ====== 
- 
-<code> 
-sudo zypper install --type pattern devel_basis 
- 
-</code> 
- 
- 
  
  
  • opensuse.1750319212.txt.gz
  • Zuletzt geändert: 19/06/2025 - 07:46
  • von thommie_netzwissen.de