Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



 

 


Panel
titleBefore you install Ignition, make sure you meet the minimum system requirements:
  • Java 8+ (server), Java 6+ (client)
  • Dual-Core Processor (32 or 64 bit)
  • 4GB RAM
  • 10GB free HD space

Also, it is assumed that you are familiar with operating a shell, and you have root or superuser privileges to run the Ignition installer.

To Download and Install Ignition on Linux

  1. Go to the Inductive Automation website at
    www.inductiveautomation.com 

  2. Select Download > Current Release.
     
  3. On the Ignition Downloads page, scroll down to System Installers and select the
    ignition-X.X.X-linux-x64-installer.run installer. 
    If your computer runs on a 32- bit Linux, select the ignition-X.X.Xlinux-32-installer.run.



    Note: If you choose the wrong installer, an Error window is displayed letting you know the correct installer to use for your machine.
    The installers can run in both graphical or command-line mode, allowing Ignition to install on a headless Linux server. The installer will install files in the following locations:

    /usr/local/bin/ignition
    (unless a different installation directory was used) – contains binaries, web server files, startup scripts and the uninstall executable

    /var/lib/ignition/data
    contains application-generated files, temporary files, driver directories, and the internal database

    /var/lib/ignition/user-lib
    contains modules and JDBC jars

    /var/log/ignition
    contains the wrapper.log and other log files

    /etc/ignition
    contains configuration files. Symbolic links to these files are created in /var/lib/ignition/data
     
  4. If Java 8 is not already installed, you must install it. You can download Java from Oracle's archive here. After you've downloaded it, you can install it in the same way that you install Ignition.

  5. To install programs on Linux, you must run all the commands as root. Prefix everything with sudo or first run

    Code Block
    languagebash
    sudo su

    If Java 8 is not already installed, run the following commands to install it: this command to set superuser privileges:

    Code Block
    languagebash
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java8-installersu


  6. Open a command shell and navigate to the installer executable, by running the following command from the command line:

    Code Block
    languagebash
    sudo chmod +x ignition-x.x.x-linux-xxxinstaller.run


  7. Start the installer executable.
    The installer can run in a graphical mode or command line mode.
    If you are running the installer in a shell in a graphical environment, the graphical installer opens automatically.
    If you are running the installer in a headless Linux installation or through an SSH shell, the text installer opens automatically.
    To start the text installer in a graphical environment, run the following command:

    Code Block
    languagebash
    sudo ./ignition-X.X.X-linux-xxx-installer.run --mode text


  8. Agree to the licensing terms.

  9. Ensure the installation directory is the default directory at:
    /user/local/bin/ignition




  10. Specify the user name under which Ignition is to be installed. For Ubuntu installations, the user that invoked sudo is used by default. For other Linux installations, this field is initially blank.

    The Linux installer requires a user name to set the permissions on the folders created by the installer. This user is then able to start and stop Ignition, run the Gateway Control Utility, and the command line interfaces.

    The binaries in the installation folder are still owned by root and cannot be modified without root access. The selected user must already exist on the system before starting the installer.




  11. Normally, the installer is capable of auto-detecting a Java 8 installation that has been installed through APT or some other Linux package management tool. In these cases, the installer uses that Java installation and skips this step.

    However, if you have installed Java by extracting the Java binaries to a folder and adding them to the system PATH, the installer is unable to find the Java binaries. You must provide the installer with a full path to the Java executable.

  12. If the Java Installation window is displayed, type the full path to the Java executable.


     


  13. Select the platform you wish to install. The rest of this guide will assume Ignition as the platform. 

    New_in
    Version7.9.2

     


    For Ignition Edge installations, select the Ignition Edge radio button (Graphical mode) or enter 2 (Text mode), then skip to step 15. More information on Edge can be found on the Ignition Edge page. 





  14. Select either the Typical or the Custom installation mode.

    The Typical mode installs everything that you need to get started.

    The Custom mode lets you add optional modules, such as the OEE Downtime module. It also lets you control and select which modules get installed.




    If you select Custom Mode, the Select Components window is displayed.

    In Graphical mode to view a brief description of the module, click on the module name. Selecting the check box next to a module installs the module as part of the Ignition installation. Clearing the check box next to a module prevents the module from being installed.

    In Text mode a list of all the modules are displayed one at a time. Type y to install the module, and type n to prevent the module from being installed.




    Ignition is now ready to be installed. At this point, you can click the Back button (graphical mode) to change your selections. For the text mode, you can only abort the installation at this point by typing n.

  15. Click Forward (graphical mode) or type y (text mode) to finish the installation.




  16. When the installation is complete, click Finish (graphical mode) or type y to start Ignition (text mode).
    Ignition is started as a background process. 



Once the Ignition Gateway starts up, your web browser opens and brings you to the Gateway home page at 
http://localhost:8088.


On_this_page

 



Scroll html ignore


Iulink
Description
URLhttps://www.inductiveuniversity.com/video/installing-ignition-on-linux?r=/course/ignition-basics
NameInstalling Ignition on Linux

 

 

 

 

 

 








Ignition Service

Stop and Start Ignition

After installation, you can start and stop Ignition with the following commands:

Code Block
languagebash
/etc/init.d/ignition start


Code Block
languagebash
/etc/init.d/ignition stop

Remove Service

When installing under Ubuntu, Ignition starts automatically whenever the computer reboots. If you wish to stop this behavior, you need to use the update-rc.d tool to remove the service (uninstalling Ignition also removes the service) as follows:

Code Block
languagebash
/etc/init.d/ignition stop
update-rc.d -f ignition remove
rm /etc/init.d/ignition

 
When installing under other Linux distributions, use that distribution's method to automatically start a program after reboot.
For example, this command auto-starts Ignition installed in a Fedora 15 system (run as root user):

Code Block
languagebash
chkconfig --level 2345 ignition on

Set the system PATH

For Ubuntu installations, the installation directory is automatically appended to the system PATH. You can start programs like the Gateway Control Utility from the command line without specifying a complete path to the installation directory.

Note that after installation, you need to close and reopen the command shell for the PATH change to take effect. For other Linux installations, you need to manually add /usr/local/bin/ignition (or your installation directory) to any script that can set the system PATH (such as .profile or .bashrc).

 

 



Automated Installation on Linux

You can automate Ignition installation across different machines using scripts. Ignition is then installed silently from a command shell without showing any user prompts.

Keep in mind that the installer cannot automatically start the Gateway after a silent installation. Use the /etc/init.d/ignition start command as shown in example below.

Command line example

Code Block
languagebash
sudo ./ignition-7.x.x-linux-x64-installer.run --mode unattended --prefix /somefolder/bin/ignition --unattendedmodeui none
/etc/init.d/ignition start


Flags

-- mode unattended (ensures that no prompts appear during installation)
-- prefix /somefolder/bin/ignition (optional flag; if a value is set, then Ignition is installed in the specified folder, otherwise Ignition is installed in /usr/local/bin/ignition by default)
-- serviceuser username (allows a Linux system user to be installed (that is, a user that cannot log in to the OS))
-- unattendedmodeui none | minimal (the none flag does not display any sort of graphic during installation; the minimal flag displays a small progress bar and nothing else)

 


Uninstalling Ignition on Linux

Panel
titleBefore you uninstall Ignition...

Be sure to back up your Gateway and unactivate your Gateway license.

During a new Ignition installation, an uninstaller executable is created in the installation directory: the default directory is /usr/local/bin/ignition

When Ignition is uninstalled, the settings database and folder in /data is backed up to /data_<current date>, and modules and user-supplied JDBC jars in /user-lib are backed up to /user-lib_<current date>. Also, the Ignition service is removed from Ubuntu Linux installations automatically. 

Linux – Using Downloaded Installer

Ignition 7.3 or later installations on Linux contain an uninstaller executable.

To run the uninstaller,

  1. Open a command shell and navigate to /usr/local/bin/ignition (or your installation folder).
     
  2. As root or sudo, run

    Code Block
    languagebash
    ./uninstall


Linux Ignition installations before 7.3 used a zip file that did not form an installation. Since these installations were never created with an installer executable, no uninstaller executable was ever generated. This is true even if using a 7.3 or later installer executable to upgrade an installation from before 7.3. For installations before 7.3, you must manually remove the Ignition folders using the commands below.

Code Block
languagebash
/etc/init.d/ignition stop
*Ubuntu only* update-rc.d -f ignition remove 
rm /etc/init.d/ignition 
rm -rf /usr/local/bin/ignition 
*Recommended* mv /var/lib/ignition/data /var/lib/ignition/data_<current date> 
*Recommended* mv /var/lib/ignition/user-lib /var/lib/ignition/user_lib_<current date> 
*Recommended* mv /etc/ignition /etc/ignition_<current date> 
rm -rf /var/log/ignition