License installation

    After you purchase a license or request a demo version, a file containing the license serial number will be sent to your e-mail address.

    Example contents file license.txt:
    {"l":"zrbc9c555e6e7tdrdrcyce2tdo15rbya","e":"belousov@cesbo.com"}
    Note - this is only an example of the contents of the file! All characters in this file are part of the license number. Please copy all contents from the received file.


    There are several ways to install the license file on the server:

    The first method is via the web interface:

    To activate the license, go to Settings -> License

    The manage licenses window opens:

    Image

    Fields SN, TYPE, LICENSE TO, EXPIRATION DATE - contain information about the current license:

    • SN - first digits of the current serial number;
    • TYPE - license type;
      • Demo;
      • Subscription;
      • Lifetime - Lifetime license with no upgrade option.
    • LICENSED TO - e-mail address to which the license was purchased.
    • EXPIRATION DATE - the expiration date of the license. For Lifetime licenses: the date the license was purchased.
    • ACTIVATE LICENSE - license activation. After purchasing or receiving the demo version, you will receive an e-mail file license.txt Open the file, copy its contents to the clipboard and paste it into the ACTIVATE LICENSE field. After that - click ACTIVATE & RESTART - that will activate the license and restart the program.
    • BUY NOW - leads to license purchase page.
    The second method: run the command in the server console:

    echo 'license number' | sudo tee /etc/astra/license.txt
    Example:

    echo '{"l":"zrbc9c555e6e7tdrdrcyce2tdo15rbya","e":"belousov@cesbo.com"}' | sudo tee /etc/astra/license.txt
    

    Verify that the license was created correctly: run command:

    cat /etc/astra/license.txt
    

    In response to this command , your license number should appear in the console.
    After that - start the Astra process, for example, executing the command

    service astra start
    

    in server console.


    The third method

    with nano text editor, which is included in most Linux distributions.

    Execute the command:

    nano /etc/astra/license.txt
    

    The nano editor window opens. Copy or write data from the license.txt file into it.
    Then press ctrl+o (to write the contents to /etc/astra/license.txt) and ctrl+x (to exit the editor)

    Verify that the license was created correctly: run command:

    cat /etc/astra/license.txt
    

    In response to this command , your license number should appear in the console.
    After that - start the Astra process, for example, executing the command

    service astra start
    

    in server console.