1. Creating the server

You can skip this page if you already have a linux machine to work with.

For the bot to work, you need a virtual server with Linux installed (I will show it using Ubuntu as an example). You can create such a server at home, or rent it from any cloud provider. I recommend Digital Ocean for this purpose, click the link below the button to begin:

1.1. Creating the droplet

1.1.1. Click «Create» → «Droplets» (green button at the top right)

1.1.2. Next, choose a region that is closest to you geographically.

1.1.3. Next, choose «OS» → «Ubuntu» (22.20 x64).

1.1.4. Next, «Droplet Type» → «Shared CPU Basic».

1.1.5. Next, «CPU Options» → «Regular», then click left arrow to show hidden plans.

1.1.6. Next, select «$4/mo».

1.1.7. Next, «Choose Authentication Method» → «Password» and enter your password.

I strongly suggest using SSH keys instead of password authentication, but this may make these instructions more difficult for users who do not have that experience.

1.1.8. Next, click on big «Create Droplet» button at the bottom right.

1.2. Updating the droplet

1.2.1. Go to «Projects» and copy IP address of your droplet.

1.2.2. Next, log in your droplet by running this command in your terminal app:

Don't forget to replace <ip_address> with the real IP of your droplet.

ssh -l root <ip_address>

1.2.3. After you're logged in, run this command:

sudo apt-get -y update && sudo apt-get -y upgrade

Last updated