Install Back Office and Update Manager Packages - AFS

Install AFS on a Single Server

Technical Notes

Please ensure that the proper prerequisites are met before proceeding.

The Back Office server includes the Back Office portal, the Back Office Server, the Administration Center, and the Update Manager.

Back Office composition

Installation of the Back Office

Run the following command:

As root user

apt-get install antidot-bo
apt-get install antidot-afs-apache

antidot-bo is a meta-package containing all necessary dependencies for the Back Office execution (Back Office portal, Administration Center, Web Services, Analytics). It installs the following packages:

  • antidot-bo-server
  • antidot-bo-portal
  • antidot-bo-ac
  • antidot-bo-analytics

Installation check

dpkg -l | grep antidot

The Back Office components share the same root directory: /usr/local/afs7

The following example shows a typical directory structure for a Back Office installation:

├── bin
├── bo-ac
├── bo-server
├── conf
├── contrib
├── lib
├── logs
├── meta
├── mongodb
├── scripts
├── setup
├── share
├── tmp
├── var
└── Version

The Back Office file structure includes the following directories and files:

  • bin is the directory for binaries.
  • bo-ac is the directory for the Administration Center specific files.
  • bo-server is the directory for Back Office server specific files.
  • conf is the directory for configuration files.
  • contrib is the directory for third-party libraries.
  • lib is the directory for AFS v7.9 libraries.
  • logs is the directory with every AFS v7.9 log. Some logs (acp*, search*, click*) are execution logs and are logged as database, usable by the Antidot Back Office. The other logs (afs_*.log) are system logs coming from the running daemon (acp, logmanager or querymanager).
  • meta is the directory used to store filter and switch files.
  • mongodb is the directory for Mongo DB-related data.
  • scripts is the directory for the scripts used to drive the daemon, to manage user rights, and so on.
  • setup is the internal repository used to store data concerning the installation (user, group, directory, and so on).
  • share is the directory for the different templates for lighttpd configuration and models for scripts, models for scripts and necessary data for Pipes and Filters (PaF) filters (such as indexing stemming dictionaries, named entity extract training databases and so on).
  • tmp is the directory used for temporary storage. Nothing persistent is kept here. Each time the Query Engine is launched, the directory data is reset.
  • var is the directory used to store the process ID of the running daemons. It contains internal data to run the daemons. Each time the Query Engine is launched, the directory data is reset.
  • Version is the file used to store the information about the AFS version.

Installation of the Update Manager

Run the following command:

As root user

apt-get install antidot-afs-updatemanager