New on LowEndTalk? Please Register and read our Community Rules.
OpenBSD on Hostigation KVM - running nicely
edited April 2012 in Reviews
I've been wanting to spin up an OpenBSD VPS for a while and finally got around to doing it yesterday.
Tried spinning up a 4.x last fall and there were some KVM issues. But 5.0 worked out of the box like a charm on a 128MB KVM from Hostigation.
The Realtek network interface is not supported under OpenBSD (you get constant "re0 watchdog timeout" errors), but the Intel PRO/1000 nic works just fine.
- use config to lean/mean-icize the kernel to strip out unneeded drivers. On a bigger box I wouldn't bother but with only 128MB of memory, I'd like to squeeze out some megabytes.
- pull out the pf manual to configure the firewall
- modify /var/log partition to be append-only
- I might play with immutable files once I get things setup the way I want. immutable files are a very nice *BSD feature - you set a kernel level so that the files cannot be changed without booting into the console. Typically used for core config files, firewall rules, etc.
- play some more :-)
OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011 [email protected]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: QEMU Virtual CPU version (cpu64-rhel6) ("GenuineIntel" 686-class) 3.40 GHz cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,MTRR,PGE,MCA,CMOV,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3,CX16 real mem = 133742592 (127MB) avail mem = 121569280 (115MB)
I might actually get one of these and try netbsd..
great man. openbsd is awesome. after you play with config do you mind posting a tutorial on how to get it as low memory as possible?
yeah i'd like to see what you did
Does it still have issues with multiple cores?
Cool. Any reason to not go w/ FreeBSD since they have virtio drivers in the latest release?
I don't know - however, the mpbios disable is no longer necessary. My VPS only has 1 CPU assigned to it:
Nope - just wanted to play with OpenBSD.
FreeBSD is definitely easier if you want a more up to date web server (OpenBSD's default is a modified/hardened Apache 1.3), more interested in performance, etc. I was interested in having a very secure central administrative box for my far-flung VPS empire (ha!) so OpenBSD seemed like a good fit.