To get started, create a new server in the cloud console. The operating system image doesn’t matter.
Wait until the server is ready.
Select it, then klick on “ISO Images” and mount the latest OpenBSD image.
Open the web console and press the
Ctrl+Alt+Del button to force a reboot.
Wait until the OpenBSD installer has started.
Choose your keyboard layout.
Choose the host part of the FQDN. (I use
Select the network interface
vio0 and configure IPv4 to use
Configure IPv6 using an address from your assigned subnet.
/64 IPv6 subnets. So choose that as prefix length.
fe80::1%vio0 as IPv6 default router.
You’re done (configuring network interfaces).
Enter the domain part of your FQDN (I’m using
Then choose a password for the root user.
Let sshd start by default so you’ll be able to log in without the web console.
You don’t need the X Window System.
And you don’t need to change the default console.
Set up a user, if you like. (I’m choosing not to.)
Allow root to log in using ssh. (You may not need this if you created another user. I haven’t done that.)
Set your time zone.
sd0 as root disk.
Use the whole disk.
Select “Auto layout”.
http as set location and
cdn.openbsd.org as server, then confirm the server directory.
Choose your sets. (I don’t want the
x* sets and the games. You might need the
x* sets for PHP.)
Wait until the sets have been installed. Confirm that you are done.
Unmount the OpenBSD image in the cloud console.
Reboot the server and close the web console.
Connect to the server using your local terminal:
Fix the IPv6 setup. Edit
/etc/hostname.vio and disable Semantically Opaque Interface Identifiers by adding
-soii at the end:
dhcp inet6 2a01:4f9:dead:beef::23 64 -soii
Add your ssh public key to your users
user@local-machine ~$: ssh-copy-id -i ~/.ssh/mykey root@www
/etc/ssh/sshd_config and set
Update the system using
Subscribe to the OpenBSD announce mailinglist and run
syspatch every time you get notified of available patches.
You are done.