3.3 KiB
Install on CentOS/Red Hat with yum
This page describes the recommended instructions for installing the latest stable version of rippled on CentOS 7 or Red Hat Enterprise Linux 7, using Ripple's yum repository.
These instructions install a binary that has been compiled by Ripple.
Prerequisites
Before you install rippled, you must meet the System Requirements.
Installation Steps
-
Install the Ripple RPM repository:
Choose the appropriate RPM repository for the stability of releases you want:
stablefor the latest production release (masterbranch)unstablefor pre-release builds (releasebranch)nightlyfor experimental/development builds (developbranch)
Stable
$ cat << REPOFILE | sudo tee /etc/yum.repos.d/ripple.repo [ripple-stable] name=XRP Ledger Packages enabled=1 gpgcheck=0 repo_gpgcheck=1 baseurl=https://repos.ripple.com/repos/rippled-rpm/stable/ gpgkey=https://repos.ripple.com/repos/rippled-rpm/stable/repodata/repomd.xml.key REPOFILEPre-release
$ cat << REPOFILE | sudo tee /etc/yum.repos.d/ripple.repo [ripple-unstable] name=XRP Ledger Packages enabled=1 gpgcheck=0 repo_gpgcheck=1 baseurl=https://repos.ripple.com/repos/rippled-rpm/unstable/ gpgkey=https://repos.ripple.com/repos/rippled-rpm/unstable/repodata/repomd.xml.key REPOFILEDevelopment
$ cat << REPOFILE | sudo tee /etc/yum.repos.d/ripple.repo [ripple-nightly] name=XRP Ledger Packages enabled=1 gpgcheck=0 repo_gpgcheck=1 baseurl=https://repos.ripple.com/repos/rippled-rpm/nightly/ gpgkey=https://repos.ripple.com/repos/rippled-rpm/nightly/repodata/repomd.xml.key REPOFILE -
Fetch the latest repo updates:
$ sudo yum -y update -
Install the new
rippledpackage:$ sudo yum install rippledVersion 1.3.1 does not require any changes to your config files (
rippled.cfgandvalidators.txt). This update procedure leaves your existing config files in place. -
Reload systemd unit files:
$ sudo systemctl daemon-reload -
Configure the
rippledservice to start on boot:$ sudo systemctl enable rippled.service -
Start the
rippledservice:$ sudo systemctl start rippled.service
Next Steps
{% include '_snippets/post-rippled-install.md' %}
See Also
- Concepts:
- Tutorials:
- References:
- rippled API Reference
rippledCommandline Usage- [server_info method][]
- rippled API Reference
{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}