How to install the StaffCounter Local Server on a virtaul machine

    • Install VirtualBox on a particular computer.
    • Download and decompress the archive containing the server in a new folder.
    • Inside the archive, you’ll find an .ova file to import the configuration into VirtualBox.
    • In the application of Oracle VM VirtualBox Manager choose File -> Import configuration…. Specify the path to the .ova file.
    • The local server must be connected to the local network. Open the configuration for the virtual machine and go to Network settings.
    • For adapter 1, point to what existing network card the program should connect to.

By default, the local server has a set network address (see the file Readme.txt in the archive). If it is necessary to change it, do the following:

    • Launch the virtual machine. Enter the username and password from the file Readme.txt;
    • Launch the mc as root:sudo mc;
    • Locate the file /etc/netplan/50-cloud-init.yaml and press F4;
    • Change the address field and, if necessary, the network mask;

By default, the local server has a set network address.

    • Save the file (F2);
    • You can download the example of this file here
    • Restart the virtual machine. To do this, exit the editor (F10) and the Midnight Commander program (F10), and then execute the command: 

sudo shutdown -r now

Note: To fully turn the virtual machine off, execute the command

 sudo shutdown -h now instead.