Installation Using Packages

Manual installation using pre-built packages

The following setup is for a manual FIO API Node installation using pre-built packages.


Ubuntu 18.04

Ubuntu 18.04 is the latest version of Ubuntu which has been tested and is recommended to be used.

These packages are purpose-built to quickly bring up a node, have systemd integration, have logrotate, apparmor, compsec enabled, and have reasonable defaults in the config.

Download and validate install packages

Releases may be pulled from the Github release page or to retrieve the latest version, at the following URLs:

curl -sO

Verify checksum:

md5sum fioprotocol-3.4.x-latest-ubuntu-18.04-amd64.deb

Compare to checksums found on Github release page.

e18d9c47f1211b03662269b2b4c6622a  fioprotocol-3.4.x-latest-ubuntu-18.04-amd64.deb

Remove existing history directories (optional):

This step should be performed only if you are upgrading from an older version and you are NOT running a History node.

cd /var/lib
sudo rm -fr fio/data fio/history fio/history_index

Install the release

sudo apt install ./fioprotocol-3.4.x-latest-ubuntu-18.04-amd64.deb
rm fioprotocol-3.4.x-latest-ubuntu-18.04-amd64.deb

This will install the following files:


Check for error

To Monitor AppArmor logging for issues

Inspect either the file 'kern.log' or 'messages' located in /var/log, i.e.:

tail -f /var/log/kern.log

To Disable an AppArmor profile

sudo ln -s /etc/apparmor.d/usr.local.bin.fio-nodeos /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.local.bin.fio-wallet

Re-enable an AppArmor profile

sudo rm /etc/apparmor.d/disable/usr.local.bin.fio-nodeos
sudo apparmor_parser -r /etc/apparmor.d/usr.local.bin.fio-nodeos

Update fio-wallet environment



Skip this step if you are not using fio-wallet to manage FIO keys for your users.

This step is required if you are using fio-wallet(keosd) to manage FIO keys. As of release 3.0.0 keosd is known as fio-wallet. If you are using keosd to manage keys, you must update your server and scripts to use the new /fio-wallet directory and fio-wallet.sock naming.

Rename the v2.0.0 wallet directory. The location of your eosio-wallet may be different depending on server configuration.

clio wallet stop
mv ~/eosio-wallet ~/fio-wallet

Replay from a snapshot, blocks.log, or V1 History archive



This step is optional to save time when syncing a node. If it is skipped, the node will sync from genesis and can take several hours.

To save time on startup, your node may be bootstrapped with a snapshot of data from a running node. Refer to Nodeos Replay for instructions on replaying from a snapshot, blocks.log, or V1 History archive.

Configure nodeos settings

Edit the settings for nodeos:

sudo vi /etc/fio/nodeos/config.ini

P2P nodes are updated more frequently than the .deb package, if there are a large number of P2P nodes that are unreachable, it's possible to get a list of healthy nodes from the FIO Mainnet Health page..

The default genesis file is for startup of a mainnet node. If running a testnet node, copy the testnet genesis configuration file into place:

sudo cp /etc/fio/nodeos/genesis-testnet.json /etc/fio/nodeos/genesis.json

V1 History configuration

OPTIONAL: If the light-history (v1 history) feature is needed, follow the V1 History configuration instructions.

Run nodeos

Enable nodeos daemon at runtime, and start:

sudo systemctl enable fio-nodeos
sudo systemctl start fio-nodeos

Block processing including synchronization will show in the logs:

tail -f /var/log/fio/nodeos.log