1. Creating the server
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.
Creating the droplet1.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.
1.1.8.
Next, click on big «Create Droplet» button at the bottom right.
1.2.
Updating the droplet
1.2.
Updating the droplet1.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:
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