-
Notifications
You must be signed in to change notification settings - Fork 3
Preparing the system
Czechbol edited this page Jun 11, 2020
·
2 revisions
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.