1. Open a terminal and enter the following to navigate to the /opt directory:
    cd /opt/
  1. Use the following command to unzip the Desigo Optic installation into the /opt folder:
    sudo unzip ~/Desktop/Optic-5.1.XXXX.zip
    Where:
    XXXX indicates the minor version of Desigo Optic.
Unzip Optic File
  1. While still in the /opt directory, we recommend renaming the newly unzipped folder to include the version number in the name: sudo mv desigoOptic desigoOptic_5.1.9.1055. Where "desigoOptic" is the name of the unzipped Desigo Optic installation. "desigoOptic_5.1.9.1055" is the name we want to rename it to.
  1. Open the optic.service file with an editor.
  1. Rename “desigoOptic” (highlighted in yellow in figure below) to the renamed Desigo Optic installation folder. In our case “desigoOptic_5.1.9.1055”.
  1. (Optional) To increase the heap space of your installation, modify the number (in MB) after -Xmx.
opticServiceBefore
opticServiceAfter

 

  1. Save the optic.service file and close the editor.
  1. Enter the following to navigate to the Desktop directory:
    cd ~/Desktop.
  1. Enter the following sequence of commands to move optic.service file to the system folder and restart the service:
    sudo mv optic.service /etc/systemd/system/optic.service

    sudo systemctl daemon-reload

    sudo systemctl enable optic

    sudo systemctl start optic
Move Optic Service
  1. Open a browser and navigate to: http://localhost:8080
  • The login screen displays, and Desigo Optic has been successfully installed through the zip file. Desigo Optic will now be running as a service, eliminating the need for further terminal access.
Desigo Optic Login Screen

Credentials on a fresh install are user = su / pass = su. You will be prompted for a new password upon login.

 

sudo systemctl start optic

sudo systemctl stop optic

sudo systemctl restart optic