Prerequisites for 25 concurrent users 1:

  • 2 CPU 2
  • 8GB RAM

Prerequisites for 200 competing users 1:

  • 8 CPU 2
  • 12GB RAM

Disk space:

  • 1 system disk of 15 GB which include / and swap partitions
  • 1 data disk of 50 GB whose volume depends mainly on the documents

Associated with the products, we can decompose the space used for 1,000 products as follows:

  • Database space: about 2 GB
  • Space for full text search index: about 2 GB
  • Space for related documents: 10 GB (1,000 products * 10 MB)
1. With these metrics, N concurrent users are considered 10xN occasional users.
2. 2 CPUs are equivalent to 1 dual-core

Software prerequisites

beCPG is distributed as a docker container allowing it to run on any server. beCPG provides automatic installation and full support for the installation of containers in the following environment Ubuntu Server 18.04.1 LTS 64 bits . 3

Ubuntu Server 18.04.1 64-bit LTS can be installed on a virtualized, dedicated or cloud server.

Download address for ISO images: []

3. beCPG can also be deployed on a kupernete environment like Amazon EKS, Google cloud or other. However, this will not be the subject of this documentation.

The rest of the documentation is based on the use of a Ubuntu 18.04.1 LTS 64-bit Linux virtual machine .

Installation Tutorial:

Prerequisite client item

A post able to run a modern browser such as Firefox, a PDF reader and a suite office.

  • 1 CPU
  • 1 GB of RAM
  • Temporary storage space when editing documents (space took by documents in edition)

Server installation

beCPG provides an installation script that can be used and adapted as needed.

chmod + x

Once executed, the following software components will be installed on the virtual machine:

The installation consists of docker images that are built and distributed by beCPG. Docker Compose is used to start downloading and updating these images.

On the host machine, under /opt/becpg-srv-instances , you will find the installation folder of beCPG. The important files are:

/opt/becpg-srv-instances/inst1/.env /opt/becpg-srv-instances/inst1/ /opt/becpg-srv-instances/inst1/docker-compose.override.yml /opt/becpg-srv-instances/inst1/docker-compose.yml /opt/becpg-srv-instances/inst1/ /opt/becpg-srv-instances/inst1/ssl/000-default.conf /opt/becpg-srv-instances/inst1/ /opt/becpg-srv-instances/inst1/ /opt/becpg-srv-instances/inst1/


By default, beCPG creates a new partition on the data disk. This partition contains all the data of the application, the containers and the docker volumes.

The mount point is /mnt/becpg-data by default

Sample script to create the new data partition on disk /dev/sdb

mkdir /mnt/becpg-data
mkfs.ext4 /dev/sdb
echo "/dev/sdb/mnt/becpg-data ext4 rw, noatime, errors = remount-ro, x-systemd.automount, x-initrd.mount 0 1" >> /etc/fstab
mount -a

Deploy a new version of beCPG

The deployment of beCPG and its update is are done by docker-compose . The orders are as follows:

docker-compound pull
docker-compose up -d

results matching ""

    No results matching ""