Configuring a Private Rippled Server on DigitalOcean Droplet

Posted August 3, 2021 230 views
Programming ProjectDatabasesDigitalOcean VPCDigitalOcean DropletsBuilding on DigitalOcean

Hi! So I am part of a team that is working on the XRP Ledger in order to work with NFTs and cryptocurrency transactions. Part of this includes running a rippled server that can act as a validator which is necessary for our platform.

Currently, I am the only person on my team who has access to this rippled server because I configured it on my computer. However, I would like for the rest of my team to access this server via a droplet. Ideally, what should be happening is that any one of my team members can just ssh into the Droplet, run the rippled server on their own computer and start using the validators.

However, I am running into a dead-end. There is almost no literature on the internet about how to do this, and I am not entirely sure how I would “upload” my own private rippled server to a Droplet.

The only thing I can think of is to download and configure a NEW rippled server on the Droplet itself. However there are two issues with this:
1) In the rippled server, there is a configurations file and a validators file which I need to have write permissions to in order to actually run the server. But, if I configure a new server on the Droplet, those files will be on the Droplet and not my own computer which means I can’t actually allow myself to have write permissions to said files because I don’t own them.
2) Even if I solved the first issue, other people will not be able to startup this rippled server on their own computers because of the exact same issue- they don’t have write permission to the configuration and validators file, which defeats the entire purpose of having a droplet in the first place.

Is there anything I can do? (How can I upload a private server from my computer onto the droplet so that everyone else on my team can use it?)

Thank you.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

Uploading the server directly is most likely not doable due to the different operating systems.

What you could do is to set up the server from scratch on your Ubuntu Droplet as per the official instructions here:

Once you have the service installed, you could follow the steps here on how to configure a private server here:

Once you have this configured, I would also recommend adding a firewall as per the instructions here:

Hope that this helps.

by Brian Boucheron
by Erika Heidi
UFW, or Uncomplicated Firewall, is an interface to iptables that is geared towards simplifying the process of configuring a firewall on Linux servers. In this guide, you'll learn how to set up a firewall with UFW on Ubuntu 18.04.