Ubuntu Server (20.04)

Ubuntu Server (20.04)

  1. Installation
  2. Configure NTP Server
  3. DNS Server
  4. DHCP Server
  5. Install PowerShell
  6. Create Users and Group
  7. Create root user
  8. Folder permission
  9. Firewall


Commands



GUI Management Tools




Cockpit is a open source, web-based interface for your servers. It interacts directly with the operating system.

Install in Ubuntu

$ sudo apt-get install cockpit


Access from web browser URL is https://ip-address-of-machine:9090


8. Folder permission




9. Firewall
The default firewall configuration tool for Ubuntu is ufw (uncomplicated firewall).

See the firewall status
sudo ufw status

See the firewall verbose status
sudo ufw status verbose


Enable the firewall
sudo ufw enable


Allow the port
sudo ufw allow 53
or
sudo ufw allow 53/tcp
or
sudo ufw allow 53/udp


Block the port
sudo ufw deny 53
or
sudo ufw deny 53/tcp
or
sudo ufw deny 53/udp



Remove the rule
sudo ufw delete deny 22



Disable the firewall
sudo ufw disable





Useful link


Ubuntu Server Guide



Ubuntu Server Download

Previous Post Next Post