This is a set of commands and notes I used when installing BSD servers. I managed to recently lose it and had to go dig in old backups to recover it, so I figure I might as well save it here. It’s a list of steps and commands that can be used when on a new BSD5 machine - it contains port commands, compilation options etc.
This was based on a setup we had in 2005 which had light web servers (running small sites and perl ecommerce system), heftier web servers (at the time running php cms and zope/plone), 2 database servers (postgres), a mail server (postifx, popfile, amavis, dovecot etc.) and a separate logging server (gathering & merging the logs from all web servers, other logs via syslog-ng and also running zabbix monitoring)
The version copied here is from 02/2006 - I have another one more up to date on the apache/php configuration option, but can’t be bothered to look for it at this time - since mostly I am keeping this for the crib sheet on port management commands it contains. And it seems easier to have it here, put on an older date but where I can find it anywhere. Perhaps it is of use to someone.
What is missing at the beginning is whole set of tricks to get the machine name, BSD version etc. from uname and other files into variable which could be used for the rest of the script. Because it was embarrassingly messy. So this script cannot be run as is, there are manual steps to be done in between.
