# Configure VPS - Linux

**Step 1**&#x20;

Log In to your account and select Servers option from menu

<figure><img src="/files/4WMkc6THP1d2D5JKD7En" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Once you have created a server, the server is assigned with an IP which can be seen in the web console.
{% endhint %}

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

<figure><img src="/files/0EARpAgLHdUCFr6qbgoG" alt=""><figcaption></figcaption></figure>

**Step 2**

In your VPS Firewall settings, you need to open **Port 3389**

<figure><img src="/files/6Eb7G52GsYYGYMtWJ2cn" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3DPB1ObEMVdGzX0YvG9l" alt=""><figcaption></figcaption></figure>

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

{% hint style="info" %}
Just add 3389 and save
{% endhint %}

**Step 3**&#x20;

Using your local PC, type "Terminal" on your Windows program browser and open it

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

<figure><img src="/files/4iBDmT4lBVVzYcZLMSdj" alt=""><figcaption></figcaption></figure>

**Step 4**

In your open terminal type <mark style="background-color:blue;">ssh</mark> and **your** <mark style="background-color:blue;">username</mark> (User) and <mark style="background-color:blue;">IP address</mark> (Host) and click **Enter** on your keyboard.&#x20;

```
ssh (your username)@(your IP number)

Example (DON'T USE THIS IP ADDRESS!!! USE YOUR OWN!!!)
ssh root@194.164.17.59
```

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

{% hint style="info" %}
Please ensure you follow this format precisely, with a space after "ssh".
{% endhint %}

{% hint style="info" %}
You can find your IP and Password on your Server tab
{% endhint %}

<figure><img src="/files/5jc9ekjJrIMwHKriLSVn" alt=""><figcaption></figcaption></figure>

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

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

**Step 5**

Type <mark style="background-color:red;">yes</mark> and click **Enter** on your keyboard

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

**Step 6**

Enter Your **Password** and click **Enter** on your keyboard

{% hint style="info" %}
You can find your IP and Password on your Server tab
{% endhint %}

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

{% hint style="info" %}
Please be aware that while entering your password, it will not be visible. Ensure you input the correct one.
{% endhint %}

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

Once you log in please ensure that your command line in the terminal begins with your username ![](/files/cJ1yaIII8CTCcwuplFPF)

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

**Step 7**

Now you are ready to enter **first** **command** in the terminal.

```
sudo apt update && sudo apt upgrade -y
reboot
```

In your terminal type first command and click **Enter** on your keyboard.&#x20;

It should begin installing and unpacking files. A progress bar will inform you about the progress. It may take a few minutes.

<figure><img src="/files/79alHxDeoDJ1t1wkUrI5" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If during configuration you receive this message please select <mark style="background-color:red;">**keep the local version currently installed**</mark> and click **Enter** on your keyboard.
{% endhint %}

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

{% hint style="info" %}
Select <mark style="background-color:red;">**\<OK>**</mark> and click **Enter** on your keyboard.
{% endhint %}

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

{% hint style="info" %}
Select <mark style="background-color:red;">**\<OK>**</mark> and click **Enter** on your keyboard.
{% endhint %}

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

**Step 8**

Now you should have this screen&#x20;

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

{% hint style="warning" %}
When the command includes "reboot," it disconnects you from the virtual machine and switches to your physical computer. The reboot restarts the machine, so after it, you'll need to log in again via ssh to continue.
{% endhint %}

{% hint style="info" %}
Logged to your PC ![](/files/jUPCEXudFcrBnsPHpb0O)

Logged to your virtual machine ![](/files/wK4HlUQ7oaLfcRKjC2CA)
{% endhint %}

In your open terminal type <mark style="background-color:blue;">ssh</mark> and **your** <mark style="background-color:blue;">username</mark> (User) and <mark style="background-color:blue;">IP address</mark> (Host) and click **Enter** on your keyboard.&#x20;

```
ssh (your username)@(your IP number)

Example:
ssh root@194.164.17.59
```

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

Enter Your **Password** and click **Enter** on your keyboard

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

Now you should have this screen and you are logged in to the virtual machine again

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

**Step 9**

Now you are ready to enter **second** **command** in the terminal.

```
sudo apt install ubuntu-desktop -y
reboot
```

In your terminal type second command and click **Enter** on your keyboard.&#x20;

It should begin installing and unpacking files. A progress bar will inform you about the progress. It may take a few minutes.

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

**Step 10**

Now you should have this screen

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

{% hint style="info" %}
Once again you have to log in to your virtual machine and Enter your Password
{% endhint %}

In your open terminal type <mark style="background-color:blue;">ssh</mark> and **your** <mark style="background-color:blue;">username</mark> (User) and <mark style="background-color:blue;">IP address</mark> (Host) and click **Enter** on your keyboard.

```
ssh (your username)@(your IP number)

Example:
ssh root@194.164.17.59
```

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

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

**Step 11**

