Benutzer:PaulRiegel/OpenBSD: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
=== USB-Stick als Startmedium erstellen ===
; Firefox installieren
: <code>pkg_add firefox</code>
: gemäß Empfelung am Ende der Installation
:: <code>ln -sf /usr/local/bin/python2.7 /usr/local/bin/python</code>
:: <code>ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3</code>
:: <code>ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config</code>
:: <code>ln -sf /usr/local/bin/pydoc2.7  /usr/local/bin/pydoc</code>


Ich kann mich nicht mehr erinnern, welche der beiden () Varianten funktionierte.
; GNOME 3 installieren
<sup>[http://undeadly.org/cgi?action=article&sid=20140219085851]</sup>
: <code>pkg_add gnome</code>
: <code>echo 'multicast_host=YES' >>/etc/rc.conf.local</code>
: <code>echo 'pkg_scripts="${pkg_scripts} dbus_daemon avahi_daemon gdm"' >>/etc/rc.conf.local</code>
: <code>pkg_add toad</code>


==== USB-Stick als Startmedium erstellen Variante 1 ====
; Weiteres "Übliches" installieren
<pre>
: <code>pkg_add wget</code>
#!/usr/local/bin/bash
: <code>pkg_add zsh</code>
#
## Calomel.org -- Making a bootable OpenBSD CD
## calomel_make_boot_cd.sh
### vater -- create a bootable USB device
#
arch="amd64"      # my architecture
version="5"      # released version
subversion="4"      # released subversion
#
echo "building the environment"
mkdir -p /tmp/OpenBSD/$version.$subversion/$arch
cd /tmp/OpenBSD/$version.$subversion/$arch
#
echo "getting the release files"
### vb
#wget --passive-ftp --reject "*iso" ftp://ftp.spline.de/pub/OpenBSD/$version.$subversion/$arch/*
#wget --passive-ftp --reject ftp://ftp.spline.de/pub/OpenBSD/$version.$subversion/$arch/install$version$subversion.iso
wget --passive-ftp --reject "*iso" ftp://ftp.spline.de/pub/OpenBSD/$version.$subversion/$arch/*
### ve
#
### vb
#echo "building the ISO"
cd /tmp/OpenBSD
#mkisofs -r -no-emul-boot -b $version.$subversion/$arch/cdbr -c boot.catalog -o OpenBSD.iso /tmp/OpenBSD/
mkisofs -r -no-emul-boot -b $version.$subversion/$arch/cdbr -c boot.catalog -o OpenBSD.img /tmp/OpenBSD/
### ve
#
### vb
#echo "burning the bootable cd"
#nice -18 cdrecord -eject -v speed=32 dev=/dev/rcd0c:0,0,0 -data -pad /tmp/OpenBSD/OpenBSD.iso
echo "creating the bootable usb"
dd if=/tmp/OpenBSD/OpenBSD.img of=/dev/sdf bs=256k
### ve
#
echo "DONE."
#
</pre>


==== USB-Stick als Startmedium erstellen Variante 2 ====
; Weiteren Account erstellen
[http://wiki.stura.htw-dresden.de/index.php?title=OpenBSD&oldid=27309#USB-Stick_als_Startmedium_erstellen OpenBSD#USB-Stick als Startmedium erstellen]
: <code>adduser</code>
 
; Dauerhaftes Einrichten
<sup>[http://www.openbsd.org/faq/faq15.html#Easy]</sup>
: <code><nowiki>export PKG_PATH=ftp://ftp.spline.de/pub/`uname -s`/`uname -r`/packages/`uname -m`/</nowiki></code>


[[Kategorie:OpenBSD]]
[[Kategorie:OpenBSD]]

Version vom 22. Mai 2014, 12:15 Uhr

Firefox installieren
pkg_add firefox
gemäß Empfelung am Ende der Installation
ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc
GNOME 3 installieren

[1]

pkg_add gnome
echo 'multicast_host=YES' >>/etc/rc.conf.local
echo 'pkg_scripts="${pkg_scripts} dbus_daemon avahi_daemon gdm"' >>/etc/rc.conf.local
pkg_add toad
Weiteres "Übliches" installieren
pkg_add wget
pkg_add zsh
Weiteren Account erstellen
adduser
Dauerhaftes Einrichten

[2]

export PKG_PATH=ftp://ftp.spline.de/pub/`uname -s`/`uname -r`/packages/`uname -m`/