Skip to content

Preparing the system

Czechbol edited this page Jun 11, 2020 · 2 revisions

Setting up the amadeus user

First, we have to create a user the bot will be run under.

sudo useradd amadeus
sudo passwd amadeus # password: amadeus
sudo mkdir /home/amadeus
cd /home/amadeus
touch .hushlogin

Second step is installing essential tools:

sudo apt install sudo openssh-server git
sudo systemctl start sshd

We need to give control to the created user to set up the bot directory.

chown -R amadeus:amadeus /home/amadeus
su amadeus
cd ~

Next step is running the bot.