# Instructions

## 1. **Enable Hyper-V (Virtualization)**

{% tabs fullWidth="false" %}
{% tab title="Method 1: Set through the Windows interface" %}

#### 1. Select **Turn Windows features on or off** from the Windows menu.

#### 2. Check the options for **Hyper-V** and **Virtual Machine Platform for Linux & Windows**, then click Save.

#### 3. Restart your computer.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FiSAiGDv8CNhtrQmhCFNM%2F%EA%B9%83%EB%B6%81%20(1).png?alt=media&#x26;token=e7ef0e9d-bb2a-428e-bbc4-e74ea2e58aee" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Method 2: BIOS Settings" %}

#### **1. Restart Your Computer**: During startup, press the designated key (typically F2, F10, F12, or Delete) to enter the BIOS settings.&#x20;

{% hint style="info" %}
Note: During startup, you may see a message at the bottom of the screen indicating the correct key to press to enter the BIOS setup. If you're unsure, check your computer’s motherboard manual for the exact key.
{% endhint %}

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2Ff8ghFzXW7Ohm1cgvAjNV%2Fimage.png?alt=media&#x26;token=3fa5da5c-0b95-4edf-ba07-c1340949f887" alt=""><figcaption></figcaption></figure>

#### 2. **Navigate to Virtualization Settings**:

* On most motherboards, the virtualization option can be found in sections like **Advanced**, **CPU Configuration**, or **Overclocking Settings**.
* Look for **SVM Mode** (as shown in the screenshot below) or other terms like **CPU Virtualization**, **Intel VT-x**, or **Intel Virtualization Technology**, depending on your processor.

#### 3. **Enable Hyper-V**: Set **SVM Mode** or the equivalent setting to **Enabled**. This enables virtualization support required for Hyper-V.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FiKddGvwshXt4ahkXiFW9%2Fimage.png?alt=media&#x26;token=83ea3c3c-8cff-42a1-b39e-6f5f1a7e9534" alt=""><figcaption></figcaption></figure>

#### 4. **Save and Exit**: Save your changes and exit the BIOS. Your computer will restart.

{% endtab %}
{% endtabs %}

## 2. **Install Windows Subsystem for Linux (WSL)**

#### 1. **Open PowerShell**

Open the Windows search bar and type "**PowerShell**"**.**

{% hint style="info" %}
In the search results, **select "Run as Administrator"** from the options on the right side of the screen \
(as shown in the screenshot below).
{% endhint %}

<div align="left"><figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FWhz1EZn4V8FAg9yDmCEt%2Fimage.png?alt=media&#x26;token=9dff2ec3-9dd0-408f-b72b-469075701469" alt=""><figcaption></figcaption></figure></div>

#### 2. **Install WSL**: Execute the following command:

```
wsl --install
```

{% hint style="info" %}
*This command installs the Windows Subsystem for Linux, enabling a Linux environment to run directly on your Windows system. Ensure the command completes successfully before proceeding to the next step.*
{% endhint %}

## 3. **Install Docker**

1. &#x20;[**Download Docker Desktop**](https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe) **:** Download the Docker Desktop installer from the official website
2. &#x20;**Run the Installer**

   Follow the instructions to complete the installation.
3. **Restart Your Computer**\
   Once the installation is complete, restart your computer.

## 4. **Disable Sleep Mode** *(Recommended)*

1. **Open Power Settings**\
   Go to **\[Settings > System > Power & Battery]**
2. **Change Sleep Mode to 'Never'**\
   In the "Screen and Sleep" section, set all options to **'Don't use'** or **'Never'**.\
   If you're using a laptop, make sure to set sleep mode to **'Never'** when running on battery power as well.

<div align="left"><figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FmNAA0XBHFmLkm7BDgLVp%2Fimage.png?alt=media&#x26;token=ea84385b-db26-457b-986a-2b7147133b07" alt=""><figcaption></figcaption></figure></div>

{% hint style="success" %}
Disabling sleep mode can help prevent unexpected interruptions while running nodes.
{% endhint %}

## 5. Installing and Setting Up LFG Node CLI

#### 1. Run PowerShell as Administrator.

#### 2. Run the Docker program.

#### 3. Execute the Installation Script

Copy and paste the command below into PowerShell and run it:

```
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri 'https://link.lfg.inc/lfgnode-windows-script' -OutFile '$PWD\Windows_Install.ps1'; & '$PWD\Windows_Install.ps1'"
```

This script will automatically download and install the Meer Node CLI.

Once the command completes, your **Node Address** will be displayed.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FEhpJjipoNU3HPQEt0rmv%2Fimage.png?alt=media&#x26;token=9cb7d7c3-438d-4dfc-9006-73c994e12586" alt=""><figcaption></figcaption></figure>

#### 4. Copy the Node Address and Access the Dashboard

Copy the Node Address displayed in PowerShell.

{% hint style="danger" %}
Use right-click to copy instead of Ctrl + C, as using Ctrl + C may interrupt the installation.
{% endhint %}

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FS3US4e5m8EDc2XnBCnWP%2Fimage.png?alt=media&#x26;token=0338c889-f4ba-4b6a-ba5c-5fc42e997280" alt=""><figcaption></figcaption></figure>

#### 5. Access the [Node Dashboard](https://node.lfg.inc/) and Connect

