blob: eb6ec78bd264364616e8dd2a6a5e716111b3560a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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>
|