Lines Matching +full:readme +full:. +full:booter

0 .\"	$NetBSD: postinstall,v 1.90 2022/06/03 14:02:48 andvar Exp $
2 .\"
3 .\" Copyright (c) 1999-2020 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\"
15 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
16 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
18 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
19 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 .\" POSSIBILITY OF SUCH DAMAGE.
26 .\"
29 configured state.
30 The most important steps are described below.
31 .(enum
33 .Xr postinstall 8 .
34 .It
36 .Pa /etc/rc.conf
37 .Pp
39 .Pa /etc/rc.conf
40 .Ic ( sysinst
44 .Pp
45 .Dl /etc/rc.conf is not configured. Multiuser boot aborted.
46 .Pp
48 .Pq Pa /
49 mounted read-only.
51 .Key RETURN
53 .Pa /bin/sh
54 prompt.
56 .
57 .ds termtype vt220
58 .
59 .ie \n[hp300] \{\
60 .ds termtype hp300h
61 .Ic \*[termtype]
62 for a local console, or whatever is appropriate for your serial console.
63 .\}
64 .el \{\
65 .ie \n[macppc] \{\
66 .ds termtype vt100
67 .Ic \*[termtype]
69 .\}
70 .el \{\
71 .ie \n[pmax] \{\
72 .ds termtype termtype
74 .Sx Once you've booted the diskimage
75 section.
76 .\}
77 .el \{\
78 .ie \n[sparc]:\n[sparc64] \{\
79 .ds termtype sun
80 .Ic \*[termtype]
83 .Ic \*[termtype]
85 .Ic sun-ss5 )
86 .ds termtype sun
87 .\}
88 .el \{\
89 .Ic \*[termtype]
91 .\}
92 .\}
93 .\}
94 .\}
96 .Key RETURN .
99 .Dl # Ic "stty erase '^h'"
100 .Dl # Ic "stty erase '^?'"
103 .Pa /etc
104 directory.
106 .Dl # Ic "/sbin/mount -u -w /"
108 .Pa /etc
110 .Pa /etc/rc.conf
111 file.
113 .Li rc_configured=YES
115 proceed.
117 .Pa /etc/defaults/rc.conf ,
118 where some in-line documentation may be found.
120 .Xr rc.conf 5 .
121 .Pp
123 .Pa /etc/rc.conf ,
125 .Ic exit
127 leave the single-user shell and continue with the multi-user boot.
128 .Pp
130 .Pa /etc/rc.conf
132 .Ar hostname
134 .Ar defaultroute .
136 .Ar ifconfig_int
138 .Aq int
140 .ie \n[mac68k] \{\
142 .Li ae0 ,
143 .Li mc0
145 .Li sn0 .
147 .\}
148 .el \{\
149 .ie \n[macppc] \{\
151 .Li mc0 ,
152 .Li bm0 ,
153 .Li tlp0
155 .Li gem0 .
157 .\}
158 .el along the lines of
159 .\}
160 .Pp
161 .
162 .ds IFname le0
163 .if \n[acorn32] .ds IFname ei0
164 .if \n[amd64] .ds IFname wm0
165 .if \n[arc] .ds IFname sn0
166 .if \n[cats] .ds IFname tlp0
167 .if \n[evbarm] .ds IFname awge0
168 .if \n[hppa] .ds IFname ie0
169 .if \n[hpcmips] .ds IFname ne0
170 .if \n[hpcsh] .ds IFname ne0
171 .if \n[i386] .ds IFname wm0
172 .if \n[landisk] .ds IFname re0
173 .if \n[mac68k] .ds IFname sn0
174 .if \n[macppc] .ds IFname mc0
175 .if \n[next68k] .ds IFname xe0
176 .if \n[prep] .ds IFname pcn0
177 .if \n[sandpoint] .ds IFname tlp0
178 .if \n[sgimips] .ds IFname sq0
179 .if \n[shark] .ds IFname cs0
180 .if \n[sparc64] .ds IFname hme0
181 .if \n[x68k] .ds IFname ne0
182 .
183 .Dl ifconfig_\*[IFname]="inet 192.0.2.123 netmask 255.255.255.0"
184 .Pp
186 .Ar myname.my.dom
188 .Pa /etc/hosts :
189 .Pp
190 .Dl ifconfig_\*[IFname]="inet myname.my.dom netmask 255.255.255.0"
191 .Pp
193 .Pa /etc/resolv.conf
195 .Xr named 8 .
197 .Xr resolv.conf 5
199 .Xr named 8
200 for more information.
201 .Pp
204 .Li dhcpcd=YES
206 .Pa /etc/rc.conf .
207 .if \n[shark] \{\
208 .It
210 .Pp
212 .Pa /etc/ttys
213 file and change the console terminal type from vt100 to pc3.
214 .\}
215 .if \n[atari] \{\
216 .It
218 .Pp
220 .Pa /etc/ttys
221 file.
223 .Pa ttyEx
224 devices.
226 .Pa ttyex
227 devices.
228 This is easy, just change 'on' to 'off' on the corresponding lines.
229 .\}
230 .if \n[cats] \{\
231 .Pp
233 .Xr savecore 8
234 facility to work with the a.out and elf kernel images supplied with
236 .Li savecore_flags="-z -N /netbsd"
237 .\}
238 .if \n[sparc]:\n[sparc64] \{\
239 .It
241 .Pp
243 .Pa /etc/ttys
245 .if \n[sparc] sun
246 .if \n[sparc64] sun-ss5
247 to the appropriate terminal type, such as vt220.
248 .\}
249 .It
251 .Pp
253 .Li root
254 at the login prompt.
256 .Ic sysinst ,
258 is no initial password.
260 .Dq root
261 account with good passwords.
263 .Xr ssh 1 ) .
266 .Dq wheel
268 .Xr group 5 )
270 .Xr su 1
271 to become root.
272 .It
274 .Pp
276 .Xr useradd 8
277 command to add accounts to your system.
280 .Pa /etc/passwd
282 .Xr vipw 8
284 .Xr pwd_mkdb 8
285 if you want to edit the password database.
286 .if !\n[sun2] \{\
287 .It
289 .Pp
292 .Lk https://www.NetBSD.org/docs/guide/en/chap-x.html "NetBSD Guide" :
293 .if \n[hp300] \{\
295 .Nx*M
296 .Lk https://www.NetBSD.org/ports/hp300/faq.html#x11 "FAQ entry on X11" .
297 .\}
298 .if \n[mac68k] \{\
299 .(tag [Color_X]
300 .It [Color_X]
302 or millions of colors.
303 The \*M port does not support resolution switching at this time.
305 installed at this point and the Booter options can be
306 modified to match the resolution depth.
307 .tag)
308 .\}
309 .\}
310 .It
312 .Pp
314 .Ul
316 .Nx
317 package system, pkgsrc.
320 .Nx .
322 packages the software may depend upon.
323 .Pp
324 .(bullet
326 .Lk https://www.NetBSD.org/docs/software/packages.html
327 .It
329 .Lk https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc/README.html
330 .It
332 .Lk https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/
334 .Pa \*M/\*V/All
335 subdir.
337 .Xr pkgin 1
339 .Ic sysinst
341 binary packages over the network.
343 .Pa /usr/pkg/etc/pkgin/repositories.conf
345 .Pp
346 .Bd -unfilled
347 .Ic # pkgin install tcsh bash perl apache xfce4 firefox
348 \&...
349 .Ed
350 .Pp
354 as well as all the packages they depend on.
355 .Pp
357 .Xr pkgin 1
359 .Nx
361 .Xr pkg_add 1 :
362 .Pp
363 .Bd -unfilled
364 .Ic export PKG_PATH=https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r | cut -d_ -f1)/All
365 .Ic pkg_add pkgin
366 .Ed
367 .It
369 .Xr pkgsrc 7
371 .Xr sysinst 8
374 .Lk https://cdn.NetBSD.org/pub/pkgsrc/stable/pkgsrc.tar.gz .
376 .Pa /usr/pkgsrc
378 .Pp
379 .Dl # Ic "cd /usr"
380 .Dl # Ic "tar -zxpf pkgsrc.tar.gz"
381 .Pp
383 .Pa doc/pkgsrc.txt
384 file in the extraction directory (e.g.,
385 .Pa /usr/pkgsrc/doc/pkgsrc.txt )
386 for more information.
387 .bullet)
388 .It
390 .(bullet
392 .Pa /etc/mail/aliases
393 to forward root mail to the right place.
395 .Xr newaliases 1
396 afterwards.
397 .It
399 .Pa /etc/rc.local
400 to run any local daemons you use.
401 .It
403 .Pa /etc
405 .Pp
406 .Dl # Ic man 5 Ar filename
407 .Pp
408 is likely to give you more information on these files.
409 .bullet)
410 .enum)