How to run your own Wownero RPC node on a Linux server using Ansible

Started by dsc, Apr 21, 2021, 02:14 PM

Previous topic - Next topic

dsc

Credits go to @asymptotically for creating `ansible-remote-nodes`

This guide will use the following Ansible project to deploy Wownero RPC on the servers that you specify.

https://git.wownero.com/dsc/ansible-remote-node

This guide assumes that you can SSH into the root account on your deployment servers.

## Step 1

Clone the project.

```text
$ git clone https://git.wownero.com/dsc/ansible-remote-node.git
$ cd ansible-remote-node
```

## Step 2

There is a file called `inventory.ini` in the directory. Edit it so it include your server(s). For example the default values are:

```
[all]
de1.wownodes.com
us1.wownodes.com
sg1.wownodes.com
```

Change this into:

```
[all]
my.server.com
some_ip_address
```

## Step 3

Install and activate a python3 virtualenv

```
$ virtualenv -p /usr/bin/python3 venv
$ source venv/bin/activate
```

## Step 4

Deploy the Wownero daemon to your server(s).

```
$ ansible-playbook -i inventory.ini site.yaml
```

## Step 5

Check that Wownerod is running on the remote server by visiting:

```
http://my.server.com:34568/get_info
```


Kontvolkoren

Hmm, got some Raspberry Pi's here. Might run a node on one of them and then maybe get a cool case for it, like this one. Or maybe design my own case instead. :thinking: