Tri Nguyen
Tri Nguyen

Intro

In this post I would like to document how I install nginx and open the ports on an Oracle VPS. If you’re interested in creating a free Oracle VPS, you can follow the instructions in this post How to create a free Oracle VPS with Python script (Out of capacity)?

Steps

Virtual Cloud Networks
Virtual Cloud Networks
Virtual Cloud Networks
Virtual Cloud Networks
sudo apt-get install firewalld
sudo systemctl enable firewalld
sudo systemctl start firewalld
sudo firewall-cmd --zone=public --permanent --add-port=80/tcp
sudo firewall-cmd --reload
sudo firewall-cmd --list-all
public
  target: default
  icmp-block-inversion: no
  interfaces:
  sources:
  services: dhcpv6-client ssh
  ports: 80/tcp
  protocols:
  masquerade: no
  forward-ports:
  source-ports:
  icmp-blocks:
  rich rules:
sudo apt update
sudo apt install nginx
Nginx

Comments

If you have any question, you can start a new discussion.