Installing Ignition on a Headless Linux Server
Since Ignition 8 it is really simple to install Ignition in a headless linux server environment. A java runtime is no longer needed as Ignition ships with its own built in correctly licensed java executable. There is just one gotcha, and that is downloading the linux install file to your headless server. The inductive automation website wont let you directly download the file from the link provided from the website, as it is expecting the referrer to be the inductive automation website itself.
1. Downloading Ignition To Your Server
Once you have your Ubuntu install running and ready and you have logged in via SSH, copy the following into your terminal window, don’t hit enter because we’ll be pasting the download location right after it:
curl -L -O -H 'Referer: https://inductiveautomation.com/downloads/ignition'
Go to the inductive downloads page https://inductiveautomation.com/downloads/
Click on other operating systems find the Linux Installer 64 bit download and right click and copy the location.
Now paste that location after the curl command from above, and press enter to download it to your server. You should end up with a line similar to this:
curl -L -O -H 'Referer: https://inductiveautomation.com/downloads/ignition' https://files.inductiveautomation.com/release/ia/8.1.9/20210806-1733/ignition-8.1.9-linux-x64-installer.run
Once it has finished downloading we just need to make it executable and then we can run and install.
2. Make the Ignition Installer Executable
If you do an ls -alh in the downloaded directory you’ll see your downloaded executable, but you’ll also notice that the only attributes that are set are Read and Write.
To fix this we use the chmod command. Type the following, but replace with the version that you have downloaded.
When typing in linux terminals you can use the <tab> key to autocomplete, so to type the below command just type chmod +x Ign
and then press tab to autocomplete.
chmod +x Ignition-ignition-8.1.9-linux-x64-installer.run
3. Installing
We have to run the Ignition installer as root, so we will use the sudo command.
sudo ./Ignition-ignition-8.1.9-linux-x64-installer.run
Accept the defaults and your ignition will be installed in less than a minute.
Update: As of 8.0.14 you now need to select a user when installing, for a basic install just type in root when asked for a user. In a production environment you should set up a standalone ignition user.