Wednesday, February 8, 2012

WKS Server


We outline the process to create a core WKS server for a private subnet.

Ubuntu 10.04 LTS Server

Download and install the 64-bit Ubuntu 10.04 LTS server ISO from Ubuntu.

Common Packages

We have a collection of packages that are deployed on all machines:

SSH

Both Ubuntu server and desktop provide an option to install an SSH server. We use the default configuration.

Mercurial (via bbpython2)

Mercurial is included via pip when bbpython2 is installed. bbpython2 is installed on all machines.

LDAP client

bbldapclient is used to authenticate against a bbopendj LDAP server.

Well-Known Services (WKS)

Our servers run in one of two environments: bare metal and virtualized. Bare metal servers act as hosts for both virtualized guests and for well-known services. We define well-known services as stable, standards-based core services that don't change very much:

  • DNS+
  • DHCP+
  • SMTP
  • LDAP server+
  • Samba
  • Cups
  • NFS
  • VirtualBox
  • Webmin
  • CFEngine

(+) Indicate that these services need regular backups.

Creating a WKS Server

Any subnet needs at least one WKS server to host DNS, DHCP, SMTP, LDAP server, Samba, NFS and Webmin (optional).

  1. Install apt-cacher-ng and its client.
  2. Install the bbpython2 libraries
  3. Install an SMTP server
  4. Install a Bind9 server
  5. Install a DHCP3 server
  6. Install an LDAP server
  7. Install an LDAP client
  8. Install a Samba server
  9. Install a CUPS server

You now have a server that can provide all of the basic services (eg authentication, file sharing, printing) for Windows, Mac and Linux machines on your network.



No comments: