> For the complete documentation index, see [llms.txt](https://whitepaper.starmech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.starmech.io/iv.-sta-key-purchase-and-run-sta-node/running-sta-node-client.md).

# Running STA-Node Client

{% embed url="<https://youtu.be/7H8i5KosJFM>" %}

STA-Node Client currently has 2 versions for Windows and Linux. You can launch the application right on your computer. To ensure compatibility, we recommend the following:

* Windows OS: Windows 7 or later, do not use Windows Server
* Linux OS: Ubuntu 20.04 LTS or later

**Download STA-Node Client:**&#x20;

* Ubuntu: <https://download.starmech.io/ubuntu/latest>
* Windows: <https://download.starmech.io/windows/latest>

## Minimum Hardware Requirements

2 GB RAM\
1 CPU Cores\
40 GB Disk Space\
x86/X64 Processor\
Stable Internet Connection

## Ubuntu

### Register VPS

We recommend to use VPS from well-known services such as Vultr, DigitalOcean to ensure stability.

The operating system we recommend is: **Ubuntu 20.04 LTS x64.**

### Login VPS with SSH

Docs: <https://docs.vultr.com/connect-to-a-server-using-an-ssh-key>. If you bought a server from another provider, the steps are basically the same.

`In the process of executing commands, if any command responds "Abort!", use the up arrow button on the keyboard to quickly re-enter the previous command (which has not been completed yet), then execute again.`

### Setup Ubuntu server

`sudo apt-get update`

`sudo apt-get upgrade`

### Create Sudo user

*(for example: new user is ‘stavax’)*

`adduser stavax`

`sudo usermod -aG sudo stavax`

### Install GUI for first-time users of Linux/Ubuntu

`sudo apt install lightdm`

<figure><img src="https://lh7-us.googleusercontent.com/dQeHBzWEWR8Q4e-X8P3HbID1Zz5AiwydxaPQjfQ_YkrSXbR5jWHHnsriIti7Yy_RCNJW2D2drgg2XvEKMSJmeUhJ7LE_jkmHiKzImSPrQ3I3sT7Li-BH9ebbnQ7JU_o1qNaQPurd_qS1wCVYI29hldM" alt=""><figcaption><p><em>Choose lightdm as default display manager at the congifuring lightdm screen</em></p></figcaption></figure>

`sudo systemctl start lightdm`

`sudo apt-get install ubuntu-desktop`

### Install Remote Desktop with xrdp

*Instead of using Console Viewer in some VPS providers, you now can use Remote Desktop.*

`sudo apt-get install xrdp`

`sudo sed -i 's/3389/53579/g' /etc/xrdp/xrdp.ini`

`sudo sed -i 's/#Port 22/Port 53572/g' /etc/ssh/sshd_config`

`sudo ufw allow 53572 && sudo ufw allow 53579 && sudo ufw enable && sudo ufw status numbered`

`sudo reboot`

### Connect to VPS with Remote Desktop

Use remote desktop application to connect to your VPS. Your server IP for remote connection is:

```
<server-ip>:53579
```

<figure><img src="/files/euF52MK79gcOIydUlyKI" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/t2ilmDdFhRrM0TlTNoBe" alt=""><figcaption><p>Enter your username and password you have created above</p></figcaption></figure>

### Download and Install STA-Node Client

Open Firefox browser and download STA-Node Client on <https://starmech.io/>

Right click on downloaded file, choose Properties

<figure><img src="/files/Z3Fv6MuR6iIEalTC9RJc" alt=""><figcaption><p>Choose Properties</p></figcaption></figure>

Switch to **Permissions** tab, tick on the checkbox **Allow executing file as program**

<figure><img src="/files/ASLmNoJFvLvTs7NK0ssW" alt=""><figcaption><p>Choose Permissions > Tick on Allow executing file as program</p></figcaption></figure>

Right click on the file again, choose **Run**

<figure><img src="/files/S5I8xHHhW3eQ39Q7WCC3" alt=""><figcaption><p>Now you can login to your STA-Node Client</p></figcaption></figure>

* Select "Connect Wallet" and then confirm the connection within your wallet.&#x20;
* On a mobile device, employ Metamask to establish a connection between STA-Node and Wallet Connect.&#x20;
* Once the wallet is successfully linked, the main screen will display all your nodes and their current statuses.

<figure><img src="/files/NLmCRDiGPTVGsSiw6tWk" alt=""><figcaption></figcaption></figure>

Now you have successfully completed the installation of STA-Node. Observe as $ndSTA flows into your pocket!

## Windows

With Windows OS, you just need to download the exe file, install and run like other applications.
