From 642d60cb023b2727b3e0e405180da387152a7512 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Wed, 20 Aug 2025 15:18:57 -0400 Subject: Overhaul for self hosting, tweaks --- public/index.html | 207 ++++++++++++++++++++++++++---------------------------- 1 file changed, 101 insertions(+), 106 deletions(-) (limited to 'public/index.html') diff --git a/public/index.html b/public/index.html index 1691e15..babd3de 100644 --- a/public/index.html +++ b/public/index.html @@ -4,104 +4,99 @@ - OpenBASED - Setup OpenBSD as a daily driver using only the included, base programs + OpenBASED | Setup OpenBSD as a daily driver using only the included, core programs

OpenBASED


-

Setup OpenBSD as a daily driver using only the included, core programs. Based on OpenBSD 7.6.

+

Setup OpenBSD as a daily driver using only the included, core programs. Based on OpenBSD 7.7.


-
- -

Requirements

-

The real requirements are having patience and a passion for keeping things minimal. It’s important to remeber that this setup isn’t the most user-friendly. There will be no config files to edit or download in this guide. We will be using the xenodm login manager paired with the default stacked window manager fvwm. And that’s it.

+

The real requirements are having patience and a passion for keeping things minimal. It’s important to remeber that this setup isn’t the most user-friendly. There will be no config files to edit or download in this guide. We will be using the xenodm login manager paired with the default stacked window manager fvwm. And that’s it.

You have been warned!

Installation

-

Make sure you have the latest OpenBSD image formatted on a USB device (or burned to a CD if that’s your cup of tea!) and that your computer/laptop is set to boot from USB via the BIOS. Also make sure you are connected to the internet via ethernet cable (don’t worry, we’ll setup WiFi in a minute!)

+

Make sure you have the latest OpenBSD image formatted on a USB device (or burned to a CD if that’s your cup of tea!) and that your computer/laptop is set to boot from USB via the BIOS. Also make sure you are connected to the internet via ethernet cable (don’t worry, we’ll setup WiFi in a minute!)

Boot into the device and input the following when guided through the installer:

    -
  1. Boot from USB
  2. -
  3. Choose Install
  4. -
  5. Keyboard layout: us
  6. -
  7. Hostname: x220 (or whatever you choose)
  8. -
  9. Network: em0
  10. -
  11. IPv4: autoconf
  12. -
  13. IPv6: none
  14. -
  15. Network interface: done
  16. -
  17. Password for root
  18. -
  19. Start sshd by default? yes
  20. -
  21. X Window System start with xenodm? no
  22. -
  23. Setup user? username (follow setup user steps)
  24. -
  25. Allow root ssh login? no
  26. -
  27. Timezone
  28. -
  29. Which disk? Use internal (sd0 etc.)
  30. -
  31. Encrypt root disk? no
  32. -
  33. Use WHOLE disk
  34. -
  35. Use AUTO layout
  36. -
  37. Which disk to initialize: done
  38. -
  39. Location of sets: http
  40. -
  41. HTTP Proxy URL? none
  42. -
  43. HTTP Server? 1 (Toronto)
  44. -
  45. Confirm again
  46. -
  47. Server directory? pub/OpenBSD/7.6/amd64
  48. -
  49. Set names? done
  50. -
  51. Drink some coffee while it verifies (depends on network speed)
  52. -
  53. Location of sets? done
  54. -
  55. Congrats!
  56. -
  57. Reboot and remove USB device
  58. +
  59. Boot from USB
  60. +
  61. Choose Install
  62. +
  63. Keyboard layout: us
  64. +
  65. Hostname: x220 (or whatever you choose)
  66. +
  67. Network: em0
  68. +
  69. IPv4: autoconf
  70. +
  71. IPv6: none
  72. +
  73. Network interface: done
  74. +
  75. Password for root
  76. +
  77. Start sshd by default? yes
  78. +
  79. X Window System start with xenodm? no
  80. +
  81. Setup user? username (follow setup user steps)
  82. +
  83. Allow root ssh login? no
  84. +
  85. Timezone
  86. +
  87. Which disk? Use internal (sd0 etc.)
  88. +
  89. Encrypt root disk? no
  90. +
  91. Use WHOLE disk
  92. +
  93. Use AUTO layout
  94. +
  95. Which disk to initialize: done
  96. +
  97. Location of sets: http
  98. +
  99. HTTP Proxy URL? none
  100. +
  101. HTTP Server? 1 (Toronto)
  102. +
  103. Confirm again
  104. +
  105. Server directory? pub/OpenBSD/7.6/amd64
  106. +
  107. Set names? done
  108. +
  109. Drink some coffee while it verifies (depends on network speed)
  110. +
  111. Location of sets? done
  112. +
  113. Congrats!
  114. +
  115. Reboot and remove USB device