{% embed url="<https://node.lfg.inc/>" %}

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FwslDaxRx4JEGULPMfcva%2Fimage.png?alt=media&#x26;token=0cdb8a67-eca4-4d23-a96a-fa0b89ba193b" alt=""><figcaption></figcaption></figure>

#### 6. Click **\[Add Node]** → Enter the **Node Address** and assign a name → Click **\[Add]**

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FaKapOJss5KBaw7UPrBKV%2Fimage.png?alt=media&#x26;token=1f61b583-9579-4f89-a9d8-4d24646676af" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FSg1HZCe0XMCiHGjWuV0d%2Fimage.png?alt=media&#x26;token=bd723418-d572-4763-87b4-b57b8512f933" alt=""><figcaption></figcaption></figure>

#### 7. After confirming the signature in wallet, the node will be successfully added.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FXxQbLRYZoYh7IwL5cbtV%2Fimage.png?alt=media&#x26;token=aee1d597-a388-435e-9122-2e307d2bd727" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2Fb8xCyQkRXRtLUYK3IBPj%2Fimage.png?alt=media&#x26;token=9f9d02bc-ae74-4f26-b216-0429d251aa24" alt=""><figcaption></figcaption></figure>

#### 8.  Starting the Meer Node Server

Make sure the Docker program is running.

Once the Node Address has been added to the dashboard, return to PowerShell and press **Enter**.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FTsWImXFHSBbTDFZk5P7Q%2Fimage.png?alt=media&#x26;token=750f235b-9543-4324-92a4-552fc5652e36" alt=""><figcaption></figcaption></figure>

#### 9. When prompted with this message: 'Enter the workload number you would like to add'

**enter `1`**.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FZPA7Rc8E0cXdwKsyNpx5%2F%EA%B9%83%EB%B6%81.png?alt=media&#x26;token=26772bc1-f2a9-46e8-b2d8-c3ac416969a5" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Always enter `1`, regardless of the number of licenses.)
{% endhint %}

#### 10. After successful activation, you'll see:  **`Workload added successfully`**

* Then you'll be prompted with: **`Would you like to run another workload? (y/n)`**
* Enter `n` to finish and exit.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FCozlSOwUHy2c3etv7mTk%2Fimage.png?alt=media&#x26;token=96c4e84c-8d0c-4bd7-a281-4dde53dad255" alt=""><figcaption></figcaption></figure>

Press `Enter` to exit the script.

{% hint style="info" %}
Even if you install workloads on three different servers using the same wallet, only the one with the longest uptime will be counted toward your rewards.
{% endhint %}

***

### **Installation Complete**

Once this process is finished, the Node CLI will be successfully installed and running.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2Ff0XQVJshfj9Rd6kOq5VP%2Fimage.png?alt=media&#x26;token=19d732d7-3c0a-4559-88a9-0bded143e015" alt=""><figcaption></figcaption></figure>

For any issues or further assistance, please reach out to our team via the Discord community.

{% hint style="warning" %}
Only nodes that run for more than 75% of the 24-hour period (i.e., 18 hours) will be eligible for rewards.\
\&#xNAN;*(Eligibility will be checked on a 24-hour basis.)*
{% endhint %}

***

### \* Manually Restart Installation if It Fails

#### 1. Start the Meer Node Server Using a Command (If Pressing Enter Fails)

If pressing **Enter** fails to proceed, start the Meer Node server manually.\
Copy and paste the command below into PowerShell and run it to restart the installation process:

```
lfgnode start
```

Once the process is running normally, the **Node status** in the dashboard will change from **Offline** to **Online**.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FEcfDCnCeK6oNEQ4sRdb6%2Fimage.png?alt=media&#x26;token=35bd657c-9708-40d9-8106-d3f7df832fff" alt=""><figcaption></figcaption></figure>

#### 2. Use the command below to check the current status of your node:

```
// lfgnode status
```

#### 3. If the **Meer Node Workload** is not added after restarting, use the following command to add it manually:

Copy and paste the command below and run it:

```
// lfgnode workload add meer
```

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2Fjh9XNkAMs0JkR1H0wTwQ%2Fimage.png?alt=media&#x26;token=ddd5a682-6e51-49ba-8081-63fba2718aaf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FKcYi3dOjh95yrIYVg39x%2Fimage.png?alt=media&#x26;token=c48bd4d5-1e19-495e-a169-a8138de8220b" alt=""><figcaption></figcaption></figure>

#### The **Meer Node** will be added to the **Workload** section of the dashboard.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FgNVhxfppNBlOTwsQzzdI%2Fimage.png?alt=media&#x26;token=e5cb9e7c-5b37-4b14-ad5b-f6ddd5a50828" alt=""><figcaption></figcaption></figure>

***

### Basic Commands

#### : Checking Node and Workload Status

You can check the current status of the node using the command below:

```
// lfgnode status
```

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2Fc26WxKTUjPfuzonsDqme%2Fimage.png?alt=media&#x26;token=0bfa3e29-8f2c-467d-97c4-e2a01a668626" alt=""><figcaption></figcaption></figure>

You can check the current status of the workload using the following command:

```
// lfgnode workload status meer
```

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2Fbcvb6bhrrgQZywoQxrHD%2Fimage.png?alt=media&#x26;token=060136d0-84ce-43af-9915-98f17d1b269b" alt=""><figcaption></figcaption></figure>

After setting up the node, it may take up to **5 minutes** for the node status to appear on the dashboard.
