# MiningSentry NUC Installation and Deployment

## 1 Document Description&#x20;

### 1.1 Basic Information

Project name: MinerPlus Yardos-agent\
The Yardos-agent is the terminal software deployed on the client side of the MinerPlus platform. It is responsible for collecting and monitoring data of the miners and executing the operations and maintenance tasks issued by the user.

### 1.2 Document Purpose

This document describes the installation process of the Yardos-agent, including the installation of the basic environment of the NUC system.

## 2 Installation and Deployment

### &#x20;2.1 Hardware Standards

Brand: Intel NUC

System Version: Cent OS 7.5, 64bit

### 2.2 Network Topology Location

It is recommended that the NUC is placed under the core switch, to ensure it can access all miner network segments and the internet.

### 2.3 Software Installation Package List

\- yardos-agent\_1.3.40-10340-Stable-Linux.tar.gz

### 2.4 Installation Steps

#### 2.4.1 System Installation

Step 1) The system version is Cent OS 7.5, 64bit.

Download link: <https://pan.baidu.com/s/1sdejglxdNRmlh8UDut62dg>

&#x20;Extraction code: (Please contact the MinerPlus O\&M team to obtain. Telegram:<https://t.me/realminerplus>.)&#x20;

Step 2) After downloading the image, use a USB flashing tool to write the ISO to a USB. Then use the USB to install the operating system on the NUC.&#x20;

**USB disk tutorial:**\
Download and install UItralSO software. Open the software after installation, as shown below

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWqH9oASgDVqQv0-rJ%2Fimage.png?alt=media\&token=8f8eac1f-446d-456e-8ab1-23f307aa80b4)

In UltraISO, select the image file for Cent OS which you previously downloaded.&#x20;

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWr5fGjF7p0gybNWVz%2Fimage.png?alt=media\&token=b5700f5f-023f-4707-8853-f1f8df79f9cb)

Ensure you have selected the correct USB drive for writing, then click "write".

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrEUMn3-u5ku3zUky%2Fimage.png?alt=media\&token=c9d20d91-60bc-4ad5-9f15-98443cea7e73)

Once completed, you will see a "burning success" prompt.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrMK2pNLeTkHTcKDU%2Fimage.png?alt=media\&token=32163010-a3ef-413f-beb9-ccfcb97c5043)

**Cent OS 7.0 installation:**\
Insert the USB into your NUC and boot into BIOS. Change the first startup option to the USB. Save and exit the BIOS. When booting you will see the following interface. Select the first item and press Enter.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrTRHfJVmttbnlB0a%2Fimage.png?alt=media\&token=98ef833c-e8e6-49ae-906f-9b65a1eb1653)

Before the installation can begin, you must configure the Installation location and Network.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWr_4Zs3X3DF6jDClE%2Fimage.png?alt=media\&token=f929809c-ed50-4860-b06b-799ae26b6ea9)

Set the NUC internal storage as the installation location.&#x20;

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrgnULvXiStPyWUJ6%2Fimage.png?alt=media\&token=abb686e0-1d16-4a4e-83db-a3ec8cdde895)

If the internal storage had a previous system installed on it, you must reclaim the space as shown:&#x20;

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrmoDf8pE0KaieJrn%2Fimage.png?alt=media\&token=3bd7bfbd-5a49-48db-b664-c27048e039bd)

Click "Reclaim Space", "Delete All", and "Reclaim Space", to finalize the installation location settings.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrrUC9imEgOIbyA8S%2Fimage.png?alt=media\&token=3077b9ee-c45e-4b62-95eb-d3430e9874b5)

Network connection: Enable the wired network card and plug in the ethernet cable, so that the NUC can connect to the network.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWrw7LvRDI3neuIbqh%2Fimage.png?alt=media\&token=062f803e-88ab-4f97-a7c2-67110af6e20b)

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWs-apRz3b-E0ILjUQ%2Fimage.png?alt=media\&token=b8102d42-0f11-44c3-80da-6f0c8abd8e3a)

Click “Finish” to start the installation.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWs3spIr-LEAmmU1Z8%2Fimage.png?alt=media\&token=3c21d15e-e5fa-4a54-b502-a21fe69f9bef)

Wait for the installation to complete, click "Restart" and then enter the BIOS. Set the first boot as the internal storage, which the OS was just installed to, then save and exit. Upon rebooting, you will enter the Cent OS system.&#x20;

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWs7yLUO_xFsE-tOgh%2Fimage.png?alt=media\&token=54530b6a-b8cd-4937-a4a3-48fea3ed6245)

A command-line interface will appear: log in as the "root" user, the password is "antsentry". At this time, the system and software is operational. Please ensure that the NUC is connected to the internet.

Step 3) Software Authorization

Create a new farm on the platform (<https://cloud.minerplus.com/>), then send the farm ID (such as K-3E293F7C4956467BB65C050339C0Cxxx) to us (MinerPlus R\&D/O\&M team). We will assign an authorization code to the NUC (for example, NUC- D47333BA68AF460E8B18EDA11DDDB58D). After this, complete the following steps to finalize the software authorization.

After logging into the system as the root user, enter the following command into the terminal:

systemctl stop firewalld ip addr

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWsEuq47cVGi0uAWa-%2Fimage.png?alt=media\&token=63d4c981-d255-41df-8166-f2d309bfccf6)

This will turn off the NUC's firewall and identify the IP address of NUC, such as 192.168.56.105.\
Then you can use another computer, on the same local area network, to access the NUC. In your web browser visit <http://192.168.56.105:8020/#/login>, to log into the management platform of the client and apply the authorization code. The default username/password is: admin/admin.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWsKBXU030xc4ECHkn%2Fimage.png?alt=media\&token=fd62b05d-04de-489e-affb-1a93e2e357b7)

Enter the NUC authorization code sent by the O\&M team and click submit.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWsOXrnEOZHghI0_Po%2Fimage.png?alt=media\&token=dff0523a-2abb-4199-a633-2562827ce12f)

If the NUC is connected to the Internet and the authorization code is valid, you will see the "registration successful" prompt. Restart the NUC and then the software can be used normally. On the "Server Management" menu of the farm on the MinerPlus platform, you will see that the NUC is online if binding was successful.

![](https://2503821669-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MiVNXDIs8i-fev9_02r%2F-MkWouSDZcGnxsv9IVna%2F-MkWsSFG6gxDk-IiTAr-%2Fimage.png?alt=media\&token=4f392e89-6de3-4e72-873c-d76fd729ebee)

### 2.5 Appendix

**Common Commands**

Check the local IP: ip addr\
Verify internet connection: ping [www.google.com](http://www.google.com)
