Linux 15.027 Themen, 107.036 Beiträge

:- Gruß K.-H. gelöscht_84526
KarstenW gelöscht_238890 „ In gewisser Weise ja, weil ich seit ca. 20 Jahren auch darin herumwurstele. :-...“
Optionen

Man kann geteilter Meinung sein. Unix speichert seine Konfiguration schon seit jeher in einfache Textdateien. Das hat sich in den letzten 30 oder 40 Jahren bewährt.
Wenn eine Registry wirklich Vorteile hätte , dann würde es eine Registry wahrscheinlich auch unter GNU/Linux und FreeBSD geben.

Nur mal zu Veranschauung wie einfach Unix und GNU/Linux programmiert ist:

Netzwerkkonfiguration bei Debian GNU/Linux:

cat /etc/network/interfaces

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.1
dns-search local

XServer Konfiguration bei Debian GNU/Linux für den Desktop:

cat /etc/X11/xorg.conf


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
# Option "Emulate3Buttons" "true"
Option "Emulate3Buttons" "false"
EndSection

Section "Device"
Identifier "nVidia Corporation NV34 [GeForce FX 5500]"
Driver "nv"
BusID "PCI:1:00:0"
EndSection


Section "Monitor"
Identifier "BENQ FP767"
Option "DPMS"
HorizSync 32-83
VertRefresh 57-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV34 [GeForce FX 5500]"
Monitor "BENQ FP767"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection


Und wenn man als Anfänger nicht Bescheid weiß, dann ließt man immer die manpage zur entsprechenden Konfigurationsdatei:

man interfaces
man xorg.conf

Und wenn man nicht mal weiß was eine manpage bei Unix oder GNU/Linux ist, dann ließt man die Ausgabe von

man man








Debian GNU/Linux https://www.debian.org/index.de.html
bei Antwort benachrichtigen