A script to automate the installation of electrumx 🤖
Installing electrumx isn't really straight-forward (yet). You have to install the latest version of Python and various dependencies for one of the database engines. Then you have to integrate electrumx into your init system.
electrumx-installer
simplifies this process to running a single command. All that's left to do for you
is to customise the configuration and to start electrumx.
This installs electrumx using the default options:
wget https://raw.githubusercontent.com/zclassicdev/electrumx-installer/master/bootstrap.sh -O - | bash
You can also set some options if you want more control:
-d --dbdir | Set database directory (default: /db/) |
---|---|
--update | Update previously installed version |
--leveldb | Use LevelDB instead of RocksDB |
For example:
wget https://raw.githubusercontent.com/zclassicdev/electrumx-installer/master/bootstrap.sh -O - | bash -s - -d /media/ssd/electrum-db
The following operating systems are officially supported and automatically being tested against:
OS | Status |
---|---|
Debian Jessie | |
Ubuntu 16.04 | |
CentOS 7 | |
Debian Stretch | |
Alpine Edge |
If you prefer a different operating system that's not listed here, see
distributions/README.md
to find out how to add it.
Or open an issue if you'd rather not do that yourself.