Aktuelle Version |
Dein Text |
Zeile 1: |
Zeile 1: |
| Diese Seite ist lediglich ein Merkzettel für [[Benutzer:PaulRiegel|mich]]. | | Diese Seite ist lediglich ein Merkzettel für [[Benutzer:PaulRiegel|mich]]. |
|
| |
|
| == Installation == | | == 10.1 == |
|
| |
|
| === Dinge, die sich nach der Installation einmal angeschaut werden kann === | | === System bei 10.1 betreuen === |
|
| |
|
| ==== Arbeitsspeicher ==== | | ==== Software bei 10.1 aktuell halten ==== |
| : mit SWAP
| |
| | |
| : <code>swapinfo</code>
| |
| <pre>
| |
| Device 512-blocks Used Avail Capacity
| |
| /dev/label/swap0.eli 41943032 0 41943032 0%
| |
| </pre>
| |
| : <code>sudo swapon -a</code>
| |
| <pre></pre>
| |
| : <code>sudo swapoff -a</code>
| |
| <pre>
| |
| swapoff: removing /dev/label/swap0.eli as swap device
| |
| </pre>
| |
| : <code>swapinfo</code>
| |
| <pre>
| |
| Device 512-blocks Used Avail Capacity
| |
| </pre>
| |
| : <code>sudo swapon -a </code>
| |
| <pre>
| |
| swapon: adding /dev/label/swap0.eli as swap device
| |
| </pre>
| |
| : <code>sudo swapon -F /etc/fstab -a</code>
| |
| <pre></pre>
| |
| | |
| ==== Massenspeicher ====
| |
| : mit GEOM_ELI
| |
| : mit ZFS
| |
| | |
| ; Verschlüsslung:
| |
| :: geom_eli_load="YES"
| |
| | |
| : <code>geli status</code>
| |
| | |
| : <code>geli list</code>
| |
| | |
| ; Pool:
| |
| :: zfs_enable="YES"
| |
| : als Spiegel von zwei Massenspeichern
| |
| | |
| : <code>zpool status</code>
| |
| | |
| : <code>zfs list</code>
| |
| | |
| : <code>zfs list -t snapshot</code>
| |
| | |
| == FreeBSD-CURRENT 12 ==
| |
| | |
| === foo for TrueOS ===
| |
| | |
| ==== freshporting TrueOS ====
| |
| : WTF! TrueOS wurde von ''stable'' auf ''current'' umgestellt und gibt nur noch eingefrorene (gelegentlich dann) wochenalte Pakete?
| |
| :: http://pkg.cdn.trueos.org/master/amd64/ (i.V.m. http://pkg.cdn.trueos.org/master/amd64-base/ ) vs. http://pkg.freebsd.org/freebsd:12:x86:64/latest/
| |
| | |
| : <code>cat /usr/local/etc/pkg/repos/trueos.conf</code>
| |
| <pre>
| |
| trueos-major: {
| |
| url: "http://pkg.cdn.trueos.org/master/amd64",
| |
| signature_type: "fingerprints",
| |
| fingerprints: "/usr/local/etc/pkg/fingerprints/trueos",
| |
| enabled: true
| |
| }
| |
| </pre>
| |
| | |
| : <code>sudo ee /usr/local/etc/pkg/repos/trueos.conf</code>
| |
| :: Der Einfachheit halber wird das Repository einfach frei wählbar als ''freebsd'' bezeichnet. (Genau genommen könnte es der Klarheit halber auch ''pkg-freebsd-12-x86-64'' benannt werden.)
| |
| :: aus https://svnweb.freebsd.org/base/head/etc/pkg/FreeBSD.conf?view=co ( alternativ per https://github.com/freebsd/freebsd/blob/master/etc/pkg/FreeBSD.conf ) übernommen
| |
| <pre></pre>
| |
| <pre>
| |
| freebsd: {
| |
| url: "pkg+http://pkg.freebsd.org/freebsd:12:x86:64/latest",
| |
| mirror_type: "srv",
| |
| signature_type: "fingerprints",
| |
| fingerprints: "/usr/share/keys/pkg",
| |
| enabled: true
| |
| }
| |
| </pre>
| |
| | |
| : <code>sudo ln -s /usr/share/keys/pkg /usr/local/etc/pkg/fingerprints/freebsd</code>
| |
| :: im Stil von dem Beispiel von https://www.freebsd.org/cgi/man.cgi?query=pkg-repo&sektion=8 (statt <code># Add 'fingerprint' into /usr/local/etc/pkg/fingerprints/myrepo/trusted</code>)
| |
| | |
| === einzelne Software ===
| |
| | |
| ==== CBSD ====
| |
| | |
| : <code>sudo pkg install -y cbsd</code>
| |
| <pre>
| |
| Message from cbsd-11.0.2:
| |
| ===============================================================================
| |
| | |
| cbsd is now installed, but requires additional setup steps:
| |
| | |
| Upon initial installation, run:
| |
| | |
| env workdir="/path" /usr/local/cbsd/sudoexec/initenv
| |
| | |
| Where /path is the path to the cbsd workdir, e.g.: /usr/jails
| |
| | |
| For upgrading an existing installation, run:
| |
| | |
| cbsd initenv
| |
| | |
| ===============================================================================
| |
| </pre>
| |
| | |
| : <code>sudo env workdir="/usr/jails" /usr/local/cbsd/sudoexec/initenv</code>
| |
| <pre>
| |
| -------[CBSD v.11.0.2]-------
| |
| This is install/upgrade scripts for CBSD.
| |
| Don't forget to backup.
| |
| -----------------------------
| |
| Do you want prepare or upgrade hier environment for CBSD now?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| </pre>
| |
| <pre></pre>
| |
| <pre>
| |
| [Stage 2: build tools]
| |
| exec: /usr/local/bin/clang38: not found
| |
| exec: /usr/local/bin/clang38: not found
| |
| Shall i add cbsd user into /usr/local/etc/sudoers.d/cbsd_sudoers sudo file to obtain root privileges for the most cbsd commands?
| |
| [yes(1) or no(0)]
| |
| ^C
| |
| </pre>
| |
| : <code>sudo pkg install -y clang38</code>
| |
| | |
| : <code>sudo env workdir="/usr/jails" /usr/local/cbsd/sudoexec/initenv</code>
| |
| <pre></pre>
| |
| <pre>
| |
| /usr/bin/ld: warning: libssl.so.8, needed by /usr/local/lib/libssh2.so, not found (try using -rpath or -rpath-link)
| |
| </pre>
| |
| <pre></pre>
| |
| : <code>sudo ln -s /usr/local/lib/libssl.so.39 /usr/local/lib/libssl.so.8</code>
| |
| | |
| : <code>sudo env workdir="/usr/jails" /usr/local/cbsd/sudoexec/initenv</code>
| |
| <pre></pre>
| |
| <pre>
| |
| [Stage 2: build tools]
| |
| /usr/bin/ld: warning: libcrypto.so.8, needed by /usr/local/lib/libssh2.so, not found (try using -rpath or -rpath-link)
| |
| /usr/bin/ld: warning: libcrypto.so.8, needed by /usr/local/lib/libssh2.so, not found (try using -rpath or -rpath-link)
| |
| /usr/bin/ld: warning: libcrypto.so.8, needed by /usr/local/lib/libssh2.so, not found (try using -rpath or -rpath-link)
| |
| /usr/bin/ld: warning: libcrypto.so.8, needed by /usr/local/lib/libssh2.so, not found (try using -rpath or -rpath-link)
| |
| Shall i add cbsd user into /usr/local/etc/sudoers.d/cbsd_sudoers sudo file to obtain root privileges for the most cbsd commands?
| |
| [yes(1) or no(0)]
| |
| ^C
| |
| </pre>
| |
| : <code>sudo ln -s /usr/local/lib/libcrypto.so.38 /usr/local/lib/libcrypto.so.8</code>
| |
| | |
| | |
| : <code>sudo env workdir="/usr/jails" /usr/local/cbsd/sudoexec/initenv</code>
| |
| <pre>
| |
| -------[CBSD v.11.0.2]-------
| |
| This is install/upgrade scripts for CBSD.
| |
| Don't forget to backup.
| |
| -----------------------------
| |
| Do you want prepare or upgrade hier environment for CBSD now?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| >>> Installing or upgrading
| |
| [Stage 1: account & dir hier]
| |
| * Check hier and permission...
| |
| [Stage 2: build tools]
| |
| Shall i add cbsd user into /usr/local/etc/sudoers.d/cbsd_sudoers sudo file to obtain root privileges for the most cbsd commands?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| [Stage 3: local settings]
| |
| Shall i modify the /etc/rc.conf to sets cbsd_workdir="/usr/jails"?:
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /etc/rc.conf: cbsd_workdir: -> /usr/jails
| |
| [Stage 4: update default skel resolv.conf]
| |
| [Stage 5: freshing inventory]
| |
| nodename: Short form nodename for this host e.g. like hostname. Warning: this operation will recreate the ssh keys in /usr/jails/.ssh dir: dev.domain.tld
| |
| | |
| Empty inventory database created: /usr/jails/var/db/inv.dev.domain.tld.sqlite
| |
| nodeip: Node management IPv4 or IPv6 address (used for node interconnection), e.g: 192.168.178.125
| |
| | |
| jnameserver: Jails default DNS name-server (for jails resolv.conf), e.g.: 8.8.8.8,8.8.4.4
| |
| | |
| nodeippool: Jail pool IP address range (networks for jails)
| |
| Hint: use space as delimiter for multiple networks, e.g.: 10.0.0.0/16 192.168.178.125/24
| |
| | |
| nat_enable: Enable NAT for RFC1918 networks?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| Set IP address or NIC as the aliasing NAT address or interface, e.g: 192.168.178.125
| |
| | |
| Which NAT framework do you want to use: [pf]
| |
| (type FW name, eg pf,ipfw,ipfilter or "exit" for break)
| |
| | |
| Do you want to modify /boot/loader.conf to set pf_load=YES ?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /boot/loader.conf: pf_load: -> YES
| |
| fbsdrepo: Use official FreeBSD repository? When no (0) repository of CBSD is preferred (usefull for stable=1) for fetching base/kernel?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| zfsfeat: You are running on a ZFS-based system. Enable ZFS feature?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| parallel: Parallel mode stop/start ?
| |
| (0 - no parallel or positive value (in seconds) as timeout for next parallel sequence) e.g: 5
| |
| | |
| stable: Use STABLE branch (RELENG_10 (ver = 10) instead of RELEASE_10.x (ver = 10.x) ). Only CBSD repository have binary base for STABLE branch ?
| |
| (STABLE_X instead of RELEASE_X_Y branch for base/kernel will be used), e.g.: 0 (use release)
| |
| 11
| |
| sqlreplica: Enable sqlite3 replication to remote nodes ?
| |
| (0 - no replica, 1 - try to replicate all local events to remote nodes) e.g: 1
| |
| | |
| [Stage 6: authentication keys]
| |
| Generating public/private rsa key pair.
| |
| Your identification has been saved in /usr/jails/.ssh/3f4593ce1717ce911a89014463d6475e.id_rsa.
| |
| Your public key has been saved in /usr/jails/.ssh/3f4593ce1717ce911a89014463d6475e.id_rsa.pub.
| |
| The key fingerprint is:
| |
| SHA256:X/uebO19P2cA8xS1zRcp5br8Q+C8e2wm0M82C0e/eO0 root@dev.domain.tdl
| |
| The key's randomart image is:
| |
| +---[RSA 2048]----+
| |
| | .+o|
| |
| | .oo+|
| |
| | .++|
| |
| | o.o .|
| |
| | S =*.. |
| |
| | . o.==..|
| |
| | . o+*+o|
| |
| | =*#O|
| |
| | =&BE|
| |
| +----[SHA256]-----+
| |
| [Stage 7: modules]
| |
| Installing module pkg.d cmd: pkg
| |
| Installing module bsdconf.d cmd: tzsetup
| |
| Installing module bsdconf.d cmd: ssh
| |
| Installing module bsdconf.d cmd: ftp
| |
| Installing module bsdconf.d cmd: adduser
| |
| Installing module bsdconf.d cmd: passwd
| |
| Installing module bsdconf.d cmd: service
| |
| Installing module bsdconf.d cmd: sysrc
| |
| Installing module bsdconf.d cmd: userlist
| |
| Installing module bsdconf.d cmd: grouplist
| |
| Installing module bsdconf.d cmd: adduser-tui
| |
| Installing module bsdconf.d cmd: pw
| |
| Installing module zfsinstall.d cmd: zfsinstall
| |
| [Stage 9: cleanup]
| |
| * Remove obsolete files...
| |
| Configure RSYNC services for jail migration?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| Shall i modify the /etc/rc.conf to sets cbsdrsyncd_enable="YES"
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /etc/rc.conf: cbsdrsyncd_enable: -> YES
| |
| Do you want to modify /etc/rc.conf to set the cbsdrsyncd_flags="--config=/usr/jails/etc/rsyncd.conf" ?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /etc/rc.conf: cbsdrsyncd_flags: -> --config=/usr/jails/etc/rsyncd.conf
| |
| /usr/local/etc/rc.d/cbsdrsyncd: required_files: ->
| |
| Starting cbsdrsyncd.
| |
| Shall i modify the /etc/rc.conf to sets cbsdd_enable=YES ?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /etc/rc.conf: cbsdd_enable: -> YES
| |
| Shall i modify the /etc/rc.conf to sets rcshutdown_timeout="900"?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /etc/rc.conf: rcshutdown_timeout: 90 -> 900
| |
| Shall i modify default SSH daemon port from 22 to 22222 on this host via /etc/rc.conf and sshd_flags="-oPort=22222" which is default for cbsd?
| |
| [yes(1) or no(0)]
| |
| 1
| |
| /etc/rc.conf: sshd_flags: -> -oPort=22222
| |
| [Stage X: upgrading]
| |
| >>> Done
| |
| First CBSD initialization complete.
| |
|
| |
| Now your can run:
| |
| service cbsdd start
| |
| to run CBSD services.
| |
|
| |
| For change initenv settings in next time, use:
| |
| cbsd initenv-tui
| |
|
| |
| Also don't forget to execute:
| |
| cbsd initenv
| |
| every time when you upgrade CBSD version.
| |
| </pre>
| |
| | |
| : <code>sudo service cbsdd start</code>
| |
| <pre>
| |
| Starting cbsdd.
| |
| </pre>
| |
| | |
| == PC-BSD 10.1 ==
| |
| | |
| === System bei PC-BSD 10.1 betreuen ===
| |
| | |
| ==== Software bei PC-BSD 10.1 aktuell halten ====
| |
|
| |
|
| ; Siehe auch: | | ; Siehe auch: |
Zeile 305: |
Zeile 12: |
| unterhalb der GUI FreeBSD aktuell halten | | unterhalb der GUI FreeBSD aktuell halten |
| : <code>freebsd-update fetch && freebsd-update install</code> | | : <code>freebsd-update fetch && freebsd-update install</code> |
| | <!-- |
|
| |
|
| unterhalb der GUI PC-BSD aktuell halten | | unterhalb der GUI PC-BSD aktuell halten |
| : <code>pc-updatemanager check && pc-updatemanager install</code> | | : <code>pc-updatemanager check && pc-updatemanager install</code> |
|
| |
|
| unterhalb der GUI Pakete (<code>pkg</code>) aktuell halten | | --> |
| | unterhalb der GUI Pakete (<code>pkd</code> aktuell halten |
| : <code>pc-updatemanager pkgcheck && pc-updatemanager pkgupdate</code> | | : <code>pc-updatemanager pkgcheck && pc-updatemanager pkgupdate</code> |
|
| |
|
Zeile 346: |
Zeile 55: |
| |- | | |- |
| ! grundsätzlich Gedanken dazu | | ! grundsätzlich Gedanken dazu |
| ! potentielle Definition als Lösungsansatz | | ! potentielle Definition als Lösungsantz |
| |- | | |- |
| | colspan="2" | LAN muss verfügbar sein. | | | |
| | : LAN muss verfügbar sein. |
| | | |
| |- | | |- |
| | | | | |
| : Die Schnittstelle <code>em0</code> für LAN muss da sein. | | :: Die Schnittstelle <code>em0</code> muss da sein. |
| | | | | |
| <pre> | | <pre> |
| ifconfig_em0="UP" | | ifconfig_em0="up" |
| </pre> | | </pre> |
| |- | | |- |
| | colspan="2" | WLAN muss verfügbar sein. | | | |
| | : WLAN muss verfügbar sein. |
| | | |
| |- | | |- |
| | | | | |
| : Die Schnittstelle <code>iwn0</code> muss da sein. | | :: Die Schnittstelle <code>iwn0</code> muss da sein. |
| |
| |
| <pre>
| |
| ifconfig_iwn0="UP"
| |
| </pre>
| |
| | | | | |
| |- | | |- |
| | | | | |
| : Die Schnittstelle <code>iwn0</code> soll (als frei wählbare Bezeichnung) <code>wlan0</code> als Schnittstelle für WLAN verwendet werden. | | :: Die Schnittstelle <code>iwn0</code> soll (als frei wählbare Bezeichnung) <code>wlan0</code> als Schnittstelle für WLAN verwendet werden. |
| | | | | |
| <pre> | | <pre> |
Zeile 375: |
Zeile 84: |
| |- | | |- |
| | | | | |
| : Die Schnittstelle für WLAN <code>wlan0</code> soll wpa_supplicant verwenden. | | :: Die Schnittstelle für WLAN <code>wlan0</code> soll wpa_supplicant verwenden. |
| | | | | |
| <pre> | | <pre> |
| ifconfig_wlan0="WPA" | | ifconfig_wlan0="WPA" |
| </pre> | | </pre> |
| |-
| |
| | colspan="2" | Es müssen LAN und WLAN verknüpft, und die Verknüpfung geregelt sein.
| |
| |- | | |- |
| | | | | |
Zeile 391: |
Zeile 98: |
| |- | | |- |
| | | | | |
| : Die MAC-Adressen (<code>ifconfig ''interface'' ether | grep ether</code>) dürfen sich nicht unterscheiden. Um ihnen den gleichen Wert zuzuweisen, muss die MAC-Adresse der maßgeblichen Schnittstelle allen anderen zugeordneten Schnittstellen zugewiesen werden. | | :: Die MAC-Adressen (<code>ifconfig ''interface'' ether | grep ether</code>) dürfen sich nicht unterscheiden. Um ihnen den gleichen Wert zuzuweisen, muss die MAC-Adresse der maßgeblichen Schnittstelle allen anderen zugeordneten Schnittstellen zugewiesen werden. |
| | | | | |
| <pre> | | <pre> |
Zeile 398: |
Zeile 105: |
| |- | | |- |
| | | | | |
| : Es muss für die künstliche Schnittstelle definiert werden, welche der bestehenden Schnittstellen die Bevorzugte und welche die Nachgelagerte (zum Ausweichen) ist. | | :: Es muss definiert werden welche die primäre Schnittstelle ist und welche Schnittstelle zum Ausweichen für die künstliche Schnittstelle dienen soll. |
| : Die künstliche Schnittstelle soll (als ''synchronous_dhclient'') DHCP lease beziehen. | | :: Die künstliche Schnittstelle soll (als ''synchronous_dhclient'') DHCP lease beziehen. |
| | | | | |
| <pre> | | <pre> |
Zeile 416: |
Zeile 123: |
|
| |
|
| ### ### #### LAN | | ### ### #### LAN |
| ifconfig_em0="UP" | | ifconfig_em0="up" |
| ifconfig_em0_ipv6="inet6 accept_rtadv" | | ifconfig_em0_ipv6="inet6 accept_rtadv" |
|
| |
|
| ### ### #### WLAN | | ### ### #### WLAN |
| ifconfig_iwn0="UP" | | ifconfig_iwn0="`ifconfig em0 ether`" |
| | ifconfig_iwn0="ether ${ifconfig_iwn0##*ether }" |
| | ifconfig_iwn0="up" |
| wlans_iwn0="wlan0" | | wlans_iwn0="wlan0" |
| | ifconfig_wlan0="WPA" |
| ifconfig_wlan0_ipv6="inet6 accept_rtadv" | | ifconfig_wlan0_ipv6="inet6 accept_rtadv" |
| ifconfig_wlan0="WPA"
| |
|
| |
|
| ### ### #### failover | | ### ### #### failover |
| cloned_interfaces="lagg0" | | cloned_interfaces="lagg0" |
| ifconfig_iwn0="ether `ifconfig em0 ether | grep ether | awk '{print $2}'`"
| | ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 DHCP" |
| ifconfig_lagg0="laggproto failover laggport em0 laggport wlan0 SYNCDHCP" | |
| #ifconfig_lagg0_ipv6="inet6 accept_rtadv" | | #ifconfig_lagg0_ipv6="inet6 accept_rtadv" |
| </pre> | | </pre> |
Zeile 502: |
Zeile 210: |
| defaultHeight=800 | | defaultHeight=800 |
| </pre> | | </pre> |
|
| |
| ==== eigenes Theme im eigenen Verzeichnis <code>~</code> erstellen ====
| |
| <!--
| |
| : <code></code>
| |
| -->
| |
|
| |
| : <code>mkdir ~/customizing</code>
| |
|
| |
| : <code>mkdir -p ~/customizing/usr/local/share/apps/desktoptheme/`whoami`</code>
| |
| : <code>cp -r /usr/local/share/apps/desktoptheme/oxygen/ ~/customizing/usr/local/share/apps/desktoptheme/`whoami`</code>
| |
| : <code>cd ~/customizing/usr/local/share/apps/desktoptheme/`whoami`</code>
| |
| :* Die Inhalte für desktoptheme entsprechend anpassen (siehe oben).
| |
|
| |
| : <code>mkdir -p ~/customizing/usr/local/share/wallpapers/`whoami`</code>
| |
| : <code>cp -r /usr/local/share/wallpapers/Elarun/ ~/customizing/usr/local/share/wallpapers/`whoami`</code>
| |
| : <code>cd ~/customizing/usr/local/share/wallpapers/`whoami`</code>
| |
| :* Die Inhalte für wallpapers entsprechend anpassen (siehe oben).
| |
|
| |
| : <code>sudo ln -s ~/customizing/usr/local/share/wallpapers/`whoami` /usr/local/share/wallpapers/`whoami`</code>
| |
| : <code>sudo ln -s ~/customizing/usr/local/share/apps/desktoptheme/`whoami` /usr/local/share/apps/desktoptheme/`whoami`</code>
| |
|
| |
|
| === Lyx === | | === Lyx === |
Zeile 530: |
Zeile 218: |
|
| |
|
| == pbi == | | == pbi == |
|
| |
| ; PC-BSD:
| |
| * pcbsd-base
| |
| * pcbsd-i18n
| |
|
| |
|
| ; muss | | ; muss |
| * firefox | | * firefox |
| ** firefox-i18n
| |
| * thunderbird | | * thunderbird |
| ** thunderbird-i18n
| |
| * pidgin | | * pidgin |
| ** pidgin-otr | | * openoffice | libreoffice |
| * libreoffice | openoffice
| |
|
| |
|
| ; soll | | ; soll |
| * kde
| |
| ** gtk-qt-engine
| |
| **: siehe ''systemsetting''
| |
| ** (gtk-oxygen-engine)
| |
| ** (gtk3-oxygen-engine)
| |
| ** en-hunspell
| |
| ** de-hunspell
| |
| ** pcbsd-meta-kde
| |
| * zsh | | * zsh |
| * texlive-base
| |
| * lyx | | * lyx |
| * chromium
| |
| * vlc | | * vlc |
| * tox
| |
| ** utox
| |
| * gimp | | * gimp |
| | * pavucontrol |
| | * semantik |
|
| |
|
| ; kann | | ; kann |
| * dia | | * dia |
| * fish | | * fish |
| * (git) | | * git |
| * hs-pandoc | | * gobby |
| * kile | | * kile |
| * kports | | * kports |
| * (paprefs)
| |
| * (pavucontrol)
| |
| * padevchooser | | * padevchooser |
| * pavumeter | | * pavumeter |
| * qgit | | * qgit |
| * semantik
| |
| * tmux
| |
|
| |
|
| ; darf | | ; darf |
| * pxpkg | | * pxpkg |
| * emacs | | * emacs |
| * (gcc) | | * gcc |
| * gobby
| |
| * IcedTea-Web
| |
| ** OpenJDK
| |
| * inkscape | | * inkscape |
| * mutt | | * mutt |
| * wine | swine | | * wine | swine |
| * texlive-full
| |
|
| |
|
| == foo == | | == foo == |
Zeile 611: |
Zeile 274: |
| ### | | ### |
| </pre> | | </pre> |
|
| |
| == life-preserver ==
| |
|
| |
| === manuell viele Snapshots löschen ===
| |
| Dank life-preserver können (einfach automatisierte) Snapshots gemacht werden. Das Entfernen ist jedoch nur für jeden einzelnen Snapshot möglich. Jedoch kann es sein, dass eine Vielzahl von automatisch erstellen Snapshots entfernt werden sollen, etwa wenn Platz auf dem Massenspeicher gebraucht wird.
| |
|
| |
| (optionales) Auflisten lassen von allen bestehenden Snapshots
| |
| : <code>zfs list -t snapshot</code>
| |
|
| |
| Entfernen (Zerstören) von allen Snapshots vom letzten Kalendermonat (''-1m'')
| |
| : <code>zfs list -H -t snapshot | grep `date -v-1m "+%Y-%m-"` | awk '{print $1}' | xargs -L 1 zfs destroy</code>
| |
| : alternativ das Entfernen (Zerstören) von allen Snapshots mit der Bezeichnung ''auto'' (was auch alle Snapshots beinhaltet, die von life-preserver automatisch erstellte)
| |
| :: <code>zfs list -H -t snapshot | grep auto | awk '{print $1}' | xargs -L 1 zfs destroy</code>
| |
|
| |
| (optionales) Anzeigen lassen von freien Speicherplatz
| |
| : <code>df -h</code>
| |
|
| |
| == update 10.1-RELEASE-p17 ==
| |
|
| |
| Exemplarische Dokumentation der Vorgänge bei ZFS beim update (Erstellung von einem neuen boot environment)
| |
|
| |
| : <code>sudo zpool history</code>
| |
| <pre>
| |
| 2015-03-03.02:57:10 zfs destroy -r pesttank/ROOT/10.1-RELEASE-p16-up-20150210_112650
| |
| 2015-03-03.02:57:15 zfs destroy pesttank/ROOT/10.1-RELEASE-p17-up-20150226_185320@2015-02-17-18:38:27
| |
| 2015-03-03.02:57:37 zfs snapshot -r pesttank/ROOT/10.1-RELEASE-p17-up-20150226_185320@2015-03-03-02:57:36
| |
| 2015-03-03.02:57:42 zfs clone -o canmount=off -o atime=off -o compression=lz4 -o mountpoint=/ pesttank/ROOT/10.1-RELEASE-p17-up-20150226_185320@2015-03-03-02:57:36 pesttank/ROOT/pcupdatestage
| |
| 2015-03-03.04:04:11 zfs rename pesttank/ROOT/pcupdatestage pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409
| |
| 2015-03-03.04:04:11 zfs set canmount=noauto pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409
| |
| 2015-03-03.04:04:11 zfs set mountpoint=/tmp/BE-10.1-RELEASE-p17-up-20150303_040409.0TBIfyvs pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409
| |
| 2015-03-03.04:04:12 zfs set mountpoint=/ pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409
| |
| 2015-03-03.04:04:12 zpool set bootfs=pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409 pesttank
| |
| 2015-03-03.04:04:13 zfs set canmount=noauto pesttank/ROOT/10.1-RELEASE-p16-up-20150217_184017
| |
| 2015-03-03.04:04:13 zfs set canmount=noauto pesttank/ROOT/10.1-RELEASE-p16-up-20150222_062701
| |
| 2015-03-03.04:04:13 zfs set canmount=noauto pesttank/ROOT/10.1-RELEASE-p17-up-20150226_185320
| |
| 2015-03-03.04:04:14 zfs set canmount=noauto pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409
| |
| 2015-03-03.04:04:16 zfs promote pesttank/ROOT/10.1-RELEASE-p17-up-20150303_040409
| |
| </pre>
| |
|
| |
| == Thunderbird ==
| |
|
| |
| === Verwendung passender Zeichensätze bei Thunderbird ===
| |
|
| |
| ; about:config
| |
| {|
| |
| |
| |
| mailnews.view_default_charset
| |
| |
| |
| ISO-8859-1
| |
| |-
| |
| |
| |
| mailnews.send_default_charset
| |
| |
| |
| UTF-8
| |
| |-
| |
| |
| |
| intl.charsetmenu.mailview.cache
| |
| |
| |
| UTF-8, ISO-8859-1, ISO-8859-15, windows-1252
| |
| |-
| |
| |}
| |
|
| |
| === Format der Anzeige des Datums bei Thunderbird ===
| |
|
| |
| eigentlich:
| |
| * [http://kb.mozillazine.org/Date_display_format#Configuring_the_date.2Ftime_system_settings_on_your_computer Date display format: Configuring the date/time system settings on your computer]
| |
|
| |
| "uneigentlich" (praktisch geht das auch über ein Addon)
| |
| * [https://addons.mozilla.org/en-US/thunderbird/addon/super-date-format/ Addon ''Super Date Format'']
| |
|
| |
| == [[wikipedia:de:zsh | zsh]] ==
| |
|
| |
| ; auf [http://www.zsh.org zsh], statt csh, für einen einzelnen Account umstellen
| |
|
| |
| :* per Klicki-Bunti
| |
| : oder
| |
| :* [https://www.freebsd.org/doc/handbook/shells.html#changing-shells klassisch] per Kommando
| |
| :*: <code>chsh -s /usr/local/bin/zsh</code>
| |
|
| |
| zum Kontrollieren eine Ausgabe erwarten
| |
| : <code>cat /etc/passwd | grep `whoami` | echo $SHELL | grep zsh</code>
| |
|
| |
| ; [http://ohmyz.sh/ oh-my-zsh] "installieren"
| |
|
| |
| oh-my-zsh als Skript von [[Github]] [http://ohmyz.sh/#curl-tab installieren] (lassen)
| |
| : <code>sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"</code>
| |
| : oder alternativ im Stil von [[FreeBSD]] (ohne ''curl'' oder ''wget'', sondern mit ''fetch'')
| |
| :: <code>cd /tmp ; fetch https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh ; sh -c "`cat /tmp/install.sh`" ; rm install.sh ; cd -</code>
| |
|
| |
| == allgemeine Einstellungen ==
| |
|
| |
| === grundsätzliche Einstellungen für das System ===
| |
|
| |
| : <code>cat ~/.profile</code>
| |
|
| |
| == mirroring ==
| |
|
| |
| [[Benutzer Diskussion:PaulRiegel/TrueOS#mirroring]]
| |
|
| |
| == SWAP ==
| |
|
| |
| wir nehmen an, dass das Gerät (für Massenspeicher) ''/dev/ada0'' ist
| |
|
| |
| : wir versuchen es gleich einmal richtig (mit dem labeling) zu machen, um probleme - welches gerät erhält welche forlaufende nummer - zu vermeiden.
| |
|
| |
| : <code>gpart show</code>
| |
| <s>
| |
| : <code>gpart destroy /dev/ada0</code>
| |
| : <code>gpart create -s MBR /dev/ada0</code>
| |
| : <code>gpart create -s GPT /dev/ada0</code>
| |
| : <code>gpart add -t freebsd-swap -l swap /dev/ada0</code>
| |
| : <code>gpart add -t freebsd-swap /dev/ada0</code>
| |
| </s>
| |
|
| |
| : <code>glabel status</code>
| |
| <pre>
| |
| </pre>
| |
|
| |
| <s>
| |
| : <code>newfs -L swap /dev/ada0</code>
| |
| </s>
| |
| <s>
| |
| : <code>tunefs -L swap /dev/ada0</code>
| |
| </s>
| |
| : <code>glabel label swap /dev/ada0</code>
| |
|
| |
| : <code>swapon /dev/label/swap</code>
| |
|
| |
| : <code>$EDITOR /etc/fstab</code>
| |
| <pre>
| |
| procfs /proc procfs rw 0 0
| |
| linprocfs /compat/linux/proc linprocfs rw 0 0
| |
| /dev/label/efibsd /boot/efi msdosfs rw 0 0
| |
| </pre>
| |
| <pre>
| |
| /dev/label/swap none swap sw 0 0
| |
| </pre>
| |
|
| |
| : <code>glabel status</code>
| |
| <pre>
| |
| </pre>
| |
|
| |
| : <code>glabel list</code>
| |
| <pre>
| |
| </pre>
| |
|
| |
| <s>
| |
| : <code>glabel destroy swap</code>
| |
| </s>
| |