HOWTO’s

OpenBSD install script

Right after I get OpenBSD installed I start adding packages :) Here is what I use to get going:

pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/bash-3.1.1p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/mc-4.6.1p0.tgz && http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/irssi-0.8.9.tgz && http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/lftp-3.4.0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/ettercap-0.6.bp3-no_x11.tgz && http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/arping-2.05p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/dsniff-2.3p2-no_x11.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/hping-2.0.0rc3.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/mtools-3.9.10.20050317p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/mpg123-0.59rp3.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/mplayer-1.0pre7p15-sdl.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/nbtscan-1.5.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/net-snmp-5.1.3p2.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/nikto-1.35.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/ntop-1.1.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/numlockx-1.0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/pilot-link-0.11.8p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/pptp-1.7.0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/pstree-2.17p1.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/qemu-0.8.0p3.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/redhat_base-8.0p8.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/rdesktop-1.4.1.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/ruby-1.8.4p1.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/rpm-3.0.6p4.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/screen-4.0.2.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/smokeping-1.30.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/sox-12.17.7p0-mp3-vorbis.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/stunnel-4.14p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/tightvnc-viewer-1.2.9.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/transcode-1.0.2p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/unzip-5.52.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/vim-6.4.6p1-no_x11.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/vorbis-tools-1.1.1.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/wget-1.10.2p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/colorls-3.7.1p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/colortail-0.3.0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/python-2.4.2p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/m4-1.4.4.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/autoconf-2.59.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/automake-1.9.6p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/bison-2.1p0.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/gmake-3.80p1.tgz && pkg_add http://openbsd.mirrors.pair.com/ftp/3.9/packages/i386/john-1.6.40.tgz && cd /usr && wget http://openbsd.mirrors.pair.com/ftp/3.9/ports.tar.gz && wget http://openbsd.mirrors.pair.com/ftp/3.9/src.tar.gz && wget http://openbsd.mirrors.pair.com/ftp/3.9/sys.tar.gz && tar xvfz ports.tar.gz && rm ports.tar.gz && mv /usr/bin/vi /usr/bin/vi_old && ln -s /usr/local/bin/vim /usr/bin/vi && vi /etc/fstab && cd /usr/ports/x11/msttcorefonts && make && make install && cd && cp /etc/sysctl.conf /etc/sysctl.conf.bak && echo kern.emul.linux=1 >> /etc/sysctl.conf && cd /usr && mv sys.tar.gz ./src && mv src.tar.gz ./src && cd /usr/src/ && tar xvfz sys.tar.gz && tar xfvz src.tar.gz && rm src.tar.gz && rm sys.tar.gz && cd ~ && echo DONE!

vi /etc/rc.conf and enable apmd_flags=”” sendmail_flags=NO