Presearch node setup w/Racknerd + docker PRE INSTALLED!
T.A. with Keith Laye
alright, here's the simple codes you need to input. remember to use your registration code in step 2!
Hi everyone, I have some good news. Deploying your Presearch node with RackNerd is now easier than ever before with RackNerd's NEW Ubuntu 18.04 OS template with Docker preinstalled! This means that 90% of the code work is already done for you and all you need to do is initialize Presearch with your registration code!
DEPLOYING A NEW VPS? Simply select "Ubuntu 18.04 with Docker" as your VPS's operating system system (OS) in the RackNerd order form under the "Configurable Options" section. See screenshot: https://i.ibb.co/0Zs43FW/Screen-Shot-2021-10-02-at-9-14-27-AM.png
Once the VPS is up, you only need to run the below 4 commands in SSH! WOW, talk about making life a lot easier 😎
Step #1: Wait 10 minutes for your newly ordered VPS to install the OS, then log into SSH. Here's a video on how to SSH into your VPS: https://www.youtube.com/watch?v=QflVPpjrj2c
Step #2: Run this command to install the Presearch Node Auto-Updater service. This configures your system to automatically check for Presearch node updates every 5 minutes.
docker run -d --name presearch-auto-updater --restart=unless-stopped -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --interval 300 presearch-node
Step #3: Run this command to pull the Presearch node installation:
docker pull presearch/node
Step #4: Run this command to start your Presearch node, but replace "XXXXX" with your Presearch Node Registration Code. NOTE: Be careful to replace it with your Node Registration Code, NOT the API key! You can find your Node Registration Code at https://nodes.presearch.org/dashboard
docker run -dt --name presearch-node --restart=unless-stopped -v presearch-node-storage:/app/node -e REGISTRATION_CODE=XXXXX presearch/node
Step #5: Verify the node is running and listening for searches by running:
docker logs -f presearch-node
If you followed the above steps correctly, you will see a "Node is listening for searches..." message.
Once it says that, you can close the SSH window and you are all done with setting up your VPS as a Presearch Node! That was easy ... https://www.youtube.com/watch?v=dV0SeTYEoaU
55749107 Bytes