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 Debian 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
sudo echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | sudo tee /etc/apt/sources.list.d/webupd8team-java.list
sudo echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | sudo tee -a /etc/apt/sources.list.d/webupd8team-java.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
sudo apt-get update
sudo apt-get install oracle-java8-installer
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 few commands that you need to enter.
curl -s https://packagecloud.io/install/repositories/iotracks/iofog/script.deb.sh | sudo bash
sudo apt-get 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