Files
xrpl-dev-portal/content/tutorials/manage-the-rippled-server/installation/update-rippled-manually-on-centos-rhel.md
mDuo13 1ec28eba32 Minor updates to install docs
- Update mentions of Ubuntu 16.04 which is past end-of-life
- Fewer mentions of "rippled" name
- Remove $ from copy-pasteable commands
- Other small wording cleanup
2021-12-07 15:59:00 -08:00

2.3 KiB

html, parent, blurb, labels
html parent blurb labels
update-rippled-manually-on-centos-rhel.html install-rippled.html Manually update rippled on CentOS or Red Hat Enterprise Linux.
Core Server
Security

Update Manually on CentOS/Red Hat

This page describes how to update manually to the latest release of rippled on CentOS or Red Hat Enterprise Linux. Ripple recommends setting up automatic updates instead, where possible.

These instructions assume you have already installed rippled from the yum repository.

Tip: To perform these steps all at once, you can run the /opt/ripple/bin/update-rippled.sh script, which is included with the rippled package. This script should be run as a sudo user.

To update manually, complete the following steps:

  1. If you are upgrading to rippled 1.7.0 from an earlier version, re-add the repository to get Ripple's updated GPG key. Otherwise, skip this step:

     $ 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
     REPOFILE
    
  2. Download and install the latest rippled package:

     $ sudo yum update rippled
    

    This update procedure leaves your existing config files in place.

  3. Reload the systemd unit files:

     $ sudo systemctl daemon-reload
    
  4. Restart the rippled service:

     $ sudo service rippled restart
    

See Also

{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}