First of all make sure you are running the latest software. A guide for installing the latest software on Ubuntu 18.04 can be found here.
Become root using sudo -i
Run allmine_bmc_update and follow the instructions onscreen
If you need any assistance feel free to submit a ticket or contact us in the #allmine-inc channel on the fpga discord https://discord.gg/PKGtx8b
Allmine support team