PanelDOCSv1.0.0

Oracle Cloud (OCI)

Install HF Panel on a Compute instance at Oracle Cloud (OCI): the server to create, the firewall, reverse DNS, outgoing mail and the install.

These steps take you from a new Oracle Cloud (OCI) account to a running HF Panel. Providers change their menus and rules from time to time — if a step looks different, Oracle Cloud (OCI)'s own documentation or support has the current way.

1. Create the server

Create a Compute instance with:

  • System: Ubuntu 24.04 LTS (or Ubuntu 22.04, Debian 12 or 13, Rocky Linux or AlmaLinux 9 or 10), x86-64.
  • Size: 2 GB of memory or more (1 GB works with the swap file the installer adds), 20 GB of disk or more.
  • Access: your SSH key, or a root password.

Note its public IPv4 address.

2. Point your domain at it

Create the DNS records DNS setup lists — at least srv., cp. and mail. your domain, pointing at the server's address. They can take a few minutes to work.

3. The firewall

Every instance is behind the subnet's security list (or a network security group). Add ingress rules for the ports below. Oracle's own Ubuntu images also come with iptables rules that block incoming traffic: the installer sets up the server's firewall, but check sudo bash latest --check lists the ports as free and that the panels answer after installing.

Port Protocol Used for
22 (or your SSH port) TCP SSH and SFTP
80, 443 TCP websites, Mail, Files, DB Studio, Let's Encrypt
8443 TCP the panels (srv., cp., rs.)
21, 40000–40100 TCP FTP with TLS
25, 465, 587, 993, 995 TCP email (not with --no-mail)
53 TCP and UDP the DNS server (not with --no-dns)

4. Reverse DNS

Mail from the server is trusted more when its address points back to its name. Ask Oracle for a reverse DNS (PTR) record for the instance's public IP through a support request.

5. Outgoing mail (port 25)

Oracle blocks outgoing port 25 on Compute instances. Send mail through an outgoing mail relay (Server Admin › Email › Server mailboxes), for example with the SMTP credentials of Oracle's Email Delivery service. Websites and panels work either way; only sending email needs it.

Private and public addresses

The instance sees a private address; the public one is mapped to it. HF Panel's licence handles this, and the pre-install check says behind NAT — that is expected here.

6. Check, then install

Sign in to the server as root, check it, then install with the command from your licence page:

bash
cd /home && curl -o latest -L https://cdn.hostfog.com/latest && bash latest --check
cd /home && curl -o latest -L https://cdn.hostfog.com/latest/licence/YOUR-KEY && bash latest

The check marks each item ✔, ! or ✘ and changes nothing; fix anything marked ✘ first. Then carry on with After installation.