The Mastr-MS RPM installs an example Apache config file at
/etc/httpd/conf.d/mastrms.ccg. This config is designed to work out
of the box with an otherwise unconfigured CentOS Apache
installation. All that is needed is to rename mastrms.ccg to
mastrms.conf so that Apache will pick it up.

If you have already made changes to the default Apache configuration,
you may need to tweak mastrms.conf so that the existing setup is
not broken. It may be necessary to consult the Apache and
mod_wsgi documentation for this.

By default, the data repository is located at
/var/lib/mastrms/scratch.

There should be ample disk space on this filesystem and some data
redundancy would be desirable. If this is not the case, then you could
mount a suitable file system at this path. If the data repository
needs to be at another location, its path can be configured in the
settings file.

The data sync user needs to be able to write to this directory, and
the web server user needs to be able to read from this directory, so:

Some versions will require “database migrations” to
update the database. While every care is taken to ensure smooth
upgrades, we still advise to make a backup of the database before
upgrading. This can be done with a command such as:

When the data sync clients hit Send Key, it sends the client’s
public key via a HTTP post to a URL at the Mastr-MS site, and a view
handles this, saving it to the publickeys directory on the
server. It then sends an e-mail to the admins configured for the site,
telling them that a new key has been uploaded, and they should append
it on to the authorized_keys for the data sync user.