Install-Party/DragonFly BSD: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
 
(22 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 42: Zeile 42:
</pre>
</pre>
<pre></pre>
<pre></pre>
: <code>ifconfig wlan0 up</code>
: <code>service netif restart</code>


: <code>ee /etc/wpa_supplicant.conf</code>
: <code>ee /etc/wpa_supplicant.conf</code>
Zeile 48: Zeile 48:
<pre>
<pre>
network={
network={
        key_mgmt=NONE
key_mgmt=NONE
}
</pre>
<pre>
network={
ssid="netzwerk"
# scan_ssid=1
# psk="passwort"
psk=1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef0
priority=42
}
}
</pre>
</pre>
Zeile 54: Zeile 63:


: <code>service netif restart</code>
: <code>service netif restart</code>
==== tmux installieren ====
: <code>pkg ins -y tmux</code>
z. B. für <tt>Ctrl</tt> + <tt>b</tt> && <tt>PgUp</tt> zum einfachen Rollen (auf der standardmäßigen Ausgabe)


== Installation von Software ==
== Installation von Software ==


=== Installation von wpa_supplicant ===
=== Installation allgemeine Dienste ===
 
==== Sound einrichten ====
 
<s>
: <code>kldload snd_driver</code>
</s>
: <code>kldload snd_hda</code>
 
: <code>$EDITOR /boot/loader.conf</code>
<pre></pre>
<pre>
####snd_driver_load="YES"
snd_hda_load="YES"
</pre>
<pre></pre>
 
: <code>sysctl hw.snd.default_unit=1</code>
: <code>sysctl hw.snd.default_unit=0</code>
 
==== Installation wpa_supplicant ====
<s>
<s>
: als Alternative zur Version in base (System)
: als Alternative zur Version in base (System)
Zeile 71: Zeile 106:
</s>
</s>


=== Installation X.Org ===
=== Installation grafische Oberfläche ===
 
==== Installation X.Org ====


: <code>pkg ins -y xorg</code>
: <code>pkg ins -y xorg</code>
Zeile 82: Zeile 119:
: <code>service dbus start</code>
: <code>service dbus start</code>


=== Installation HAL ===
* https://www.dragonflybsd.org/docs/how_to_get_to_the_desktop/#index9h3
 
==== Installation HAL ====


: <code>pkg ins -y hal</code>
: <code>pkg ins -y hal</code>
Zeile 93: Zeile 132:
: <code>service hald start</code>
: <code>service hald start</code>


=== Installation von Xfce 4 ===


[[#Installation X.Org]]
==== Hintergrundbild einrichten ====
 
: <code><nowiki>fetch https://www.dragonflybsd.org/images/ladydfly.png</nowiki></code>
 
=== besondere Berechtigungen einrichten ===
 
==== Installation doas ====
 
: <code>pkg ins -y doas</code>
 
==== Installation sudo ====
 
: <code>pkg ins -y sudo</code>
 
==== Installation gksu ====
 
: <code>pkg ins -y gksu</code>
 
==== Installation kdesu ====
<s>
: <code>pkg ins -y kf5-kdesu</code>
</s>
 
=== Verwaltung von Paketen einrichten ===
 
==== Installation octopkg ====
 
: <code>pkg ins -y octopkg</code>
 
=== Installation Arbeitsoberfläche ===


: <code>pkg ins -y xfce</code>
: <code>$EDITOR /boot/loader.conf</code>
: <code>pkg ins -y slim</code>
: <code>ee /etc/rc.conf</code>
<pre></pre>
<pre></pre>
<pre>
<pre>
slim_enable="YES"
kern.maxfiles="25000"
</pre>
</pre>
<pre></pre>
<pre></pre>
==== Installation Xfce 4 ====
[[#Installation X.Org]]
: <code>pkg ins -y xfce</code>


: <code>su user</code>
: <code>su user</code>
Zeile 122: Zeile 193:
----
----


=== Installation von GNOME 3 ===
* [[#Installation SLiM]]
 
==== Installation MATE ====
 
[[#Installation X.Org]]
 
: <code>pkg ins -y mate-base</code>
: <code>pkg ins -y mate-desktop mate-common mate-utils mate-terminal mate-system-monitor mate-media mate-power-manager</code>
:: mit
::: gnome-keyring
 
<s>
: <code>pkg ins -y mate-screensaver</code>
</s>
 
: <code>su user</code>
----
 
: <code>whoami</code>
<pre>
user
</pre>
: <code>$EDITOR ~/.xinitrc</code>
<pre>
exec mate-session
</pre>
: <code>ln -s ~/.xinitrc ~/.xsession</code>
: <code>startx</code>
: <code>exit</code>
----
 
* [[#Installation SLiM]]
 
==== Installation GNOME 3 ====
 
* [[#Installation X.Org]]
* [[#Installation HAL]]


Grundsätzlich kann hinsichtlich es Umfangs in
Grundsätzlich kann hinsichtlich es Umfangs in
Zeile 152: Zeile 259:
<pre></pre>
<pre></pre>


=== Installation von KDE 5 ===
==== Installation KDE 5 ====
 
* [[#Installation X.Org]]
* [[#Installation HAL]]


: <code>pkg ins -y xorg plasma5-plasma-workspacce sddm kde-baseapps</code>
Grundsätzlich kann hinsichtlich es Umfangs in
* ''plasma5-plasma-workspace''
*: nur die Oberfläche
* ''kde-baseapps''
*: das einfache (kleine)
* <s>''kde''</s>
*: alles, nichts, oder
 
: <code>pkg ins -y kde-baseapps</code>
 
* https://community.kde.org/Plasma/shellPackage
 
[[#Installation SDDM]]
 
=== Installation grafische Anmeldung ===
 
==== Installation SLiM ====
 
: <code>pkg ins -y slim</code>
: <code>ee /etc/rc.conf</code>
<pre></pre>
<pre>
slim_enable="YES"
</pre>
<pre></pre>
 
==== Installation SDDM ====
 
* [[#Installation X.Org]]
* [[#Installation HAL]]
 
: <code>pkg ins -y sddm</code>
: <code>ee /etc/rc.conf</code>
: <code>ee /etc/rc.conf</code>
<pre></pre>
<pre></pre>
Zeile 164: Zeile 305:
=== Installation Webbrowser ===
=== Installation Webbrowser ===


==== Installation von Chromium ====
==== Installation Chromium ====


: <code>pkg ins -y chromium</code>
: <code>pkg ins -y chromium</code>


==== Installation von Firefox ====
==== Installation Firefox ====


: <code>pkg ins -y firefox</code>
: <code>pkg ins -y firefox</code>
=== Installation Audio/Video ===
==== Installation vlc ====
: <code>pkg ins -y vlc3</code>
=== Installation Shells ===
==== Installation zsh ====
===== Installation oh-my-zsh =====
: <code>https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh && chmod 700 install.sh && ./install.sh && rm install.sh</code>


== Tutorials ==
== Tutorials ==

Aktuelle Version vom 29. Dezember 2018, 21:27 Uhr

Installation[Bearbeiten]

Vorbereitung der Installation[Bearbeiten]

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[Bearbeiten]

Nachbereitung der Installation[Bearbeiten]

aktuellen Stand für Aktualisierungen beziehen

pkg update

verfügbare Aktualisierungen beziehen und vornehmen

pkg upgrade -y

WLAN einrichten[Bearbeiten]

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[Bearbeiten]

pkg ins -y tmux

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

Installation von Software[Bearbeiten]

Installation allgemeine Dienste[Bearbeiten]

Sound einrichten[Bearbeiten]

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[Bearbeiten]

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[Bearbeiten]

Installation X.Org[Bearbeiten]

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

dbus_enable= "YES" 

service dbus start

Installation HAL[Bearbeiten]

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

hald_enable ="YES"

service hald start


Hintergrundbild einrichten[Bearbeiten]

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

besondere Berechtigungen einrichten[Bearbeiten]

Installation doas[Bearbeiten]

pkg ins -y doas

Installation sudo[Bearbeiten]

pkg ins -y sudo

Installation gksu[Bearbeiten]

pkg ins -y gksu

Installation kdesu[Bearbeiten]

pkg ins -y kf5-kdesu

Verwaltung von Paketen einrichten[Bearbeiten]

Installation octopkg[Bearbeiten]

pkg ins -y octopkg

Installation Arbeitsoberfläche[Bearbeiten]

$EDITOR /boot/loader.conf

kern.maxfiles="25000"

Installation Xfce 4[Bearbeiten]

#Installation X.Org

pkg ins -y xfce
su user

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

Installation MATE[Bearbeiten]

#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[Bearbeiten]

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[Bearbeiten]

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[Bearbeiten]

Installation SLiM[Bearbeiten]

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

slim_enable="YES"

Installation SDDM[Bearbeiten]

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

sddm_enable="YES"

Installation Webbrowser[Bearbeiten]

Installation Chromium[Bearbeiten]

pkg ins -y chromium

Installation Firefox[Bearbeiten]

pkg ins -y firefox

Installation Audio/Video[Bearbeiten]

Installation vlc[Bearbeiten]

pkg ins -y vlc3

Installation Shells[Bearbeiten]

Installation zsh[Bearbeiten]

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

Tutorials[Bearbeiten]

Siehe auch[Bearbeiten]

Weblinks[Bearbeiten]