Install Hfog Cloud
Install Hfog Cloud alone on a dedicated server with its own licence key, without Hfog Panel.
Hfog Cloud installs alone on a fresh dedicated server, with an Hfog Cloud licence key. It needs no Hfog Panel, and it
sets up only what KVM hosting needs: the web server and SSL for cld., the firewall, backups, and the addresses its
KVM hosts and customers use (api., pay., hook.). There is no PHP, Apache, MariaDB, mail server, DNS server or
FTP.
Important: Hfog Cloud and Hfog Panel never run on the same server. The installer refuses a server that already has Hfog Panel, and Hfog Panel's installer refuses a server that has Hfog Cloud.
Before you start
- A fresh dedicated server or VPS with a supported system (Ubuntu, Debian, Rocky Linux, AlmaLinux, CentOS Stream or CloudLinux), and root access.
- Your Hfog Cloud licence key (
HFL-…), from the email you got after buying Hfog Cloud. An Hfog Panel key doesn't work here, and Hfog Cloud has no free trial. - These DNS records for your domain: an A record for
yourdomain.compointing to the server, and CNAME records forcld.,api.,pay.andhook.pointing toyourdomain.com.
Install
-
Sign in to the server as root and run:
bashcurl -fsSL https://cdn.hostfog.io/latest | bash -s -- --cloud -
Open the setup link it prints. The browser installer walks you through Check, DNS and Setup.
-
Licence: enter your Hfog Cloud licence key and click Use this key.
-
Admin: your first staff login, an email address and a password. At your first sign-in Hfog Cloud asks you to set up an authenticator app: its staff always sign in in two steps.
-
Click Install now. When it's done, click Open Hfog Cloud: it opens at
https://cld.yourdomain.com:8442. If your provider has a cloud firewall in front of the server, open port 8442 there too (Ports).
From the terminal instead: bash install.sh --cloud --yes --domain yourdomain.com --email you@yourdomain.com --licence HFL-…, then hfog-agent create-cloud you@yourdomain.com for the first login.
Updates
Run the install command again (without --cloud is fine): the server updates Hfog Cloud.