Docker Install & Node Setup

Start by visiting the Presearch node site.

Currently, you need to sign up for the Beta program to run a node on the test network. Until you get put on the white list you won’t have access to the node staking dashboard. The dashboard is where you get your node registration code. You need this code to register any node you deploy.

NOTE: My Nodes all run on Debian Linux so all my instruction will be for a Linux setup.

After you get added to the Beta white list there are a number of steps you need to take to get your node(s) set up and accepting testnet search traffic.

  1. First, get your hands on a Linux computer. It needs to be an x86_64 / amd64. ARM based (Raspberry Pi) computer are not currently supported. This computer can run on your home network or in the cloud it’s up to you. You will need a good internet connection and a computer that you can leave running 24 hours a day. A laptop will run, but it won’t cut it when they switch your node over to production traffic.
  2. Install Docker if it’s not already installed.

Here are the Docker commands if you don’t want to dig through the Docker website . Just run them in order and you should be good to go.

NOTE: Do not include the “$” when you cut and paste. I’m just showing that this code get’s input at the command prompt

Uninstall any old versions of Docker:

$ sudo apt-get remove docker docker-engine docker.io containerd runc

SET UP THE REPOSITORY
Update the apt package index and install packages to allow apt to use a repository over HTTPS:

$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common

Add Docker’s official GPG key:

$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -

Verify that you now have the key with the fingerprint 9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.

$ sudo apt-key fingerprint 0EBFCD88

pub   4096R/0EBFCD88 2017-02-22
      Key fingerprint = 9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid                  Docker Release (CE deb) <docker@docker.com>
sub   4096R/F273FCD8 2017-02-22

Use the following command to set up the stable repository.

$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/debian \
   $(lsb_release -cs) \
   stable"

INSTALL DOCKER ENGINE

$ sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli containerd.io

Verify that Docker Engine is installed correctly by running the hello-world image.

$ sudo docker run hello-world

It will show you a message the says Docker was successfully installed. If it does you have Docker installed properly. HOORAY!

You’re almost done, hang in there!

3.Register your node and get a registration code.

4. Run the node automatic install & start commands. Make sure you start all commands with “sudo

The Automatic install and start commands can be found here.

NOTE: Make sure you cut and paste your personal registration code over the “YOUR_CODE_HERE” section of the command. It’s easy to delete the code before and after it so if your registration fails start, review the last command and make sure that you only deleted the “YOUR_CODE_HERE” text.

If you see the Presearch “P” in your terminal window you are done!