Diskussion:BSD: Unterschied zwischen den Versionen
Vater (Diskussion | Beiträge) (Neuer Abschnitt →stura.htw-dresden.de:) |
Vater (Diskussion | Beiträge) (Neuer Abschnitt →FreeBSD meets Nixpkgs) |
||
Zeile 62: | Zeile 62: | ||
* [[stura.htw-dresden.de:NetBSD]] | * [[stura.htw-dresden.de:NetBSD]] | ||
* [[stura.htw-dresden.de:DragonFly BSD]] | * [[stura.htw-dresden.de:DragonFly BSD]] | ||
== FreeBSD meets Nixpkgs == | |||
; (damals aktuelle) Links: | |||
* https://nixos.org/releases/nix/nix-2.0.1/manual/#ch-installing-source | |||
; Installation von Paketen: | |||
<!-- | |||
um es später etwas bunter zu haben | |||
: <code>pkg install -y colordiff</code> | |||
--> | |||
Installieren der Pakete, wie es im manual von Nix benannt ist | |||
: <code>pkg install -y gmake gcc pkgconf openssl bzip2 sqlite3 boehm-gc libxml2 libxslt bison flex</code> | |||
Installieren der Pakete, wie es für Nix ansonsten dennoch bedarf | |||
: <code>pkg install -y bash git</code> | |||
Erstellen von einem (nahezu beliebig zu bezeichnenden) Verzeichnis im Verzeichnis des Accunts | |||
: <code>mkdir ~/src/</code> | |||
Wechseln in das erstellte | |||
: <code>cd ~/src/ && git clone https://github.com/NixOS/nix</code> | |||
: <code>pkg install -y autotools</code> | |||
: <code>cd ~/src/nix</code> | |||
: <code>git tag</code> | |||
: <code>git checkout 2.0.1</code> | |||
: <code>./bootstrap.sh</code> | |||
---- | |||
<s> | |||
: <code>chsh -s $(which bash)</code> | |||
: <code>su -l $(whoami)</code> | |||
</s> | |||
---- | |||
:: <code>pkg install -y gsed</code> | |||
:: <code>gsed -i "s@/bin/sh@$(which bash)@g" configure</code> | |||
: oder | |||
:: <code>$EDITOR ~/src/nix/configure</code> | |||
<pre> | |||
#SHELL=${CONFIG_SHELL-/bin/sh} | |||
SHELL=${CONFIG_SHELL-/usr/local/bin/bash} | |||
</pre> | |||
: <code>cd ~/src/nix/</code> | |||
: <code>./configure</code> | |||
---- | |||
docbook zum bauen wegen fehlern auskommentiert | |||
---- | |||
* src/linenoise/linenoise.cpp | |||
<pre> | |||
# include <sys/static.h> | |||
</pre> | |||
* src/libexpr/primops/fetchGit.cc | |||
<pre> | |||
# include <wait.h> | |||
</pre> | |||
---- | |||
: <code>for n in $(seq 1 10); do pw useradd -n "nixbld$n" -d /var/empty/ -g nixbld -G nixbld -s "$(which nologin)" ; done</code> | |||
<pre> | |||
You have new mail in /var/mail/root | |||
</pre> | |||
---- | |||
source prefix/etc/profile.d/nix.sh | |||
path anpassen /bin /usr/bin | |||
stat -f | |||
---- | |||
: <code>pkg install -y lsof</code> | |||
---- | |||
btw: Setzen von Umgebungsvariablen für die bash eines Accounts (nicht root, denn dieser Account soll nicht die bash standardmäßig nutzen): | |||
: <code>$EDITOR /usr/home/`whoami`/.profile</code> | |||
---- | |||
<!-- | |||
: <code></code> | |||
--> |
Version vom 2. Mai 2018, 06:12 Uhr
Quellen für Videos
- https://www.youtube.com/channel/UCuYTHK0hzn1P-M2nV_tDOtA
- https://www.youtube.com/user/BSDTVvideos
- https://www.youtube.com/playlist?list=PLP6cPNfnmd-qzXczobb9FcAYvQwPoAu8t
- https://www.youtube.com/user/FreeBSDTutorials
Quellen für Tutorials
https://www.freebsddiary.org/- https://www.vultr.com/docs/category/bsd/
- https://www.linuxsecrets.com/home/categories/51-freebsd
hosting services zu BSD
https://www.atlantic.net/community/howto-tag/freebsd/ |
Services zu BSD
- http://freshbsd.org/
- mit indirekter Übersicht zu Projekten mit BSD
Werkzeuge zur Verwaltung von Aufgaben als Dienst
als Alternative zu rc-Skripten gibt es bei FreeBSD
.
Vorstellung von BSD
user:vater wird wohl "auf die Schnelle" eine Art Vortrag zur Vorstellung von BSD bei den Datenspuren 2017 machen. Gern kann dazu von allen "Wissenden" beitragen.
user:vater nutzt - auch zum Testen (der Instanz und für sich selbst) - HackMD (gerade neu beim C3D2): https://hackmd.c3d2.de/bsd
--vater 19:21, 12. Okt. 2017 (CEST)
paste
Logos & Co
stura.htw-dresden.de:
stura.htw-dresden.de:Kategorie:BSD
- stura.htw-dresden.de:FreeBSD
- stura.htw-dresden.de:TrueOS
- stura.htw-dresden.de:OpenBSD
- stura.htw-dresden.de:NetBSD
- stura.htw-dresden.de:DragonFly BSD
FreeBSD meets Nixpkgs
- (damals aktuelle) Links
- Installation von Paketen
Installieren der Pakete, wie es im manual von Nix benannt ist
pkg install -y gmake gcc pkgconf openssl bzip2 sqlite3 boehm-gc libxml2 libxslt bison flex
Installieren der Pakete, wie es für Nix ansonsten dennoch bedarf
pkg install -y bash git
Erstellen von einem (nahezu beliebig zu bezeichnenden) Verzeichnis im Verzeichnis des Accunts
mkdir ~/src/
Wechseln in das erstellte
cd ~/src/ && git clone https://github.com/NixOS/nix
pkg install -y autotools
cd ~/src/nix
git tag
git checkout 2.0.1
./bootstrap.sh
chsh -s $(which bash)
su -l $(whoami)
pkg install -y gsed
gsed -i "s@/bin/sh@$(which bash)@g" configure
- oder
$EDITOR ~/src/nix/configure
#SHELL=${CONFIG_SHELL-/bin/sh} SHELL=${CONFIG_SHELL-/usr/local/bin/bash}
cd ~/src/nix/
./configure
docbook zum bauen wegen fehlern auskommentiert
- src/linenoise/linenoise.cpp
# include <sys/static.h>
- src/libexpr/primops/fetchGit.cc
# include <wait.h>
for n in $(seq 1 10); do pw useradd -n "nixbld$n" -d /var/empty/ -g nixbld -G nixbld -s "$(which nologin)" ; done
You have new mail in /var/mail/root
source prefix/etc/profile.d/nix.sh
path anpassen /bin /usr/bin
stat -f
pkg install -y lsof
btw: Setzen von Umgebungsvariablen für die bash eines Accounts (nicht root, denn dieser Account soll nicht die bash standardmäßig nutzen):
$EDITOR /usr/home/`whoami`/.profile