Installation Guide
Windows installers are available here: mmx-node/releases
Linux binary packages are available here: mmx-node/releases
To install a binary package:
sudo apt install ~/Downloads/mmx-node-1.1.7-amd64-ubuntu-20.04.debThis will automatically install dependencies as well.
When no matching package is found, continue below to build from source.
Ubuntu Linux:
sudo apt updatesudo apt install git cmake build-essential automake libtool pkg-config curl libminiupnpc-dev libjemalloc-dev libzstd-dev zlib1g-dev ocl-icd-opencl-dev clinfo screen# Optional dependencies:sudo apt install qtwebengine5-dev # for native GUIsudo apt install nvidia-cuda-toolkit # for CUDA compute (farming)Arch Linux:
sudo pacman -Syusudo pacman -S base-devel git cmake curl miniupnpc jemalloc zstd zlib opencl-headers ocl-icd clinfo screen# Optional dependencies:sudo pacman -S qt5-webengine # for native GUIsudo pacman -S cuda # for CUDA compute (farming)Fedora Linux:
sudo yum install kernel-devel git cmake automake libtool curl gcc gcc-c++ miniupnpc-devel jemalloc-devel ocl-icd-devel zlib-ng-devel zstd clinfo screen# Optional dependencies:sudo yum install qt5-qtwebengine-devel # for native GUIgit clone https://github.com/madMAx43v3r/mmx-node.gitcd mmx-node./update.shTo disable QT GUI: ./update.sh -D DISABLE_QT=1
To disable CUDA support: ./update.sh -D DISABLE_CUDA=1
These settings are stored, until the next ./clean_all.sh, so only needs to be specified once. To enable again, set the config to 0.
To update to latest version:
./update.shIf the build is broken for some reason:
./clean_all.sh./update.shThis is needed when updating system packages for example.
To setup Ubuntu 20.04 in WSL on Windows you can follow the tutorial over here:
Get started with Windows Subsystem for Linux
In steps, make sure to install: Ubuntu on Windows
Then type “Ubuntu” in the start menu and start it, you will be asked to setup a user and password. After that you can follow the normal instructions for Ubuntu 20.04.
To get OpenCL working in WSL: OpenCL coming to WSL
To change the storage path for everything you can set environment variable MMX_HOME to /your/path/ (trailing slash required). By default the current directory is used, ie. mmx-node.
To run a node on testnet: echo testnet13 > NETWORK and restart.
To switch back to mainnet: rm NETWORK and restart.
Alternatively, it’s possible to run testnet in parallel via docker:
mmx-node/scripts/docker/mmx-testnet