bauerj / electrumx-installer

A script to automate the installation of electrumx 🤖
Apache License 2.0
66 stars 115 forks source link
automation bash electrumx installer

electrumx-installer

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.

Usage

This installs electrumx using the default options:

wget https://raw.githubusercontent.com/bauerj/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/bauerj/electrumx-installer/master/bootstrap.sh -O - | bash -s - -d /media/ssd/electrum-db

Operating System Compatibility

The following operating systems are officially supported and automatically being tested against:

OS Status
Ubuntu 20.04 ubuntu
Ubuntu 18.04 ubuntu
Fedora 29 centos
Ubuntu 16.04 ubuntu
CentOS 7 centos
Debian Stretch debian
Debian Buster debian

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.