Installing Ignition Edge on Moxa UC-8100A
Configure device to have a fast network connection.
If you're unit has ThingsPro on it, all configuration is done using the web interface on the bottom/second ethernet port.
Connect to it and access https://192.168.4.127 to access the interface.
The login is either admin@moxa.com with password admin1234 or root@moxa.com with password root1234
Connect via SSH and run the following:
sudo apt update
sudo apt upgrade -y
sudo apt install unzip fontconfig
Copy the installation zip file to /home/moxa using WinSCP or download it with the below command:
curl -L -O -H 'Referer: https://inductiveautomation.com/downloads/ignition' https://files.inductiveautomation.com/release/ia/8.1.13/20211221-0852/Ignition-Edge-linux-armhf-8.1.13.zip
If upgrading from an older version, stop the existing Ignition instance, remove the service, and delete the lib
and webserver/webapps
folders.
sudo /usr/local/bin/ignition/ignition.sh stop
sudo /usr/local/bin/ignition/ignition.sh remove
sudo rm -rf /usr/local/bin/ignition/lib
sudo rm -rf /usr/local/bin/ignition/webserver/webapps
Unzip the file to the /usr/local/bin/ignition folder using the following command and delete the old file:
sudo unzip -o -d /usr/local/bin/ignition Ignition-Edge-linux-armhf-8.1.13.zip
rm Ignition-Edge-linux-armhf-8.1.13.zip
Change the directory to the Ignition installation and make the relevant files executable using the following commands:
cd /usr/local/bin/ignition
chmod +x ignition-gateway
chmod +x *.sh
If upgrading from an older version, upgrade the runtimes using the following command:
sudo /usr/local/bin/ignition/ignition.sh checkruntimes
If the upgrade is a major upgrade (8.0 to 8.1), run the upgrader to update the ignition.conf
file using the following command:
sudo /usr/local/bin/ignition/ignition.sh runupgrader
Install Ignition as a service with the following command:
./ignition.sh install
If using a serial port for communications, edit the Ignition-Gateway.service file to start up after the Moxa Modbus Gateway service:
sudo nano /etc/systemd/system/Ignition-Gateway.service
Modify the After line to match this:
[Unit]
Description=Ignition-Gateway
After=mxmodbusgateway.service
[Service]
Type=forking
ExecStart=/usr/local/bin/ignition/./ignition.sh start sysd
ExecStop=/usr/local/bin/ignition/./ignition.sh stop sysd
KillMode=process
[Install]
WantedBy=multi-user.target
Then reload the service control daemon to pick up the changes and start the service:
sudo systemctl daemon-reload
sudo service Ignition-Gateway start