Personal Server Definition

My Personal Server Definition

Directory ~/.dmt/user/devices/my_server/def:

device.def

device: my_server

network:
  user: server_user_name
  globalIP: 123.123.123.123

Replace server_user_name with your username for the server. This is needed for updating the server through dmt update command.

We are always editing all configuration files on our 'central device', in this example my_pc.

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

dmt update my_server

Make sure to check that this pointer on server is pointing to the correct directory.

Setting the device pointer on server

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

Login to your server with

ssh user@123.123.123.123

Or with:

q my_server

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

Then execute:

user@my_server:~$ dmt device select

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

Last updated