Install-Party/DragonFly BSD

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Die druckbare Version wird nicht mehr unterstützt und kann Darstellungsfehler aufweisen. Bitte aktualisiere deine Browser-Lesezeichen und verwende stattdessen die Standard-Druckfunktion des Browsers.

Installation

Vorbereitung der Installation

Herunterladen vom aktuellen (nachfolgend Version 5.4.0) Abbild für das Installationsmedium bei https://www.dragonflybsd.org/download/.

fetch http://mirror-master.dragonflybsd.org/iso-images/dfly-x86_64-5.4.0_REL.img.bz2
bzip2 -d dfly-x86_64-5.4.0_REL.img.bz2
dd if=dfly-x86_64-5.4.0_REL.img of=/dev/ bs=1G

Nach dem Starten vom Installationsmedium kann zwischen dem Anmelden als root oder installer gewählt werden.

Vorbereitung als root

Änderung (Berichtigung) von der Tastenbelegung

kbdmap
  • entsprechend auswählen und bestätigen

Durchführung der Installation

Nachbereitung der Installation

aktuellen Stand für Aktualisierungen beziehen

pkg update

verfügbare Aktualisierungen beziehen und vornehmen

pkg upgrade -y

WLAN einrichten

ee /etc/rc.conf

# Gerät für WLAN zuschalten
ifconfig_iwn0="up"
# Schnittstelle mit der frei wählbaren Bezeichnung 'wlan0' für das Gerät für WLAN schaffen
wlans_iwn0="wlan0"
# Schnittstelle für WLAN
# * die Verwendung von wpa_supplicant und
# * das automatische Beziehen per DHCP
# vorgeben
ifconfig_wlan0="WPA DHCP"

service netif restart
ee /etc/wpa_supplicant.conf

network={
	key_mgmt=NONE
}
network={
	ssid="netzwerk"
#	scan_ssid=1
#	psk="passwort"
	psk=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef0
	priority=42
}

service netif restart

tmux installieren

pkg ins -y tmux

z. B. für Ctrl + b && PgUp zum einfachen Rollen (auf der standardmäßigen Ausgabe)

Installation von Software

Installation allgemeine Dienste

Sound einrichten

kldload snd_driver

kldload snd_hda
$EDITOR /boot/loader.conf

####snd_driver_load="YES"
snd_hda_load="YES"

sysctl hw.snd.default_unit=1
sysctl hw.snd.default_unit=0

Installation wpa_supplicant

als Alternative zur Version in base (System)
pkg ins -y wpa_supplicant
ee /etc/rc.conf
wpa_supplicant_program="/usr/local/sbin/wpa_supplicant"

Installation grafische Oberfläche

Installation X.Org

pkg ins -y xorg
ee /etc/rc.conf

dbus_enable= "YES" 

service dbus start

Installation HAL

pkg ins -y hal
ee /etc/rc.conf

hald_enable ="YES"

service hald start


Hintergrundbild einrichten

fetch https://www.dragonflybsd.org/images/ladydfly.png

besondere Berechtigungen einrichten

Installation doas

pkg ins -y doas

Installation sudo

pkg ins -y sudo

Installation gksu

pkg ins -y gksu

Installation kdesu

pkg ins -y kf5-kdesu

Verwaltung von Paketen einrichten

Installation octopkg

pkg ins -y octopkg

Installation Arbeitsoberfläche

$EDITOR /boot/loader.conf

kern.maxfiles="25000"

Installation Xfce 4

#Installation X.Org

pkg ins -y xfce
su user

whoami
user
$EDITOR ~/.xinitrc
exec startxfce4
ln -s ~/.xinitrc ~/.xsession
startx
exit

Installation MATE

#Installation X.Org

pkg ins -y mate-base
pkg ins -y mate-desktop mate-common mate-utils mate-terminal mate-system-monitor mate-media mate-power-manager
mit
gnome-keyring

pkg ins -y mate-screensaver

su user

whoami
user
$EDITOR ~/.xinitrc
exec mate-session
ln -s ~/.xinitrc ~/.xsession
startx
exit

Installation GNOME 3

Grundsätzlich kann hinsichtlich es Umfangs in

  • gnome-desktop
    nur die Oberfläche, aber selbst ohne gdm
  • gnome3-lite
    das einfache (kleine)
  • gnome3
    alles, nichts, oder

pkg ins -y gnome3
ee /etc/rc.conf
gdm_enable="YES"

pkg ins -y gnome-desktop
ee /etc/rc.conf

gdm_enable="YES"


Installation KDE 5

Grundsätzlich kann hinsichtlich es Umfangs in

  • plasma5-plasma-workspace
    nur die Oberfläche
  • kde-baseapps
    das einfache (kleine)
  • kde
    alles, nichts, oder
pkg ins -y kde-baseapps

#Installation SDDM

Installation grafische Anmeldung

Installation SLiM

pkg ins -y slim
ee /etc/rc.conf

slim_enable="YES"

Installation SDDM

pkg ins -y sddm
ee /etc/rc.conf

sddm_enable="YES"

Installation Webbrowser

Installation Chromium

pkg ins -y chromium

Installation Firefox

pkg ins -y firefox

Installation Audio/Video

Installation vlc

pkg ins -y vlc3

Installation Shells

Installation zsh

Installation oh-my-zsh
https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh && chmod 700 install.sh && ./install.sh && rm install.sh

Tutorials

Siehe auch

Weblinks