> For the complete documentation index, see [llms.txt](https://docs.uniqpath.com/dmt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uniqpath.com/dmt/internet-connection-monitoring/personal-server-definition.md).

# Personal Server Definition

## My Personal Server Definition

Directory [`~/.dmt/user/devices/my_server/def`](https://docs.uniqpath.com/dmt/):

### device.def

```
device: my_server

network:
  user: server_user_name
  globalIP: 123.123.123.123
```

{% hint style="warning" %}
Replace `server_user_name` with your username for the server. \
This is needed for updating the server through `dmt update` command.
{% endhint %}

{% hint style="info" %}
We are always editing all configuration files on our 'central device', in this example **my\_pc**.
{% endhint %}

After you have prepared this server definition file in correct directory on your pc you can now update the server from your personal computer:

```bash
dmt update my_server
```

{% hint style="danger" %}
Make sure to check that `this` pointer on server is pointing to the correct directory.
{% endhint %}

### Setting the device pointer on server

We have to set the pointer only once on first setup.

Login to your server with

```bash
ssh user@123.123.123.123
```

Or with:

```bash
q my_server
```

if you are using **dmt full shell** (you can check this with `dmt shell`).

Then execute:

```bash
user@my_server:~$ dmt device select
```

And choose `my_server` from the list. Then restart dmt with `dmt restart`.
