Oddbean new post about | logout
 What's the best set of instructions for setting up a relay on a VPS? I'm not an expert with installing in console on Linux but I get by. It'd have to be clear and step-by-step. Thanks #nostriches #asknostr 
 You can use this guide that was just posted the other day.

nostr:nevent1qqs0nrn6psztda7n7042nhcq5t9mx8k7hnguftvex6msjlyf5whpntcpz3mhxue69uhhyetvv9ukzcnvv5hx7un89upzpckv7l8jqspl8u4y54dn9rcduwlrs4v2040nxce0m2h0cunvrj8tqvzqqqqqqy6g4evt 
 Thanks so much for this. I tried it and am running into a different error than the chap in the video did. Going to scrap this instance and start over. I cannot install it on my machine at the house so I am trying with VPS using this. I'm using Ubuntu Server 22.04 on Cloudzy 
 What error 
 g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[1]: *** [<builtin>: src/Socket.o] Error 1
make[1]: *** Waiting for unfinished jobs....
 
 ~/strfry# compilation terminated. 
 Type

sudo journalctl | grep strfry 
 Sep 24 23:04:44 ubuntu-US-Miami-1gb sudo[23537]:     root : TTY=pts/0 ; PWD=/root/strfry ; USER=root ; COMMAND=/usr/bin/apt install -y git build-essential libyaml-perl libtemplate-perl libregexp-grammars-perl libssl-dev zlib1g-dev liblmdb-dev libflatbuffers-dev libsecp256k1-dev libzstd-dev ufw
Sep 24 23:17:48 ubuntu-US-Miami-1gb sudo[24726]:     root : TTY=pts/0 ; PWD=/root/strfry ; USER=root ; COMMAND=/usr/bin/journalctl
 
 Did you sudo apt update before starting  
 Yeah. I've been trying this all day with other sets of instructions. Making new instances each time it errored out after following directions. Lol. And now with this tutorial still running into issues. Lord have mercy.  
 Strfry recommends 2gb of memory and I see you only have 1gb. You are probably getting OOM errors

sudo nano /var/log/syslog 
 Ahhh.. Ok. I'll up the instance to 2 GB. Let me try that and we'll cross our fingers 
 I got it set up @utxo the webmaster 🧑‍💻 !! Thanks so much for pointing me in the right direction. I haven't messed with console since I was setting up miners quite a few years ago. I appreciate it 
 You're welcome.🙏

Btw I am the chap in the tutorial 😂 
 Yeah. I realized that after watching a little more. Lol.  
 I'm going to break my leg kicking my own ass if that 1GB was the culprit 🤣  
 You can also skip all the steps and just buy one from relaying.io but otherwise you can check the tutorial  
 Thanks very much!