After installation, you can start and stop Ignition with the following commands:
/etc/init.d/ignition start |
/etc/init.d/ignition stop |
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:
/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):
chkconfig --level 2345 ignition on |
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
).
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
sudo ./ignition-8.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)
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.
To run the uninstaller,
/usr/local/bin/ignition
(or your installation folder).As root
or sudo
, run
./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.
/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 |