darwin (or whatever) INSTALL

Pro tip: Since OpenBSD doesn't have a browser in the base install, read this on your phone.

  1. Install OS

    This will naturally include setting up the host name and domain, and the fixed IP address for the local network (192.168.1.100). Also the gateway, which is currently 192.168.1.254.

  2. Login as root, verify $PWD eq /home/steve

  3. echo "permit nopass steve as root" >/etc/doas.conf

  4. Log out root; re-log as steve

  5. echo "export PKG_PATH=https://cdn.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/">>.profile/ (This lets you work in multiple pttys if desired without losing PKG_PATH)

    NOTE that as far as I can tell from experimenting and reading the pkg_info man page, the contents of /etc/installurl are available to pkg_add but not pkg_info. I don't know why this is so, but it means PKG_PATH is definitely not obsolete.

  6. . .profile && echo $PKG_PATH (verify correct)

  7. pkg_add curl ccrypt

  8. Create ~/.ccrypt

  9. curl -O http:/boldozai.com/HOSTNAME/pkg_info-m.cpt

  10. ccrypt -d -k .ccrypt pkg_info-m.cpt

  11. Consider editing pkg_info-m. A good example of something that might be better deleted is firmware packages. (Remember that the vi you'll be using is the system vi, so it uses default command keys.)

  12. doas pkg_add -l pkg_info-m -z >pkg_add.log

    Then, go through pkg_add.log, create any required symlinks, and take any other actions required. A quick way to do this is to do

       cp pkg_add.log commands.txt && vi commands.txt

    Then edit commands.txt so it contains only the required commands (note that this may require the addition of commands that don't show up in pkg_add.log--thor is a known offender). Then do

       doas sh commands.txt

  13. curl -O http://boldozai.com/HOSTNAME/nightly.tar.gz.cpt (OR manual.tar.gz.cpt)

  14. ccrypt -d -k .ccrypt nightly.tar.gz.cpt (OR manual.tar.gz.cpt)

  15. gtar zpxf nightly.tar.gz (OR manual.tar.gz.cpt) (NOTE: p added to preserve permissions)

  16. chsh -s /usr/local/bin/zsh steve

  17. AT THIS POINT, it should be possible to do key-based ssh to the server, so log out of the local console and remote in as user 'steve'

  18. ~/sysconf/restore_critfiles

  19. It appears that a fresh OpenBSD install sets /etc/fstab to mount /usr/local as wxallowed. Consider editing this out of /etc/fstab.

  20. Work through ~/sysconf/README

  21. Run syspatch