fbpx
  • Win a Fitbit Inspire HR when you move your hosting to us. Competition ends 30 November 2019

How to setup SSH, Nginx, UFW, and MySQL on a newly minted Ubuntu 18.04 LTS Server

Update Packages:

sudo apt update

Install Nginx:

sudo apt install nginx

Enable UFW:

sudo ufw enable

Check which pre-built firewall configurations are available:

sudo ufw app list

Add new configurations for your server:

sudo ufw allow 'Nginx Full'
sudo ufw allow 'Nginx HTTP'
sudo ufw allow 'Nginx HTTPS'
sudo ufw allow 'OpenSSH'

Double check Nginx is started:

systemctl status nginx

Install MySQL Server:

sudo apt install mysql-server

Setup password and security for the MySQL server:

mysql_secure_installation

You are now ready to deploy your freshly minted dedicated or virtual private (VPS) server.

Contact us if you need assistance or browse our domain name registration options should you wish to register a or transfer a domain name.

Reference:
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04-quickstart

Share this article

Share on facebook
Share on twitter
Share on linkedin

Leave a Reply

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

Scroll to Top