Getting started

Install freePanel

What this does: one command downloads freePanel, checks it is genuine, and installs the panel with websites, databases, DNS, mail, webmail and FTP.

When you need it: once, on a new server, after you have done the steps in Before you install. It takes a few minutes.

The one-line install

Run the installer

  1. Connect to your server over SSH, as Before you install shows.
  2. Type the command below exactly as it is shown (or copy and paste it), and press Enter. If you are signed in as root (your prompt ends in #), type this:
    curl -fsSL https://repo.atlantishosting.net/install | bash

    If you are signed in as another user (your prompt ends in $), type this instead, then type that user's password when asked:

    curl -fsSL https://repo.atlantishosting.net/install | sudo bash
  3. The installer prints what it is about to install, then downloads freePanel and checks its signature. You see lines like these:
    freePanel installer
      Server:      server.example.com
      Installing:  the panel with websites, databases and their admin tool (port 7445), DNS, mail, webmail with calendars and contacts, and FTP, and login protection
      Log:         /var/log/freepanel-install.log
    
      - Downloading freePanel 1.2.3
      - The signature is good
      - Installing. This takes a few minutes; the details go to the log
          > Installing the web stack (Apache, mod_ssl, PHP 8.3 from Remi)

    The line that starts with > changes as each step runs. Leave the window open and wait.

  4. When it is done, you see freePanel is installed. and the addresses you need:
    freePanel is installed.
    
      Create your admin login here (the link works once, for 24 hours):
        https://server.example.com:7443/setup#...
    
      Then enter your licence key on the Licence page.
    
      Admin panel:     https://server.example.com:7443
      Customer panel:  https://server.example.com:7444
      Install log:     /var/log/freepanel-install.log
    
      Good to know:
        Mail: every local user may send as LOGIN@server.example.com. Keep this hostname under a domain that sends no
        other mail, or publish aspf=s in that domain's DMARC record.
        Login protection is on (SSH, the panels, and mail and FTP where installed). Never blocked: 203.0.113.9.
  5. Copy the whole link after Create your admin login here, from https to the end, including everything after the #. To copy from the terminal, select the link with your mouse, then:
    • on Windows (PowerShell), right-click: that copies the selected text;
    • on a Mac (Terminal), press Cmd+C.

    Don't press Ctrl+C in the terminal: there it stops a running program instead of copying. Keep the link private: whoever opens it first becomes the admin.

  6. Paste the link into your browser's address bar and press Enter, then create your admin login. If the page doesn't open because the server's name doesn't work in DNS yet, put the server's IP address in place of the name, such as https://203.0.113.10:7443/setup#.... Your browser will warn that the connection is not private: step 3 of Create your admin login shows how to go on.

What the addresses are

A port is a numbered door on the server. :7443 at the end of an address tells your browser which door to knock on.

What "Good to know" means

The installer ends with notes about your server. The ones you may see:

Open the ports yourself

On AlmaLinux, Rocky, RHEL or CloudLinux (firewalld), as root:

firewall-cmd --permanent --add-port=7443/tcp --add-port=7444/tcp
firewall-cmd --reload

On Ubuntu or Debian, if ufw is on (ufw status says Status: active), as root:

ufw allow 7443/tcp
ufw allow 7444/tcp

Add the other ports the installer's line names the same way, such as --add-port=7445/tcp or ufw allow 7445/tcp. If neither firewall is running, there is nothing to open on the server. Your hosting company's own firewall, if it has one, is separate: see Open ports.

If the install stops

If a step fails, the installer stops and says which step, shows the last lines it printed, and where the whole log is:

freePanel installer: the install stopped (exit 1) at: Installing PowerDNS
The last lines it printed:
    ...
Nothing is deleted. Fix what it says and run the same command again: the installer carries on from where it is.
Everything it printed is in /var/log/freepanel-install.log

If something goes wrong

Running it again

The installer is safe to run again. It updates freePanel's programs and restarts its services, and keeps your settings, your database and your certificate. It never deletes anything, and never removes a service it installed before. Run the same command, with the same options, again to update, or to carry on after a failed run. If you chose your own services the first time, read Running it again with options first.

From freePanel 1.0.7 you can also update from the admin panel: open Server updates and use the freePanel version card. It checks the new release's signature, runs its installer with the options your server was installed with, and puts the old version back if the update fails. A server installed before 1.0.7 needs this command run once first.

Choosing what to install

With no options, the installer installs everything listed on its Installing: line. You can choose otherwise by adding options after bash -s -- (that part tells bash that what follows is for the installer; copy it exactly):

curl -fsSL https://repo.atlantishosting.net/install | sudo bash -s -- --hostname panel.example.com --php 8.4

As root, leave out sudo:

curl -fsSL https://repo.atlantishosting.net/install | bash -s -- --hostname panel.example.com --php 8.4

Installer options lists every option and what it does.