Page cover

NEXUS LABS TESTNET II

1/ Install Kali linux on Microsoft Store for Linux Shell

2/ How to Install Ubuntu?

Search on your PC Micosoft Store

Search Ubuntu Install Ubuntu 22.04.5 LTS

Once you Installed

3/ How to Enable WSL and Subsystem Linux

Step 1 - Enable the Windows Subsystem for Linux

You must first enable the "Windows Subsystem for Linux" optional feature before installing any Linux distributions on Windows.

  • Enable Windows Subsystem Linux for Linux

Run Open PowerShell as Administrator (Start menu > PowerShell > right-click > Run as Administrator) and enter this command:

Copy This Command

Copy

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Download the latest package:

  1. Run the update package downloaded in the previous step. (Double-click to run - you will be prompted for elevated permissions, select ‘yes’ to approve this installation.)

Set WSL 2 as your default version

Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution:

Copy

wsl --set-default-version 2

4/ Run a CLI Node

Go to https://app.nexus.xyz/nodes sign in Email or exist Account if you Participate on testnet 1

Run a node By simple Open Click Connect

Open Ubuntu

Run a CLI NODE Copy and paste

1/ Code

sudo apt update -y
 apt install unzip tmux git -y
sudo apt install build-essential -y
sudo apt install -y pkg-config libssl-dev -y
cd /usr/local
sudo wget https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protoc-29.3-linux-x86_64.zip
sudo unzip protoc-29.3-linux-x86_64.zip
sudo chmod +x /usr/local/bin/protoc
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"
source $HOME/.cargo/env

2/ Code

tmux new -s nexus

3/ After you enter, Erase the blank, and chose 2 hit enter

curl https://cli.nexus.xyz/ | sh

4/ Add Node > Add CLI Node

Once you see Paste the code CLI on 3/ you see this in image, to not encounter error just long press the backspace to erase hide code, then input 2 hit enter

You see this Enter your Node ID by doing the step 4/ add node cli step guide

AFTER THAT YOUR ALL SET!


ABOUT ON SIMPLE CLICK TO FIX THE ISSUE

PRESS F12 > Console > Scroll Below you see the part, type "allowing paste" > after you do that step copy the code below and paste it and enter, Done.

(function autoClick() {
    const targetSelector = '.relative.w-24.h-16.rounded-full.cursor-pointer';
    const checkInterval = 2000; // Check every 2 seconds

    function checkAndClick() {
        const target = document.querySelector(targetSelector);

        if (target) {
            console.log("Target found!");

            const img = target.querySelector('img[alt="Circle Image"]');
            if (img && img.classList.contains("brightness-0") && img.classList.contains("invert")) {
                console.log("Not connected! Clicking...");
                target.click();
            } else {
                console.log("Already connected.");
            }
        } else {
            console.log("Target not found.");
        }
    }

    setInterval(checkAndClick, checkInterval);
})();

Last updated