# Instructions

## 1. Open the Terminal and enter Root access

Open the Terminal and enter the following command:

```
sudo su
```

Enter your password (input is hidden but working normally)

## 2. Download and run the installation script

#### 1. Copy and paste the following command into the terminal and run it:

```
wget -O lfg.sh https://link.lfg.inc/lfgnode-linux-script && chmod +x lfg.sh && bash lfg.sh
```

![](https://support.lfg.inc/hc/article_attachments/29852051646875)

{% hint style="info" %}
*This will install the latest updates for Linux, Docker, and the Meer Node CLI.*
{% endhint %}

#### 2. If you're prompted about restarting services during the installation, select **all options** and press **\[OK]** to proceed.

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FJRbAEUE9z26rmvcQrxN9%2Fimage.png?alt=media&#x26;token=3d4d701a-9f90-40e3-bd73-58c482d7a2b3" alt=""><figcaption></figcaption></figure>

## 3. Copy the Node Address and access the dashboard

Copy the Node Address displayed in the terminal.

{% 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%2FEnglqmlzCHt8qUT1ieyp%2Fimage.png?alt=media&#x26;token=6e66f2f3-f6d8-4cf2-b927-540a9ec4d6b3" alt=""><figcaption></figcaption></figure>

## 4. Add the Node and Configure the Workload

#### 1. **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%2F6vcRXlgvpaX7KjDI9lIO%2Fimage.png?alt=media&#x26;token=2e47c723-f4a3-4a95-a3d1-5d8ba53058a3" alt=""><figcaption></figcaption></figure>

#### 2. 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%2FufEmicbUMkmuKo0hdt1w%2Fimage.png?alt=media&#x26;token=80de1cb7-16fd-4a66-9a02-e47e8c77b160" alt=""><figcaption></figcaption></figure>

#### 3. **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%2FeWlPRxBQOFzX2ZbpNs9O%2Fimage.png?alt=media&#x26;token=1fd1806a-1cce-46fa-9c87-1a3f135a5e1c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FAlms5p5HCmxZNwPUPpMN%2Fimage.png?alt=media&#x26;token=d4294caa-b7a0-4410-a597-1a3d8184769e" alt=""><figcaption></figcaption></figure>

## 5. Start the Meer Node Server

#### 1. Make sure the Docker program is running.

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

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2F3h60AHdhc4GwnITYR3VO%2Fimage.png?alt=media&#x26;token=28f76d6d-a3e2-40db-9dd0-5559d3c0e2cb" alt=""><figcaption></figcaption></figure>

#### 2. 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 %}

#### 3. 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%2FBJLChsNvFnEDQytRLMvE%2Fimage.png?alt=media&#x26;token=ab3cbd47-0d25-4965-a3a5-c41a72621c79" 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 have been running for more than 75% of the time (18 hours) within a 24-hour period will be eligible for rewards. (Eligibility will be checked for each node on a 24-hour basis.)
{% endhint %}

***

### \* Manually Restart Installation if It Fails

**1. Start the Meer Node Server with Command if \[Enter] Fails**

If pressing `Enter` did not start the server, run the command below in the terminal to restart the installation process:

```
// lfgnode start
```

When running properly, the **Node status** on 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%2FTH0qkFnmciTdvNO4FSZj%2Fimage.png?alt=media&#x26;token=c711fb62-b11f-49bd-bbfd-f630b9577b0a" 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%2FaV6DMqnYo7ZBR1gg0JzE%2Fimage.png?alt=media&#x26;token=e233cbda-be4a-4199-a92e-68274a233a8d" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1255535217-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZIHw7HTCPQ8oo3QFZDVD%2Fuploads%2FuVNEalzAQ4nk15tAAgX5%2Fimage.png?alt=media&#x26;token=76d33c90-2117-4fc2-addc-03166515b915" 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%2FhSnXh4EMjRanx4UODas6%2Fimage.png?alt=media&#x26;token=463798ee-9e0a-480d-bdfe-bc35c2d3c4a5" 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.
