- You have downloaded the zip file for the latest released version of Desigo Optic from https://support.industry.siemens.com/cs/ww/en/view/109808398.
- Open a terminal and enter the following to navigate to the /opt directory:
cd /opt/
- Use the following command to unzip the Desigo Optic installation into the /opt folder:
sudo unzip ~/Desktop/Optic-5.1.XXXX.zip
Where:XXXXindicates the minor version of Desigo Optic.
- 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.
- Open the optic.service file with an editor.
- Rename “desigoOptic” (highlighted in yellow in figure below) to the renamed Desigo Optic installation folder. In our case “desigoOptic_5.1.9.1055”.
- (Optional) To increase the heap space of your installation, modify the number (in MB) after -Xmx.
- Save the optic.service file and close the editor.
- Enter the following to navigate to the Desktop directory:
cd ~/Desktop.
- 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
- 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.
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