about summary refs log tree commit diff stats
path: root/openbsd/install.html
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd/install.html')
-rw-r--r--openbsd/install.html124
1 files changed, 124 insertions, 0 deletions
diff --git a/openbsd/install.html b/openbsd/install.html
new file mode 100644
index 0000000..eb6ec78
--- /dev/null
+++ b/openbsd/install.html
@@ -0,0 +1,124 @@
+<!DOCTYPE html>
+<html dir="ltr" lang="en">
+    <head>
+        <meta charset='utf-8'>
+        <title>1.1. Install OpenBSD notes</title>
+    </head>
+    <body>
+
+        <a href="index.html">OpenBSD Index</a>
+
+        <h1>1.1. Install OpenBSD notes</h1>
+
+
+        <p>OpenBSD bsd.rd is ram file system meant for installation or recovery procedures;</p>
+
+        <pre>
+        # mount -o loop /srv/qemu/iso/install68.iso /media/
+        # cp /media/6.8/amd64/bsd.rd /boot
+        </pre>
+
+        <p>Reboot machine and press c on grub menu, and set partition root, kernel location and boot, example;</p>
+
+        <pre>
+        grub> set root=(hd0,gpt3)
+        grub> kopenbsd /bsd.rd
+        grub> boot
+        </pre>
+
+        <p>Press enter and follow the instructions, OpenBSD installation is known to be one of the most easy of all operating systems. Read OpenBSD documentation.</p>
+
+        <p>Don't enable xenodm, enable after install and post install procedures.</p>
+
+        <p>Don't skip network configuration, it will need to fetch updates and synchronize clock.</p>
+
+        <p>Don't skip user creation, will be default administrator</p>
+
+        <p>When formatting the disk select auto and then resize of auto created partitions that shrink the last one (home). After install it will run syspatch and fw_update. </p>
+
+        <h2>Post-Install</h2>
+
+        <p>After install reboot, by default it will run syspatch and fw_updateo to check and install updates.</p>
+
+        <p>Install your favorite tools, example of a minimal setup;</p>
+
+        <pre>
+        # pkg_add vim git lynx irssi
+        # pkg_add xsel spectrwm
+        </pre>
+
+        <p>User created during install is part of wheel group by default, copy /etc/example/doas.conf to /etc/ to enable doas command;</p>
+
+        <pre>
+        # cp /etc/examples/doas.conf /etc/
+        </pre>
+
+        <p>Copy skeleton files;</p>
+
+        <pre>
+        # cp -r ~/doc/openbsd/conf/skel /etc/skel
+        </pre>
+
+        <p>Add regular user not part of wheel group</p>
+
+        <pre>
+        # useradd -m user_name
+        </pre>
+
+        <h3>X</h3>
+
+        <pre>
+        ~/.Xresources
+        XTerm*faceName:DeJavuMono
+        XTerm*faceSize:11
+        XTerm*allowBoldFonts:false
+        XTerm*scrollBar:false
+        XTerm*loginShell:true
+        XTerm*eightBitInput:false
+        XTerm*internalBorder:2
+        XTerm*foreground:white
+        XTerm*background:black
+        XTerm*color0:#2e3436
+        XTerm*color8:#888A85
+        XTerm*color1:#cc0000
+        XTerm*color9:#ef2929
+        XTerm*color2:#4e9a06
+        XTerm*color10:#8ae234
+        XTerm*color3:#edd400
+        XTerm*color11:#fce94f
+        XTerm*color4:#3465a4
+        XTerm*color12:#729fcf
+        XTerm*color5:#92659a
+        XTerm*color13:#c19fbe
+        XTerm*color6:#07c7ca
+        XTerm*color14:#63e9e9
+        XTerm*color7:#d3d7cf
+        XTerm*color15:#eeeeee
+        </pre>
+
+        <pre>
+        ~/.xsession
+        export ENV=$HOME/.kshrc
+        xrdb -merge "$HOME/.Xresources"
+        spectrwm
+        </pre>
+
+        <h3>Mouse tap</h3>
+
+        <pre>
+        libernaut# wsconsctl mouse.tp.tapping=1
+        mouse.tp.tapping -> 1
+        libernaut# cat /etc/wsconsctl.conf
+        mouse.tp.tapping=1
+        libernaut#
+        </pre>
+
+        <a href="index.html">OpenBSD Index</a>
+        <p>This is part of the LeetIO System Documentation.
+        Copyright (C) 2021
+        LeetIO Team.
+        See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a>
+        for copying conditions.</p>
+
+    </body>
+</html>