Now you are ready to enter **third** **command** in the terminal.

```
sudo apt install xrdp -y
```

In your terminal type third command and click **Enter** on your keyboard.&#x20;

It should begin installing and unpacking files. A progress bar will inform you about the progress. It may take a few minutes.

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

**Step 12**

Now you are ready to enter **fourth** **command** in the terminal.

{% hint style="info" %}
This time, you are already logged into your virtual machine, so there's no need to log in again&#x20;
{% endhint %}

```
sudo adduser xrdp ssl-cert
```

In your terminal type fourth command and click **Enter** on your keyboard.&#x20;

It should begin installing and unpacking files. This one is very quick and you will see <mark style="background-color:red;">Done</mark> status once completed.

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

**Step 13**

Now you are ready to enter **fifth** **command** in the terminal.

{% hint style="info" %}
This time, you are already logged into your virtual machine, so there's no need to log in again&#x20;
{% endhint %}

```
adduser ........ 
Here, you need to create a new user. 
The mprolabb example below is just an example. 
Do not use it, instead create your own unique username!

Example
adduser mprolabb
```

In your terminal type fifth command and click **Enter** on your keyboard.&#x20;

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

**Step 14**

Create new Password for this new user

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

**Step 15**

Retype new Password

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

**Step 16**

Press ENTER five times and type <mark style="background-color:blue;">**Y**</mark> to confirm information

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

**Step 17**

Now you are ready to enter **sixth** **command** in the terminal.

{% hint style="info" %}
This time, you are already logged into your virtual machine, so there's no need to log in again&#x20;
{% endhint %}

```
usermod -aG sudo ...........(type here your new username)

Example
usermod -aG sudo mprolabb
```

In your terminal type sixth command and click **Enter** on your keyboard.&#x20;

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

**Step 18**

Now you are ready to enter **seventh command** in the terminal

```
sudo apt install libfuse2
```

In your terminal type seventh command and click **Enter** on your keyboard.&#x20;

<figure><img src="/files/2rdfHInvopkqr6IEczjj" alt=""><figcaption></figcaption></figure>

**Step 19**

Now you are ready to enter **eighth** **command** in the terminal.

```
reboot
```

In your terminal type seventh command and click **Enter** on your keyboard.&#x20;

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

**Step 20**

Reboot completed. Go to next step.

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

**Step 21**

Now we will do remote desktop connection

Using your local PC, press the "**windows key + R**" keys found on your keyboard.&#x20;

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

Doing so, a small window called "**Run**" will come up.

<figure><img src="/files/80l0vTmA4VRLv4bYBHwl" alt="" width="428"><figcaption></figcaption></figure>

Within this window in the search bar, type in: "**mstsc**" and press **OK**.

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

**Step 22**

In the "Computer Name," insert the **IP** of your server

<figure><img src="/files/tGvX1CYoKhtQtKiKIjG9" alt="" width="462"><figcaption></figcaption></figure>

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

**Step 23**

Select **Show Options**

<figure><img src="/files/NB4bCmdvY82vnw9IEcNv" alt="" width="337"><figcaption></figcaption></figure>

Fill up remaining field and click **Connect**

{% hint style="info" %}
Your VPS provider has provided you with the Connection Credential.
{% endhint %}

{% hint style="warning" %}
For logging in, use the newly created user account
{% endhint %}

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

**Step 24**

Enter Password

<figure><img src="/files/tcmiVt7CHklj2uF3wsQC" alt="" width="467"><figcaption></figcaption></figure>

{% hint style="info" %}
If warnings pop up after clicking on connect, press **Yes**.&#x20;

It is a known false-positive warning when connecting to new virtual private servers.
{% endhint %}

**Step 25**

Now you should be connected to your server

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

**Step 26**

To open menu and Browser please select Activities&#x20;

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

**Step 27**

Now Download Launcher:

**✔️** Visit our website [mprolab.io](https://mprolab.io/)

**✔️** [Connect your wallet and web3 login](https://doc.mprolab.io/mprolab/manuals-and-tutorials/manuals/mpro-lab/connect-wallet-+-web3-login)

**✔️** Select the arrow icon next to the wallet and click **Licenses**

<figure><img src="/files/7zN5ZUaF3wl5VFMi46yo" alt=""><figcaption></figcaption></figure>

**✔️** Click **Download** **launcher** button

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

**✔️** Process of downloading the Launcher will begin

**Step 28**

Once your Launcher has been downloaded, please **right-click** on the launcher icon.

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

**Step 29**

Select **Properties**

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

**Step 30**

Select **Permissions**

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

**Step 31**

Allow executing file as program

<figure><img src="/files/8BWExFG6DDoGvBxpMj3V" alt=""><figcaption></figcaption></figure>

**Step 32**

Close this window

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

**Step 33**

Launch Launcher

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.mprolab.io/mprolab/manuals-and-tutorials/manuals/vps/configure-vps-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
