vps_-_openbsd
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
vps_-_openbsd [2020/11/04 22:21] – created initial document outlining setting root pass and getting started pwright | vps_-_openbsd [2023/06/11 22:03] (current) – add in doas and netwokring cpet | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{:: | + | {{: |
====== OpenBSD on SDF VPS ====== | ====== OpenBSD on SDF VPS ====== | ||
- | ===== Contents ===== | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
===== First Steps ===== | ===== First Steps ===== | ||
Line 61: | Line 55: | ||
It is also a good habit to create a regular user account for working, using " | It is also a good habit to create a regular user account for working, using " | ||
- | useradd -m -G wheel <username> | + | useradd -m -G wheel username |
Then immediately set its password with: | Then immediately set its password with: | ||
- | passwd | + | passwd username |
This user will be in the " | This user will be in the " | ||
+ | For doas copy over the example and then edit | ||
+ | |||
+ | cp / | ||
+ | |||
+ | ==== Networking ==== | ||
+ | |||
+ | As root edit / | ||
+ | | ||
+ | vi / | ||
+ | | ||
+ | remove the inet autoconf and replace it with inet ip 255.255.255.0 | ||
+ | |||
+ | As root edit /etc/mygate | ||
+ | |||
+ | vi / | ||
+ | |||
+ | Add in the gateway ip from welcome email | ||
+ | |||
+ | As root edit /etc/myname | ||
+ | |||
+ | vi / | ||
+ | |||
+ | Add in a hostname that makes sense | ||
+ | |||
+ | As root type in / | ||
+ | |||
+ | sh / | ||
+ | | ||
+ | Should now see your ip listed when doing ifconfig | ||
+ | |||
+ | Now run sysupgrade twice to get the latest version | ||
===== References ===== | ===== References ===== |
vps_-_openbsd.1604528482.txt.gz · Last modified: 2020/11/04 22:21 by pwright