Getting started

Create your admin login

What this does: the one-time link the installer prints opens a page where you make the first admin login, the one that runs the server.

When you need it: right after the install, within 24 hours.

The installer ends with a link like this one:

  Create your admin login here (the link works once, for 24 hours):
    https://server.example.com:7443/setup#...

The long code after # is what makes the link work. It is never sent to the server's logs.

To create your admin login

  1. Copy the whole link from your terminal, including everything after the #. Select it with your mouse, then right-click (Windows) or press Cmd+C (Mac). Don't press Ctrl+C in the terminal: that stops a program instead of copying.
  2. Paste it into your browser's address bar and press Enter.
    • If the page can't be found (the browser says the server's name can't be found, or "DNS"), the name doesn't point at your server yet. Use the server's IP address instead of its name: change https://server.example.com:7443/setup#... to https://203.0.113.10:7443/setup#..., with your own address, and keep everything after :7443 as it is.
    • If it times out, the port may be closed in a firewall. See The panel won't open.
  3. The first time, your browser may warn that the connection is not private. That is because the server starts with a self-signed certificate: one it made itself, which browsers don't know. It is safe to go on to your own server: choose Advanced, then Proceed or Accept the risk (the words depend on your browser). The warning goes away once the server has a free certificate; see the first hour checklist.
  4. You see Create the admin login.
  5. In Username, type a name of 1 to 16 lowercase letters or digits, starting with a letter, such as admin.
  6. In Email, type your email address. This is optional, but it is where password reset links go.
  7. In Password, type a password of at least 12 characters. In Type it again, type it again.
  8. Click Create the login.
  9. You see Admin login created. Click Go to sign in.
  10. Sign in with the username and password you just chose.
The Create the admin login page, with the username, email, password and Type it again boxes and the Create the login button

The link now stops working: there is only ever one first admin. You can add more admins and resellers later, inside the panel.

If something goes wrong

The setup page showing a message that the link is missing its code

If the link has run out, or you lost it, you can make a new one while no admin login exists yet.

  1. Connect to your server over SSH.
  2. If you are root (your prompt ends in #), type this and press Enter:
    runuser -u freepanel -- freepanelctl setup-token

    If your prompt ends in $, type this instead, and your password when asked:

    sudo runuser -u freepanel -- freepanelctl setup-token
  3. You see a long code on one line.
  4. Make the link: type your admin panel's address, then /setup#, then the code, with no spaces anywhere. For example https://server.example.com:7443/setup# followed by the code. Copy the code rather than typing it, if you can: every character must be exact.
  5. Open it in your browser and follow the steps above.

A new link replaces the old one. Once an admin login exists, the command says an admin already exists and makes no link.

Next: enter your licence key.