OpenBSD

adduser

add to wheel

configure sudo to allow wheel

change shell to bash

in .profile

PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.5/packages/i386

or

PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.5/packages/amd64

export PKG_PATH

install:

pkg_add g++-4.2.20070307p9 git gmake pango sqlite cairo blas bash rlwrap wget postgresql-server

udis86

setup ssh keys

setup .factor-boot-rc

blas-1.0.p1

sqlite3-3.6.10

postgresql-server-8.3.6

cairo-1.8.6p1

wget-1.11.4

rlwrap-0.28

set /etc/login.conf parameters to infinity for staff and default

graphviz:

in .profile

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/X11R6/lib

export LD_LIBRARY_PATH

./configure --with-png=YES

make

make install moves libraries around (?)

Starting postgres on boot:

edit /etc/rc.local

su - -c 'pg_ctl start -D /var/postgresql/data -l /var/postgresql/logfile' _postgresql

This revision created on Sun, 4 Apr 2010 19:47:14 by erg