OpenBSD for Starters (incomplete)This thread is for people new to OpenBSD. This post will provide a general guide on how to get started using OpenBSD.
This guide assumes that you have some experience using other Unix-like operating systems.
IntroductionOpenBSD is a minimalistic security-based operating system which was forked from NetBSD in 1995.
It is used equally in desktops and servers. The desktop installation contains X and a very simple window manager, and is based on the server.
OpenBSD has a reputation for being rather ferocious about security and just plain 'doing things right.' Amongst some, it has a reputation for being hard to use for beginners due to lack of 'easily parsed' documentation.
InstallationInstallation is simple. As of this writing, the latest installation ISO for x86_64 is here:
http://mirrors.sonic.net/pub/OpenBSD/5.6/amd64/install56.iso (227mb)
Installation is explained in part by the installer. If you want a desktop, you should allow the X window system, and you should let xfce start the X system. Additionally, anytime the installer requests files, you should specify HTTP or CD. It is not wise to go without these files unless you know what you're doing.
Notable ThingsBy default, OpenBSD will kill any process which takes more than 512mb ram. You can modify this, however this is (currently) outside of the scope of this post.
OpenBSD uses a firewall called 'pf' (packet filter) which is regarded as one of the best firewalls, if not the best. It is extremely flexible and is worth looking into, as firewalls are a larger topic than many realize. (
NOTE: OpenBSD uses a different version of pf than FreeBSD, which have syntax differences.)
Installing PackagesOpenBSD supports remote binary installations. This is OpenBSD's equivalent to FreeBSD's pkg, and Linux's yum/apt-get. Unlike some Linux package tools, pkg will verify the binary signatures for added security.
The OpenBSD pkg repository is managed by OpenBSD; in slightly uncommon cases, the packages are modified by the team for security (such as privilege separation.)
The command to add a package is as follows:
# pkg_add packagename
If you wish to 'locate' packages, you'll have to install a package called 'pkglocatedb.'
# pkg_add pkglocatedb
[post installation]
# pkg_locate firefox
PortsBesides pkg, OpenBSD also supports 'ports.' These are inherited from FreeBSD, however they are much stricter about the security requirements.
For a basic understanding of ports, see the FreeBSD post. This post will be modified at a later date.
Updating the Systemtodo
Using a Different Window Managertodo
Post last edited at