-

First Boot Tweaks

+

First Boot Tweaks

-

User Permissions

+

User Permissions

Before we do anything, we should give our main user full access via doas. Login as root and run the following:

su -
-echo "permit nopass :wheel" >> /etc/doas.conf
+echo "permit nopass :wheel" >> /etc/doas.conf
 exit
 
@@ -117,10 +112,10 @@ exit
ifconfig iwn0 up
 ifconfig iwn0 scan
-echo "join WIFI-NAME wpakey PASSPHRASE" >> /etc/hostname.iwn0
-echo "dhcp" >> /etc/hostname.iwn0
-echo "inet6 autoconf" >> /etc/hostname.iwn0
-echo "up powersave" >> /etc/hostname.iwn0
+echo "join WIFI-NAME wpakey PASSPHRASE" >> /etc/hostname.iwn0
+echo "dhcp" >> /etc/hostname.iwn0
+echo "inet6 autoconf" >> /etc/hostname.iwn0
+echo "up powersave" >> /etc/hostname.iwn0
 dhclient iwn0
 
@@ -128,7 +123,7 @@ dhclient iwn0

You might also need to run doas sh /etc/netstart after.

-

Performance Boost

+

Performance Boost

This step is optional and targeted towards devices with batteries (laptops, IoT devices etc). Properly setup apmd:

@@ -137,9 +132,9 @@ rcctl set apmd flags -A rcctl start apmd -

Login Manager

+

Login Manager

-

Remember when we chose No when the installer asked us “X Window System start with xenodm?”. Well, now we want to enable that before our next reboot:

+

Remember when we chose No when the installer asked us “X Window System start with xenodm?”. Well, now we want to enable that before our next reboot:

doas rcctl enable xenodm
 
@@ -149,87 +144,87 @@ rcctl start apmd
doas reboot
 
-

The First Real Login

+

The First Real Login

Now you will be presented with the glorious xenodm login screen.

-Default xenodm login screen +Default xenodm login screen
The beautiful, default xenodm login screen. Image taken from tumfatig.net (who has some wonderful OpenBSD guides you should check out!)

Login with your created user details and you should see something like this:

-Default fvwm view once logged in +Default fvwm view once logged in
Taken from the main OpenBSD Wikipedia page. (Some applications will not be opened by default)
-

Absolutely glorious. You’ll also notice a 3x3 grid box in the bottom right corner:

+

Absolutely glorious. You’ll also notice a 3x3 grid box in the bottom right corner:

-fvwm workspace pager +

fvwm workspace pager

-

This is called the “workspace pager” or “pager”. Each section represents an individual desktop (or workspace if your more familiar with MacOS terminology). You can click on any grid item to instantly move to that desktop.

+

This is called the “workspace pager” or “pager”. Each section represents an individual desktop (or workspace if your more familiar with MacOS terminology). You can click on any grid item to instantly move to that desktop.

You can also navigate around using the Ctl + keys.

-

Playing with Default Packages

+

Playing with Default Packages

-

This section isn’t going to explain each and every single useful package included with the base install of OpenBSD. Instead, I highly recommend that you read the documentation associated with each program. You can read these manual pages from your terminal by running man <package-name>. Teach a man to fish and all that jazz…

+

This section isn’t going to explain each and every single useful package included with the base install of OpenBSD. Instead, I highly recommend that you read the documentation associated with each program. You can read these manual pages from your terminal by running man <package-name>. Teach a man to fish and all that jazz…

-

File & System Management

+

File & System Management

-

User Tools

+

User Tools

Networking

Security

-

Additional Packages

+

Additional Packages

-

I would suggest the following packages once you feel like installing “additional”, non-base software:

+

I would suggest the following packages once you feel like installing “additional”, non-base software:

These can be installed by running doas pkg_add <package> in the terminal.

-

Support OpenBSD

+

Support OpenBSD

-

If you’ve found this guide helpful or even sparked an interest in OpenBSD, please consider donating directly to the OpenBSD Project. A little goes a long way, and the OpenBSD Project is a volunteer-driven software group funded by donations!

+

If you’ve found this guide helpful or even sparked an interest in OpenBSD, please consider donating directly to the OpenBSD Project. A little goes a long way, and the OpenBSD Project is a volunteer-driven software group funded by donations!

-

Contribute to OpenBASED

+

Contribute to OpenBASED

-

I’m far from an OpenBSD expert! Please help improve this project!

+

I’m far from an OpenBSD expert! Please help improve this project!