Package Building Procedures
Prev |  | Next

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

This section is in progress.

Please talk to Mark Linimon before making any changes.

## 18.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

## 18.2 Configuring the disk

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

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

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

4. TBA

## 18.3 Configuring `src`

1. TBA

## 18.4 Configuring `ports`

1. The following ports (or their latest successors) are required:

       databases/py-pysqlite23
       databases/py-sqlalchemy
       devel/git (WITH_SVN)
       devel/py-configobj
       devel/py-setuptools
       devel/subversion
       net/nc
       net/rsync
       sysutils/ganglia-monitor-core (with GMETAD off)
       sysutils/ganglia-webfrontend (WITHOUT_X11)
       www/apache22 (with EXT_FILTER and THREADS)

   Expect those to bring in:

       databases/sqlite3
       lang/perl-5.12
       lang/python27

   The following ports (or their latest successors) are strongly suggested:

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

2. Configure mail by doing the following: TBA.

## 18.5 Other

1. TBA

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