How To Setup a Server with Ubuntu 18.04

Order a server

Place your order for a new VPS or Dedicated Server with Unmetered Bandwidth on our website: https://zetservers.com
We are interconnected in multiple PoPs from Europe and have great connectivity to most providers. With over 2Tbps of edge capacity we are able to sustain any high traffic needs.

Create a new user

For security reasons, it is recommended not to use “root” username.
You can create a new user with the following command:

# adduser username

Grant administrator privileges

# usermod -aG sudo username

Basic firewall rules

Deny any connection except SSH (please note that you will need to add new ports to ufw allow in order to make other applications accessible)

# ufw allow OpenSSH
# ufw enable

Ready


You are now ready with the basic setup of a new Ubuntu 18.04 server. You can proceed with installing your applications. Don’t forget to open needed ports in ufw in order to make them accessible.

Leave a Reply

Your email address will not be published. Required fields are marked *