Follow these instructions to install the ioFog product on your Linux machine. Pay special attention to the system requirements and make sure you meet the requirements before installing ioFog in order to avoid undue troubles.
ioFog is supported on the following 64-bit versions of CentOS Linux
In order to run ioFog, your system must meet the following requirements
You will need to accept the license agreement for the Oracle edition of Java 8
wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz"
tar xzf jdk-8u131-linux-x64.tar.gz
alternatives --install /usr/bin/java java /opt/jdk1.8.0_131/bin/java 4
You can install the latest version of Docker with following command:
curl -fsSL https://get.docker.com/ | sh
Use the command line to install ioFog. There are two commands that you need to enter. Both are below.
curl -s https://packagecloud.io/install/repositories/iotracks/iofog/script.rpm.sh | sudo bash
sudo yum install iofog
You can access ioFog immediately after installation! Here are a couple of commands you can use to get to know how you can work with ioFog using the command line.
ioFog is a daemon. It runs in the background. Immediately after installation, the daemon is not running. You can start it with this command. You can also just reboot your Linux machine and the daemon will be running automatically the next time you boot up.
sudo service iofog start
This command will show you all of the commands that are available for ioFog and the different options that you can enter for the commands. You can access this menu at any time. It is a complete menu, so if you can't find what you want here, it shouldn't exist. You can enter these commands using auto-complete, too. Just hit the 'tab' key to see suggestions.
sudo iofog help
You can get a lot of information about the health and status of ioFog with this command. Use this whenever you like, and also whenever you think there may be something wrong with network connectivity or message throughput.
sudo iofog status
As you will see in the 'help' menu for ioFog, there are quite a few configuration settings you can use to fine-tune your installation. You can see all of the current configuration settings with this command.
sudo iofog info
Your ioFog instance will not be able to do very much until it becomes part of an edge processing fabric. You simply need to provision it with an 8-character provisioning key that you generate in the ioAuthoring software. Provisioning keys are only good for a single use and they only last for 20 minutes. If you have trouble provisioning with a certain key, just generate a new one and use that one instead.
sudo iofog provision ABCDWXYZ