Package Building Procedures
Prev |  | Next

# 17 How to configure a new head node (pointyhat instance)

This section is in progress.

Please talk to Mark Linimon before making any changes.

## 17.1 Basic installation

1. Install FreeBSD.

2. For each supported arch, add a `ports-`${arch}`` user and group. Add them to the `wheel` group. They should have the `'*'` password. Also, similarly, create the `ports` and `portmgr` users.

3. For each supported arch, create `/home/ports-`${arch}/.ssh/`` and populate `authorized_keys`.

4. Create the appropriate files in `/etc/.ssh/`.

5. Add the following to `/etc/sysctl.conf`:

       kern.maxfiles=40000

6. TBA

## 17.2 Configuring the disk

1. Create a zfs volume named `a` and mount it on `/a`.

2. Create a zfs volume named `a/portbuild` and mount it on `/a/portbuild`.

3.     # mkdir -p /a/portbuild
       # cd /a/portbuild
       #
       # chmod 775 .

4. TBA

## 17.3 Configuring `src`

1. TBA

## 17.4 Configuring `ports`

1. The following ports are required:

       archivers/xz
       archivers/unzip
       databases/py-pysqlite23
       databases/py-sqlalchemy
       devel/git (WITH_SVN)
       devel/py-configobj
       devel/py-setuptools
       devel/subversion-freebsd
       mail/postfix
       net/nc
       net/rsync
       security/sudo
       sysutils/ganglia-monitor-core (with GMETAD off)
       sysutils/ganglia-webfrontend (WITHOUT_X11)
       www/apache22 (with EXT_FILTER and THREADS)

   The following ports are suggested:

       benchmarks/bonnie++
       devel/ccache
       net/isc-dhcp41-server
       ports-mgmt/pkg_cutleaves
       ports-mgmt/pkg_tree
       ports-mgmt/portaudit
       ports-mgmt/portmaster
       shells/bash
       shells/zsh
       sysutils/screen
       sysutils/smartmontools

## 17.5 Other

1. TBA

Prev | Home | Next
How to configure a new architecture |  | Procedures for dealing with disk failures