new-install

Notes on OS intalls
git clone https://git.bracken.jp/new-install.git
Log | Files | Refs | LICENSE

commit b76f54403d8d29669a3ebe6f654251cba6c03572
parent 32c50bddae608e2b240c026eddd23d54ace6f38f
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 23 Nov 2022 11:36:25 -0800

OpenBSD: update instructions for OpenBSD 7.2

sshd: The ChallengeResponseAuthentication option has been renamed to
KbdInteractiveAuthentication.

x11: Ensure xautolock is installed to enable timed automatic locking of
the screen. Add instructions for enabling xenodm login manager.

general: add various useful utility, development, font, and browser
packages to the install list.

apmd: add instructions for enabling power management.

Diffstat:
Mopenbsd_install.md | 47++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 40 insertions(+), 7 deletions(-)

diff --git a/openbsd_install.md b/openbsd_install.md @@ -1,7 +1,7 @@ OpenBSD Install =============== -Last updated for OpenBSD 6.7. +Last updated for OpenBSD 7.2. Initial install --------------- @@ -45,7 +45,7 @@ Create `/etc/doas.conf` with the following contents: Edit `/etc/ssh/sshd_config` and set: PasswordAuthentication no - ChallengeResponseAuthentication no + KbdInteractiveAuthentication no Restart sshd: @@ -105,22 +105,55 @@ Install zsh: doas pkg_add zsh -Install git: +Install git and tig: - doas pkg_add git + doas pkg_add git tig Install vim. The following command will prompt you for which variant to install (I prefer `vim-no_x11-python3`): doas pkg_add vim +Install basic utilities: + + doas pkg_add unzip + doas pkg_add gnupg + +Install browsers: + + doas pkg_add lynx + doas pkg_add firefox-esr ffmpeg + doas pkg_add amfora + +Install fonts: + + doas pkg_add noto-fonts noto-cjk noto-emoji + +Install development toolchain extras: + + doas pkg_add llvm + doas pkg_add clang-tools-extra + + +Enable power management +----------------------- + +In `/etc/rc.conf`, set: + + apmd_flags="-A" + + Configure X11 ------------- -Install i3, dmenu, urxvt: +Install i3, dmenu, urxvt and/or alacritty: doas pkg_add i3 - doas pkg_add i3lock + doas pkg_add i3lock xautolock doas pkg_add i3status doas pkg_add dmenu - doas pkg_add rxvt-unicode + doas pkg_add rxvt-unicode alacritty + +Enable the xenodm login manager in `/etc/rc.conf`: + + xenodm_flags=YES