Connecting
In order to connect to a Linux Edge device, specific software must be installed.
Terminal Software
Most steps in the installation will be run via the command terminal and can be accessed on a remote terminal using free software like Putty (https://www.putty.org/). In the default configuration, Linux is accessed via an SSH connection to port 22. The default username and password vary by manufacturer.
File Transfer Software
While SCP (Secure Copy) can be used from the command line, many people prefer to use a simple GUI to transfer files in a manner more similar to using Windows Explorer. WinSCP (https://winscp.net/eng/download.php) is a piece of free software that allows an SCP connection via that same port 22, allowing you to copy our installer to your Linux system.
Installing
Before you begin: the initial installation of eACM will require the installer to download multiple dependencies. Internet access is required for the initial installation.
Preparing for the Package
Run the following command to confirm your systems package list is current to ensure we can download all needed components:
sudo apt-get update
Transferring the Package
You will need to move AUTOSOL’s .deb package over to your board. There’s many ways of doing it, but a very popular one is using an SFTP client program like WinSCP to transfer the file from your computer. You can also install SCP programs for Windows, Linux, or other operating systems.
Installing the Package
Once you have transferred the package, run the following Linux command to begin the installation:
sudo apt install /path/to/autosol_1.0.0-zumiq_armhf.deb
You will need to give the full or relative path to the AUTOSOL .deb package
Once the installation is complete, visit the IP of your computer on port 8080 to see the AUTOSOL App Manager web configuration page.
Possible Errors During Install
If the installer doesn’t have enough space despite room on the local drive, you may need to increase your tmp storage. Run the following:
sudo mount -o remount,size=200000000 /tmp
If this was a first time install, Postgres might return errors such as:
"Could not migrate to db."
"Verify Postgres is running.”
“Postgres must have a password."
If so, view the Troubleshooting Postgres Errors before finishing installation.
If it fails for any other reason, visit the Troubleshooting section for more information.
Upgrade
The .deb software packages must be uninstalled and reinstalled in order to upgrade. Follow the instructions for Uninstalling and Installing in order to successfully upgrade.
Uninstalling
All configuration data is deleted when uninstalling. Always backup configuration data by generating an export before uninstalling/upgrading.
The software package contains an uninstall script that quickly removes Edge ACM and all of AUTOSOL’s software utilities from your device.
You will need SSH access to your device in order to run the uninstall program. Contact your IT department if you need assistance with this.
Once you have access to a terminal connected to the device, you can run the uninstall.sh script from any location using the fully qualified path.
--ZumIQ Uninstall sudo /home/devuser/apps/ASIEdgeManager/uninstall --Generic Uninstall sudo /usr/apps/ASIEdgeManager/uninstall
Uninstalling Old Packages
Older packages named appmanager are not uninstalled by the script and need to be disabled and manually uninstalled.
You will need SSH access to your device in order to run the uninstall program. Contact your IT department if you need assistance with this.
Run the following commands as per your platform.
--ZumIQ sudo rm /home/devuser/service/API sudo kill `cat /var/run/appmanager.pid` sudo apt remove appmanager -y sudo rm -r /home/devuser/apps/API --Generic sudo systemctl disable appmanager sudo systemctl stop appmanager sudo apt remove appmanager -y sudo rm -r /usr/apps/API