How to install the StaffCounter Local Server from Docker

  1. To install you need a Linux server, preferably Ubuntu 20-22.

Receive a link to download the distribution kit for the local Staffcounter server by writing to the support service from your corporate address.

2. After installing Ubuntu server you need

-Assign a static IP address to the server;

-install docker with the following commands:

sudo apt-get update
sudo apt-get install
ca-certificates
curl
gnupg
lsb-release

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo
“deb [arch=$(dpkg –print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu
$(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

restart the server

sudo reboot

3. Login as root

Copy the distribution package staff.tar.xz to the server in the /home/user/install/ folder (if it doesn’t exist, create it and allow access)

4. Unpack the archive:

tar -xf staff.tar.xz

5. (optional) move the Staff/ folder to /var/www/

6. Start the local server:

cd /var/www/staff
./start.sh

Video tutoreal