From f2b536d6931659543e5ad031fd4c9ae43a13953c Mon Sep 17 00:00:00 2001
From: =
sudo useradd -m ergo
-sudo chsh ergo --shell /bin/sh
+useradd -m ergo
+chsh ergo --shell /bin/sh
Next, we want to switch to our newly created ergo
user and create the server directory.
@@ -538,7 +538,7 @@ cd server
It will stay online until you close the terminal, or press CTRL+C. Don't worry, the next section goes over how to make it run like a normal server with a SystemD service.
If you have not already, make sure the port 6697
is not blocked on your server. If you are using UFW as your firewall,
- you need to run sudo ufw enable 6697
(not as the ergo
user, of course).
+ you need to run ufw enable 6697
(not as the ergo
user, of course).
sudo ln -s /home/ergo/server/ergo.service /etc/systemd/system/ergo.service
-sudo systemctl enable ergo
-sudo systemctl start ergo
+ln -s /home/ergo/server/ergo.service /etc/systemd/system/ergo.service
+systemctl enable ergo
+systemctl start ergo
Ergo is now installed and running as a service, and will automatically start when the system boots.