welcome: please sign in

The following 245 words could not be found in the dictionary of 7 words (including 7 LocalSpellingWords) and are highlighted below:
able   access   accessible   according   acquire   actually   admin   afs   After   aklog   all   also   alternative   an   An   and   are   as   assist   at   authority   bash   basic   be   beginning   bin   blob   bootstrap   bootstrapped   Bootstrapping   bootstrapping   both   Build   build   Building   but   by   ca   can   Category   cd   certificate   changes   chmod   choose   cluster   code   coded   comment   conf   config   configuration   content   control   Coop   core   Create   create   creating   currently   Customize   customize   default   development   Dir   dir   directory   dispatcher   do   documented   Dom   domain   Domain   domtool   Domtool   domtool2   Edit   environment   etc   example   Execute   explained   few   first   following   For   for   from   generally   get   git   grant   hard   has   have   hcoop   Here   historical   home   hostname   https   If   in   included   init   install   Installation   installation   instance   instructions   interest   is   it   k5start   kinit   like   line   lines   local   location   machine   machines   may   minimal   minimally   must   my   name   named   necessary   need   Needs   Neither   net   Node   non   not   Notes   Obsolete   of   on   only   Open   openafs   or   org   override   page   pagsh   part   places   Prerequisites   prerequisites   privileges   procedure   Procedures   produce   production   provided   publish   publishing   readable   relevant   reliant   remove   replace   require   required   rewriting   root   Root   run   scripts   secure   server   services   set   Set   setting   setup   several   sh   shared   shebang   short   should   site   sml   so   some   something   source   specific   specifically   ssl   Ssl   started   steps   sudo   sudoers   sufficient   suitable   suite   System   system   systems   test   that   The   the   then   There   there   These   this   to   Tool   Traditionally   tree   unable   unlikely   up   upon   use   used   user   using   usr   value   values   var   variables   When   which   wide   will   wish   with   without   Work   working   writable   You   you   your  

Clear message
Edit

DomTool / NonHCoopSetup

DomTool source code is, at places, HCoop and OpenAFS-specific. Here's a documented procedure for setting up DomTool on non-HCoop machines and without using AFS.

The instructions on this page are unlikely to produce a working production setup, but should be sufficient to get started with a local development instance.

1. System Prerequisites

If you wish to actually publish configuration, there are a few prerequisites. These are not necessary for a development build.

You will need to create a user named domtool, DomTool is currently hard coded to require the user.

If you wish to actually publish configuration you will also need to grant the domtool user some sudo privileges and use /var/domtool for the localRoot. bootstrap/domtool.sudoers in the source tree has an example configuration for sudo. Neither is required for a development setup, domtool can be run without sudo access and with an alternative localRoot, but the publishing scripts are reliant upon both so you will be unable to actually control services.

2. Build DomTool

You will first need to acquire DomTool, build it, and customize the default configuration for your site.

The minimally required changes are:

After you have set up the configuration, build domtool, and it should be able to be bootstrapped. You do not need to install domtool system-wide to test.

3. Bootstrapping Domtool

There are several scripts included with domtool to assist with bootstrapping.

If you are setting up a development environment, the minimal steps are:

4. Obsolete Notes

These are included for historical interest / some may be relevant for rewriting the page.

  1. Set up /etc/domtool (or specifically, the SSL CA in there) according to DomTool/SslProcedures

  2. Build and install the DomTool suite as explained in DomTool/Building and DomTool/Installation. (When creating user 'domtool', you can choose /home/domtool as the home directory)

  3. Edit /etc/init.d/domtool-* to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash), and replace "/usr/bin/k5start" with "/usr/local/bin/k5start"
  4. Edit /usr/local/bin/domtool-admin-sudo to replace shebang line /usr/bin/pagsh.openafs with /bin/sh (or /bin/bash), and to comment the kinit and aklog lines
  5. Create /usr/local/bin/k5start with the following content and chmod 755 it (remove "\" at the beginning):

\#!/bin/sh
# This counts on BASH_ARGV being a stack (bash v3.0+)
${BASH_ARGV[0]}


CategoryNeedsWork

DomTool/NonHCoopSetup (last edited 2018-08-11 18:48:45 by ClintonEbadi)